
mcp server demo
一个简单的 MCP 服务器和测试客户端文件,包含 Docker 配置。
Repository Info
About This Server
一个简单的 MCP 服务器和测试客户端文件,包含 Docker 配置。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Server
Playing around with creating a simple mcp server and a test client file.
Uses fast-mcp
Use uv to install packages:
uv sync
There's a docker file that creates the mcp-server and an n8n instance.
docker compile up -d
This will start both n8n and the mcp-server. The server can be accessed on port 8000, and n8n can be found on http://localhost:5678
This setup is specific for my use case. I have a sensor that measures CO2, temperature, and humidity. The current reading can be accessed via an API call.
Historical values are stored in a postgresql database. The MCP server has tools to call the API and also to run a query on the database.
The included n8n workflow is set up to chat to the mcp server. You can ask about the current readings, or some historical data if a date is provided.
Quick Start
Clone the repository
git clone https://github.com/deusr3x/mcp-server-demoInstall dependencies
cd mcp-server-demo
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.