MCP.so
登录
M

Mcp Http

@one-matrix

关于 Mcp Http

MCP Http Server is a Model Context Protocol (MCP) server implemented based on the Python httpx library. It supports HTTP request operations via a REST API, including various methods like GET, POST, PUT, and DELETE, aiming to simplify integration with various Web APIs.

基本信息

分类

开发工具

传输方式

stdio

发布者

one-matrix

提交者

one-matrix

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-httpx": {
      "command": "uv",
      "args": [
        "--from",
        "git+https://github.com/one-matrix/mcp-http",
        "run",
        "mcp-http"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Mcp Http?

Mcp Http is a Model Context Protocol (MCP) server built on the Python httpx library. It provides HTTP request tools for GET, POST, PUT, and DELETE methods, enabling simple integration with web APIs. It is designed for developers working with MCP-compatible clients like Claude Desktop.

How to use Mcp Http?

Clone the repository, install dependencies using uv (recommended) or pip, then start the server. To integrate with Claude Desktop, add a configuration entry to claude_desktop_config.json referencing the server via uv or uvx.

Key features of Mcp Http

  • Supports GET, POST, PUT, and DELETE HTTP methods
  • Accepts URL, query parameters, JSON body, and custom headers
  • Returns HTTP status code (int) and response content (str)
  • Built on the fast, modern httpx library
  • Simple integration with Claude Desktop

Use cases of Mcp Http

  • Fetching data from a public REST API
  • Submitting form data or JSON to a web endpoint
  • Updating resources via PUT requests
  • Deleting resources via DELETE requests
  • Building an AI agent that can perform arbitrary HTTP requests

FAQ from Mcp Http

What are the dependencies to run Mcp Http?

Python 3.x, the httpx library, and optionally the uv package manager (recommended).

How do I integrate Mcp Http with Claude Desktop?

Add the server to your claude_desktop_config.json using either uv --from git+https://github.com/one-matrix/mcp-http run mcp-http or uvx --from git+https://github.com/one-matrix/mcp-http mcp-http.

What HTTP methods are supported?

GET, POST, PUT, and DELETE are supported, each with configurable parameters like URL, query parameters, body, and headers.

What does each tool return?

All tools return an integer status code and the response content as a string.

What license is Mcp Http under?

It is open-sourced under the MIT License.

评论

开发工具 分类下的更多 MCP 服务器