Back to Home
yeison-liscano icon

http_mcp

Verified Safe

by yeison-liscano

Overview

This server implements the Model Context Protocol (MCP) to expose Python functions as discoverable and executable tools and prompts over HTTP or STDIO for AI assistant integration.

Installation

Run Command
python tests/app/main.py

Environment Variables

  • AUTHORIZATION_TOKEN

Security Notes

The server uses Pydantic for robust data validation of JSON-RPC messages and tool/prompt arguments, which significantly mitigates injection risks. It sets a maximum message size (4MB) for HTTP requests to prevent large payload attacks and implements comprehensive error handling for malformed requests. Authorization is supported through Starlette's scope-based system, delegating actual authentication to external middleware. No 'eval' or obvious obfuscation was found. While the framework provides a secure base, the overall security depends on the implementation of user-defined tools/prompts and the chosen authentication backend.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens250
Stars0
Forks1
Last Update2025-12-03

Tags

MCPLLM IntegrationHTTP ServerJSON-RPCPython