MCP Mesh Python Runtime
Base container image for building distributed Model Context Protocol (MCP) agents with Python
The MCP Mesh Python Runtime provides a pre-configured environment for developing and deploying MCP agents that automatically integrate with the MCP Mesh service discovery system.
🚀 Quick Start
FROM mcpmesh/python-runtime:latest
COPY my_agent.py .
CMD ["python", "my_agent.py"]
🏗️ What's Included
🛠️ Agent Development
Create agents using simple decorators:
import mesh
@mesh.agent( name="my-agent", capabilities=["data_processing", "file_operations"], dependencies=["database", "storage"] ) class MyAgent: @mesh.tool def process_data(self, data: str) -> dict: # Your agent logic here return {"processed": data}
📦 Environment Variables
| Variable | Default | Description |
|---|---|---|
| MCP_MESH_REGISTRY_URL | http://registry:8080 | Registry service URL |
| MCP_MESH_HTTP_PORT | 9090 | Agent HTTP server port |
| MCP_MESH_ENABLED | true | Enable mesh integration |
| LOG_LEVEL | INFO | Logging level |
🔄 Runtime Features
📋 Supported Architectures
🔗 Links
Part of the MCP Mesh ecosystem - see also https://hub.docker.com/r/mcpmesh/registry and https://hub.docker.com/r/mcpmesh/cli.
This focuses on the developer experience and shows how easy it is to build agents using the runtime image.
Content type
Image
Digest
sha256:49229f72f…
Size
97.8 MB
Last updated
24 days ago
docker pull mcpmesh/python-runtime