mcp-server-demo

Kimizhao/mcp-server-demo

3.1

If you are the rightful owner of mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Model Context Protocol (MCP) server allows for seamless integration and interaction with various platforms, providing a robust environment for developing, testing, and deploying server applications.

https://github.com/modelcontextprotocol/python-sdk?tab=readme-ov-file

您可以在Claude Desktop中安装此服务器并通过运行以下命令立即与其交互: uv run mcp install server.py

开发模式

测试和调试服务器的最快方法是使用 MCP Inspector:

uv run mcp dev server.py

# Add dependencies
uv run mcp dev server.py --with pandas --with numpy

# Mount local code
uv run mcp dev server.py --with-editable .

Claude 桌面集成

服务器准备就绪后,请在 Claude Desktop 中安装它:

uv run mcp install server.py

# Custom name
uv run mcp install server.py --name "My Analytics Server"

# Environment variables
uv run mcp install server.py -v API_KEY=abc123 -v DB_URL=postgres://...
uv run mcp install server.py -f .env