HTTPX MCP Server logo

HTTPX MCP Server

by avishekjana-89

The HTTPX MCP Server is an implementation of the Model Context Protocol (MCP) that performs REST API operations using the Python `httpx` library. It provides various methods for making HTTP requests.

View on GitHub

Last updated: N/A

What is HTTPX MCP Server?

The HTTPX MCP Server is a server that implements the Model Context Protocol (MCP) using the Python httpx library to perform REST API operations. It allows users to make HTTP requests such as GET, POST, PUT, PATCH, and DELETE.

How to use HTTPX MCP Server?

To use the server, you can either install it using uv or run it using Docker. After installation, configure your claude_desktop_config.json file to point to the server, specifying the command and arguments for either uv or docker execution. The server then exposes various tools for making HTTP requests, each with specific arguments for URL, data, tokens, and headers.

Key features of HTTPX MCP Server

  • Supports GET, POST, PUT, PATCH, and DELETE requests

  • Uses the Python httpx library

  • Provides tools for specifying URLs, data, tokens, and headers

  • Returns a dictionary containing the URL, status code, and response body

  • Can be run using uv or Docker

Use cases of HTTPX MCP Server

  • Integrating with REST APIs

  • Performing automated HTTP requests

  • Testing API endpoints

  • Building applications that require HTTP communication

FAQ from HTTPX MCP Server

What is the Model Context Protocol (MCP)?

The README doesn't explicitly define MCP, but it's a protocol this server implements.

What is the httpx library?

It's a Python library used for making HTTP requests.

How do I install the server?

You can install it using uv pip install . or build and run it using Docker.

How do I configure the server with Claude Desktop?

Add the appropriate configuration to your claude_desktop_config.json file, specifying the command and arguments for either uv or Docker.

What type of license is this server under?

This MCP server is licensed under the MIT License.