Exposes Python functions as discoverable and executable remote tools via HTTP, following the Model Context Protocol.

Acerca de

This project provides a lightweight server implementation for the Model Context Protocol (MCP) over HTTP. It enables developers to expose Python functions as 'tools' that can be discovered and executed remotely through a JSON-RPC interface. Designed for seamless integration with Starlette or FastAPI applications, it facilitates the creation of robust and type-safe tool endpoints for various remote execution scenarios, including those driven by AI agents.

Características Principales

  • Integrated code quality tools including Ruff, Mypy, and uv
  • Type-safe data validation and serialization leveraging Pydantic
  • MCP Protocol Compliant for tool discovery and execution
  • 0 GitHub stars
  • HTTP Transport for communication via POST requests
  • Asynchronous request handling with Starlette/FastAPI support

Casos de Uso

  • Facilitating remote procedure calls (RPC) for Python-based functionalities over HTTP
  • Exposing Python functions as remote tools for AI agents or other clients
  • Integrating Model Context Protocol capabilities into existing Starlette or FastAPI web applications
Advertisement

Advertisement