Polymcp
Verified Safeby poly-mcp
Overview
A comprehensive toolkit and agent framework for building Model Context Protocol (MCP) servers and orchestrating them with Large Language Models (LLMs) across Python and TypeScript environments.
Installation
python polymcp/tools/summarize_tool.pyEnvironment Variables
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- KIMI_API_KEY
- DEEPSEEK_API_KEY
- OLLAMA_BASE_URL
- MCP_SECRET_KEY
- MCP_ACCESS_TOKEN_EXPIRE
- MCP_REFRESH_TOKEN_EXPIRE
- DATABASE_URL
- REDIS_URL
- MCP_REQUIRE_HTTPS
- POLYMCP_ENV
- POLYMCP_LOG_LEVEL
- MCP_SERVERS
- AGENT_TYPE
- AGENT_VERBOSE
- AGENT_MAX_STEPS
- EDITOR
- PYTHONIOENCODING
Security Notes
The project implements sandboxing for LLM-generated code in both Python (using standard builtins with forbidden patterns) and TypeScript (using vm2 with forbidden patterns). This aims to prevent direct filesystem, network, or OS access. Production authentication (API Key, JWT) is robust with features like brute force protection, rate limiting, and HTTPS enforcement options. However, the Python sandbox explicitly includes `__builtins__` and relies on a blacklist, which, while a common pattern, carries inherent risks if the blacklist is incomplete or bypassed by sophisticated LLM outputs. Hardcoded development secrets exist in examples and `.env.template` files, requiring users to change them for production.
Similar Servers
fastmcp
FastMCP is a Python framework for building and interacting with Model Context Protocol (MCP) servers. It provides client and server capabilities, enabling the creation of AI agents and services through definable tools, resources, and prompts. It supports various transports, authentication methods, logging, and background task execution, with strong integration for OpenAPI specifications.
mcp-use
A full-stack framework for building Model Context Protocol (MCP) servers, MCP clients, and AI agents in both Python and TypeScript, supporting interactive UI widgets and robust debugging.
agentor
Deploy scalable AI agents with tool integrations (weather, email, GitHub, etc.) and support for A2A and MCP communication protocols.
AgentUp
A developer-first framework for building, deploying, and managing secure, scalable, and configurable AI agents, supporting various agent types (reactive, iterative) and the Model-Context Protocol (MCP) for seamless interactions.