About Http Request MCP
http-request-mcp is an MCP server for making HTTP requests. It supports GET, POST, PUT, and DELETE, with optional headers and request bodies.
Key features
- 01Make HTTP requests
- 02Support GET, POST, PUT, DELETE
- 03Set optional headers and body
Use cases
- 01Send an HTTP request to a URL
- 02Include custom headers or a request body
MCP support
It exposes HTTP request functionality to MCP clients through an MCP server.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
1Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | The URL to make the request to |
| method | enum | Yes | The HTTP method to useGET | POST | PUT | DELETE |
| headers | object | No | The headers to include in the request |
| body | string | No | The body of the request |
Details
From the project READMEhttp-request-mcp
Overview
http-request-mcp is a simple tool designed for making HTTP requests. It uses the MCP (Model Context Protocol) server to handle requests and supports various HTTP methods.
Installation
To install the necessary dependencies, use the following command:
pnpm install
Usage
To start the server, run:
pnpm start
Example config
NPX
{
"mcpServers": {
"http-request": {
"command": "npx",
"args": [
"-y",
"@vrosario/http-request-mcp",
]
}
}
}
Alternatively, you can install the HTTP Request MCP server using the VS Code CLI:
# For VS Code
code --add-mcp '{"name":"http-request","command":"npx","args":["-y", "@vrosario/http-request-mcp"]}'
Parameters
- URL: The URL to make the request to.
- Method: The HTTP method to use (GET, POST, PUT, DELETE).
- Headers: Optional headers to include in the request.
- Body: Optional body of the request.
License
This project is licensed under the ISC License.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.