mcpField
H
Http Request MCP

Http Request MCP

Local
github.com/vitolrosarioDeveloper Tools0Updated 79w ago

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

  1. 01Make HTTP requests
  2. 02Support GET, POST, PUT, DELETE
  3. 03Set optional headers and body

Use cases

  1. 01Send an HTTP request to a URL
  2. 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.

mcp.json · Universal config
{
"mcpServers": {
"http-request": {
"command": "npx",
"args": [
"-y",
"@vrosario/http-request-mcp"
]
}
}
}
Run commandnpx -y @vrosario/http-request-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@vrosario/http-request-mcp

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
urlstringYesThe URL to make the request to
methodenumYesThe HTTP method to useGET | POST | PUT | DELETE
headersobjectNoThe headers to include in the request
bodystringNoThe body of the request

Details

From the project README

http-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

Markdown supported

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.