
MCP Serverhfhfnpublic
mcp_server
快速上手MCP
Repository Info
4
Stars
2
Forks
4
Watchers
0
Issues
Python
Language
-
License
About This Server
快速上手MCP
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
使用uv管理python环境
- uv启动mcp服务的python脚本
uv run --with mcp[cli] mcp run path/to/mcp.py
- uvx启动mcp服务的python脚本
uvx --with pillow --with mcp[cli] fastmcp run path/to/mcp.py
启动单个mcp服务 sse和streamable-http两种模式的URL路径
# sse 模式
http://127.0.0.1:8000/sse # 默认8000端口
http://host.docker.internal:8000/sse # docker容器内访问
# streamable-http 模式
http://127.0.0.1:8000/mcp # 默认8000端口
http://host.docker.internal:8000/mcp # docker容器内访问
使用mcp工具的多种基本配置示例参考:
// 涉及3种模式:stdio,sse,streamable_http
{
// streamable_http模式
"mcpServers": {
"math": {
"transport": "streamable_http",
"url": "http://127.0.0.1:8000/mcp"
},
// sse模式
"weather": {
"transport": "sse",
"url": "http://127.0.0.1:8000/sse"
},
"12306-mcp": {
"type": "sse",
"url": "https://mcp.api-inference.modelscope.cn/sse/76ee2dbba8d74f"
},
"sequentialthinking": {
"headers": {
"Accept": "application/json, text/event-stream",
"Authorization": "Bearer 0e51a8cd-e77f-072ec3f3d161"
},
"url": "https://mcp.api-inference.modelscope.cn/sse/bb19488b5bc049"
},
// 本地服务 stdio模式
"quickchart-server": {
"isActive": true,
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@gongrzhe/quickchart-mcp-server"
],
"name": "quickchart-server"
},
"excel-mcp-server": {
"isActive": true,
"command": "cmd",
"args": [
"/c",
"npx",
"--yes",
"@zhiweixu/excel-mcp-server"
],
"env": {
"LOG_PATH": "C:\\Users\\username\\Desktop\\temp",
"CACHE_MAX_AGE": "1",
"CACHE_CLEANUP_INTERVAL": "4",
"LOG_RETENTION_DAYS": "7",
"LOG_CLEANUP_INTERVAL": "24"
},
"name": "excel-mcp-server"
}
}
}
Quick Start
1
Clone the repository
git clone https://github.com/hfhfn/mcp_server2
Install dependencies
cd mcp_server
npm install3
Follow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Ownerhfhfn
Repomcp_server
LanguagePython
License-
Last fetched8/10/2025
Recommended MCP Servers
💬
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
integrationsdiscordchat
🔗
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
integrationsautomationsaas
🕷️
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
apifycrawlerdata
🌐
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
testingqabrowsers
⚡
Zapier MCP
A Zapier server that provides automation capabilities for various apps.
zapierautomation