Lightweight async API platform for managing MCP tools in secure Docker containers
SimpleTool Server is a lightweight, asynchronous API platform designed to run and manage Model Context Protocol (MCP) tools in isolated, secure Docker containers. This server provides a robust environment for deploying and managing AI applications like Claude Desktop, Continue, Cursor, and others through a standardized protocol. By leveraging FastAPI and Python 3.13, it ensures rapid development and seamless integration with various AI workflows.
SimpleTool Server boasts several key features that cater to the needs of both developers and end-users. Each MCP tool runs in its own thread within a Docker container, ensuring isolation and security. The server supports quick and easy loading of tools via uvx
or npx
, making it highly versatile for a wide range of applications.
Dynamic tool loading and filtering capabilities allow users to work with white- or blacklisted tools efficiently. This feature is particularly useful in scenarios where only certain tools should be accessible. Furthermore, SimpleTool Server provides access to MCP tools via Secure Socket Layer Event Sourcing (SSE), Swagger REST APIs, and OpenAPI.json files.
Each tool runs independently within its container, ensuring that no single point of failure impacts the operation of other tools. The configuration is stored in a JSON file, making it easy to edit and port across different environments. Additional features include custom server launch with specific environment variables and simple admin authorization via Bearer tokens for testing purposes.
The architecture of SimpleTool Server is designed to ensure robustness and flexibility while adhering strictly to the Model Context Protocol (MCP). The protocol itself serves as a universal adapter, enabling AI applications such as Claude Desktop, Continue, and Cursor to connect seamlessly with specific data sources and tools.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
To get started with SimpleTool Server, follow these steps:
git clone https://github.com/your组织/.git
docker-compose up -d
SimpleTool Server finds extensive use in various AI workflows, including natural language processing (NLP), machine learning model training, and data analysis. For instance, developers can utilize SimpleTool Server to integrate Claude Desktop with custom data sources for advanced NLP tasks. The server supports real-time data streaming via SSE, making it ideal for applications that require immediate feedback.
Another key use case involves training machine learning models using Continue. By leveraging the dynamic tool loading and filtering features, users can easily manage different versions of the model as they are developed and refined over time. Additionally, SimpleTool Server's support for OpenAPI.json and Swagger REST APIs allows seamless integration with OpenWebUI, providing a user-friendly interface for managing tools.
SimpleTool Server integrates seamlessly with various MCP clients, including Claude Desktop, Continue, and Cursor. Each of these clients can connect to the server through the standard MCP protocol, enabling users to access a wide range of tools from a single platform. The tool load process is straightforward, typically involving commands like uvx
or npx
.
For example, to launch an instance of Continue, users can execute:
uvx continue --tool [tool-name]
SimpleTool Server has been rigorously tested across different environments and MCP clients. The compatibility matrix ensures that the server supports a variety of tools while maintaining high performance standards.
Tool | Speed (ops/s) | Memory Usage (MB) | Network Latency (ms) |
---|---|---|---|
Claude Desktop | 10,000+ | <256 | <30 |
Continue | 8,000+ | <400 | <40 |
Cursor | 5,000+ | <320 | <35 |
Advanced users can customize the server configuration using a JSON file. Here’s an example of how to set up your own MCP server with custom environment variables:
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
The command
and args
fields specify the tool launch mechanism, while env
defines any necessary environment variables. This setup ensures that the server can be securely configured for production use.
Can SimpleTool Server integrate with all MCP clients?
Yes, SimpleTool Server is compatible with major MCP clients such as Claude Desktop and Continue. However, some features like prompts may not be fully supported by all clients.
How does SimpleTool Server maintain tool isolation?
Each tool runs in its own thread within a Docker container, ensuring that there are no interferences between tools even when they run concurrently.
Can I customize the server environment variables without restarting it?
Yes, you can define custom environment variables directly in the configuration file and apply changes dynamically while the server is running.
What security measures does SimpleTool Server use for admin access?
Admin access is protected through Bearer tokens. Users can simulate simple admin credentials using the Env Bearer Hack
, which is ideal for testing but not recommended for production environments.
How frequently do you update the server to support new MCP clients or tools?
Regular updates are performed based on community feedback and the latest MCP client releases. New compatibility patches are typically available within one week of a client's release.
Contributions to SimpleTool Server are highly encouraged. Developers can contribute by submitting pull requests, reporting bugs, or suggesting new features. The development guidelines include instructions for setting up the environment and running tests.
git clone https://github.com/your-clone/simple-tunnel-org.git
git checkout -b feature-your-feature
pytest
.git push origin feature-your-feature
For more information on the Model Context Protocol (MCP) and its applications, visit:
Docs
SimpleTool Server is part of an ecosystem that includes various tools and libraries designed to enhance AI application development. Explore our documentation and resources for detailed guides and best practices.
By leveraging SimpleTool Server’s lightweight design and robust features, developers can easily integrate advanced MCP clients into their workflows, ensuring seamless operation and high performance in complex AI environments.
Next-generation MCP server enhances documentation analysis with AI-powered neural processing and multi-language support
Learn to connect to MCP servers over HTTP with Python SDK using SSE for efficient protocol communication
Python MCP client for testing servers avoid message limits and customize with API key
Learn how to use MCProto Ruby gem to create and chain MCP servers for custom solutions
Analyze search intent with MCP API for SEO insights and keyword categorization
AI Vision MCP Server offers AI-powered visual analysis, screenshots, and report generation for MCP-compatible AI assistants