mcd-demo
@jspoelstra
关于 mcd-demo
Testing creation of simple MCP servers and integrating with LangChain agent
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcd-demo": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is mcd-demo?
mcd-demo is a project for testing the creation of simple MCP (Model Context Protocol) servers and integrating them with a LangChain agent. It is aimed at developers experimenting with MCP server implementations and LangChain agent integration.
How to use mcd-demo?
Set up a Python virtual environment, install dependencies from requirements.txt, and configure environment variables for Azure OpenAI API key and endpoint. Then start the three MCP servers (weather_server.py, math_server.py, telemetry_server.py) in the background, optionally running the math server via Docker, and finally launch the agent with python agent.py.
Key features of mcd-demo
- Demonstrates creation of simple MCP servers
- Integrates MCP servers with a LangChain agent
- Includes weather, math, and telemetry server examples
- Supports running math server in a Docker container
- Uses SSE transport for MCP server communication
Use cases of mcd-demo
- Learning how to build and run MCP servers
- Testing LangChain agent integration with multiple MCP services
- Experimenting with MCP server deployment (native or Docker)
- Prototyping multi-server MCP architectures
FAQ from mcd-demo
What MCP servers are included?
Three servers: weather_server.py, math_server.py, and telemetry_server.py.
Can the math server be run in Docker?
Yes, you can build a Docker image with make build and run it with make run-local.
What environment variables are required?
AZURE_OPENAI_API_KEY and AZURE_OPENAI_ENDPOINT are required. Optionally, MCP_MATH_URI can be set to configure the math server URI.
How do I stop the MCP servers?
Use pkill -9 -f <server_script.py> on each server, e.g., pkill -9 -f weather_server.py.
Is there a .env file supported?
Yes, variables can be set in a .env file in the project root directory.
AI 与智能体 分类下的更多 MCP 服务器
Perplexity MCP Server
DaInfernalCoderA Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline Hackathon
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
utensilsMCP-NixOS - Model Context Protocol Server for NixOS resources
Unreal Engine Generative AI Support Plugin
prajwalshettydevUnreal Engine plugin for LLM/GenAI models & MCP UE5 server. OpenAI GPT-5, Deepseek R1, Claude Opus/Sonnet, Gemini 3, Grok 4, Alibaba Qwen, Kimi, ElevenLabs TTS, Inworld, OpenRouter, Groq, GLM, Ollama, Local, Meshy, Tripo, Hunyuan3D, Rodin, fal, Dashscope, Seedream. NPC AI, agenti
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
Sequential Thinking Multi-Agent System (MAS)
FradSerAn advanced sequential thinking process using a Multi-Agent System (MAS) built with the Agno framework and served via MCP.
评论