mcp-agent-base
Verified Safeby gisetia
Overview
A minimal FastAPI service exposing an OpenAI-compatible /chat/completions endpoint backed by Anthropic Claude with MCP tool calls and SSE streaming.
Installation
docker compose up --buildEnvironment Variables
- ANTHROPIC_API_KEY
- MCP_SERVER_URL
Security Notes
Secrets (API keys, URLs) are handled via environment variables, avoiding hardcoding. The service implements retry mechanisms for network calls to both the LLM provider and the MCP server, improving resilience. No 'eval' or other direct arbitrary code execution patterns were found. Security is partly dependent on the trustworthiness of the external MCP server and the tools it exposes.
Similar Servers
fastapi_mcp
Automatically converts FastAPI endpoints into Model Context Protocol (MCP) tools for seamless integration with LLM agents.
mcpstore
Orchestrate Microservice Context Protocol (MCP) services and adapt them for integration with various AI frameworks like LangChain, managing tools and their lifecycle.
ollama-mcp-bridge
Provides an API layer in front of the Ollama API, seamlessly adding tools from multiple MCP servers so every Ollama request can access all connected tools transparently.
fastify-mcp-server
A Fastify plugin providing a streamable HTTP transport for the Model Context Protocol (MCP), enabling AI assistants to interact with services.