mcp-cn
MCP Hub 中国是一个专注于 Model Context Protocol (MCP) 生态的开源平台。它致力于汇聚全球优质的 MCP 服务,提供一站式的解决方案,包括服务发现、接入指南和使用示例,并建立完善的中文生态,欢迎开发者参与贡献和完善平台功能。
claude mcp add --transport stdio mengjian-github-mcp-cn node packages/servers/weather-api/index.js \ --env PORT="default 3001" \ --env OPEN_WEATHER_API_KEY="your-api-key"
How to use
MCP Hub 中国 provides a curated collection of MCP services packaged as individual servers within a single monorepo. The repository includes a file-operations server and a weather-api server, among others, designed to demonstrate common MCP patterns such as file handling and external API access. To get started, clone the repository, install dependencies, and start the development environment. You can run the servers locally and access their endpoints to test MCP interactions, or integrate these services into your own MCP hub setup. The included CLI and web UI help manage and discover MCP services, and you can leverage the provided commands to install, link, or generate deep links for MCP services you wish to use in Cursor or other clients.
How to install
Prerequisites:
- Git
- Node.js (LTS) and npm or pnpm
- Internet access to install dependencies
- Clone the repository
git clone https://github.com/mengjian-github/mcp-cn.git cd mcp-cn
- Install dependencies
If you have pnpm installed
pnpm install
If you prefer npm
npm install
- Run the development servers
Start both servers in parallel (example commands)
pnpm run dev
Or start individually (if you prefer)
node packages/servers/file-operations/index.js node packages/servers/weather-api/index.js
- Open the web UI (if running via the hosted web app)
Notes:
- The server entry points are located under packages/servers. Each server exposes its own HTTP/API endpoints.
- If you customize ports, ensure they do not conflict with other services in your environment.
Additional notes
Tips and common issues:
- Ensure Node.js version compatibility with the server entry files.
- If ports are in use, change the PORT in the respective server's environment variables or args.
- For API keys (e.g., weather API), set OPEN_WEATHER_API_KEY or any required API token in env vars.
- While developing, use pnpm for faster installs in monorepos; otherwise npm works as well.
- The mcp_config allows you to add more MCP servers by following the same structure as file-operations and weather-api; simply point to the new server's entry script and define any needed environment variables.
Environment variables overview:
- PORT: TCP port the server will listen on
- For weather-api: OPEN_WEATHER_API_KEY or other provider credentials
- LOG_LEVEL: info, warn, error for logging verbosity
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud