loading…
Search for a command to run...
loading…
An MCP server that provides HTTP client capabilities with support for full HTTP methods, custom headers, query parameters, request bodies, and configurable time
An MCP server that provides HTTP client capabilities with support for full HTTP methods, custom headers, query parameters, request bodies, and configurable timeouts.
A Model Context Protocol (MCP) server that provides HTTP client capabilities.
pip install fastmcp httpx pydantic
Or use the requirements file:
pip install -r requirements.txt
Add this server to your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"http-client": {
"command": "python",
"args": ["/path/to/http-client-mcp/src/http_client_mcp/server.py"]
}
}
}
Note: Replace /path/to/http-client-mcp with the actual location where you cloned this repository.
After saving the configuration, restart Claude Desktop to load the MCP server.
Once configured, you can use these tools:
Simple GET request:
Use the http_get tool to fetch data from https://api.github.com/users/octocat
POST request with JSON:
Use the http_post tool to send {"name": "test"} to https://httpbin.org/post
Custom request:
Use the http_request tool to make a PUT request to https://httpbin.org/put with custom headers
http_request - Full control over HTTP requestshttp_get - Simplified GET requestshttp_post - Simplified POST requestshttp_put - Simplified PUT requestshttp_delete - Simplified DELETE requestshttp_patch - Simplified PATCH requestsMIT License - see LICENSE file for details.
This repository was created with the assistance of AI tools. The time invested in building a solution should not exceed the time it saves compared to not building it at all.
Выполни в терминале:
claude mcp add http-client-mcp -- npx Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development