simple_mcp_demo
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agentic AI Infrastructure: Local Runtime Bridge using MCP
A secure, local communication runtime bridge that interfaces a cloud-based Large Language Model (Claude Desktop) with a local machine execution environment using the Model Context Protocol (MCP).
This project demonstrates how to build an active backend connection using standard I/O (stdio) transport channels to safely run local Python operations and system-level diagnostics directly through an AI chat framework.
π οΈ System Architecture
Rather than allowing an LLM to guess calculations or work in isolation, this architecture sets up a structural host-client relationship. The cloud interface securely invokes a localized Python runtime managed inside an isolated virtual environment.
MCP Host: Claude Desktop App
MCP Server: FastMCP Python Runtime Framework
Communication Layer: Standard Input/Output (
stdio) PipesEnvironment Isolation: Anaconda Virtual Environment Wrapper
Related MCP server: MCP Code Sandbox Server
π Key Technical Implementation Details
Cross-Environment Automation: Engineered a customized execution syntax configuration (
cmd.exe /c conda run) to map external host applications seamlessly into target virtual environment directories without system PATH conflicts.Deterministic Tool Schemas: Implemented secure tool decorators (
@mcp.tool) capable of executing native mathematical computations and running safe numerical handlers (e.g., zero-division guards).Dynamic Resource Manifests: Exposed runtime container parameters, platform properties, and resource variables to the client interface dynamically via a unified URI infrastructure.
π¦ Project Structure
βββ .gitignore # Prevents environment tracking leaks
βββ README.md # Architecture documentation
βββ server.py # Active MCP Server logic and tool schemasSystem Architecture
ββββββββββββββββββββββββββββ
β Claude Desktop β
β MCP Host β
ββββββββββββββ¬ββββββββββββββ
β
β stdio
βΌ
ββββββββββββββββββββββββββββ
β FastMCP Server β
β server.py β
ββββββββββββββββββββββββββββ€
β β
β Resource β
β βββ system://info β
β β
β Tools β
β βββ analyze_text_ β
β β complexity() β
β βββ safe_divide_ β
β numbers() β
β β
ββββββββββββββ¬ββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββ
β Local Python Execution β
β Conda / Python Runtime β
ββββββββββββββββββββββββββββActivate your specific virtual environment
conda activate mcp
Install required dependencies
pip install fastmcp
Claude Desktop Configuration
The MCP host must know how to start the local server.
A sanitized Windows configuration example is shown below.
Replace the example path with the actual absolute path to your local
server.py.
{
"mcpServers": {
"simple-mcp-demo": {
"command": "cmd.exe",
"args": [
"/c",
"conda",
"run",
"-n",
"mcp",
"python",
"C:\\path\\to\\simple_mcp_demo\\server.py"
]
}
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Talk to your public-facing AI from any MCP client β Claude, ChatGPT, Cursor, Cline, Windsurf.
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yoβ¦
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA custom Model Context Protocol server that gives Claude Desktop and other LLMs access to file system operations and command execution capabilities through standardized tool interfaces.23Apache 2.0
- FlicenseNot gradedqualityDmaintenanceAn extensible Message Communication Protocol server that provides secure code execution capabilities in isolated sandbox environments, compatible with Claude for Desktop and other MCP clients.17-
- AlicenseNot gradedqualityDmaintenanceBridges local LLMs running in LM Studio with MCP clients like Claude Desktop to perform reasoning and analysis tasks while keeping sensitive data private. It features a suite of tools for local code review, privacy scanning, and content transformation using auto-discovered local models.MIT
- AlicenseCqualityBmaintenanceBridges cloud-based AI orchestrators with local systems, enabling file management, terminal execution, and autonomous background tasks through the Model Context Protocol.2314Apache 2.0