Skip to main content

An MCP server that provides AI with robust HTTP request capabilities.

Project description

MCP HTTP Tool

PyPI version License: MIT

An MCP server that provides AI with robust HTTP request capabilities.

Features

  • Supports GET, POST (JSON/form), file upload, custom headers, authentication, error/redirect handling
  • AI-driven tool selection for common HTTP tasks
  • Secure, Pythonic, and easy to use

Installation

pip install mcp-http-tool

Requires Python 3.10+ and mcp[cli].

Usage

Add to your MCP-compatible client (e.g., VS Code) configuration:

{
  "mcpServers": {
    "http-tool": {
      "command": "mcp-http-tool"
    }
  }
}

Tool Documentation

ai_driven_http_request

Intelligently performs a web request based on a goal. Selects the correct low-level tool (GET, POST JSON, upload, etc.).

Specialized tools

  • http_get: GET request
  • http_post_json: POST JSON
  • http_post_form: POST form
  • http_upload_file: File upload

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_http_tool-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_http_tool-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file mcp_http_tool-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_http_tool-0.1.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for mcp_http_tool-0.1.1.tar.gz
Algorithm Hash digest
SHA256 defec9983cc74f4fd6e702a5ca6e6d4fdb7c6de81da50a28be0c9a5745685673
MD5 e9c7da97c2188c7c71399df24716479d
BLAKE2b-256 de296986866d778b61680f89dce6586bdd446d4068be6fc15ae2d73ed377b49f

See more details on using hashes here.

File details

Details for the file mcp_http_tool-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_http_tool-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for mcp_http_tool-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f88bad63109193328145d45269930491b00230ef44854ff52e103d768bdf6726
MD5 c6f95647cee8c5103606fbc4097d07e7
BLAKE2b-256 537d48337870b20cef73f95e24161922983ce7e9480a3819bfcd6c524c22e225

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page