
MCP Servercapybara-sfwpublic
mcp server demo
未知
Repository Info
0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
MIT License
License
About This Server
未知
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 Text Tools Demo
这是一个简单的 MCP (Model Context Protocol) 服务器示例,提供了文本反转功能。
安装
- 创建并激活 conda 环境:
conda create -n mcp-server-demo python=3.10
conda activate mcp-server-demo
- 安装依赖:
pip install -r requirements.txt
运行服务器
使用 stdio 模式(默认)
python server.py
使用 SSE 模式
python server.py --transport sse --port 8000
在 Cursor 中配置
- 打开 Cursor 设置
- 导航到
Features>MCP - 点击
+ Add New MCP Server - 配置服务器:
- 对于 stdio 模式:
- Type: stdio
- Name: Text Tools
- Command: conda run -n mcp-server-demo python /path/to/server.py
- 对于 SSE 模式:
- Type: sse
- Name: Text Tools
- URL: http://localhost:8000/sse
- 对于 stdio 模式:
可用工具
reverse_text: 接收一个文本输入并返回其反转版本- 参数:
- text: 要反转的文本字符串
- 参数:
注意事项
- 确保在运行服务器之前已经激活了 conda 环境:
conda activate mcp-server-demo - 在 Cursor 中配置命令时需要使用
conda run -n mcp-server-demo前缀 - 请将命令中的
/path/to/server.py替换为实际的服务器脚本路径
Quick Start
1
Clone the repository
git clone https://github.com/capybara-sfw/mcp-server-demo2
Install dependencies
cd mcp-server-demo
npm install3
Follow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Ownercapybara-sfw
Repomcp-server-demo
LanguagePython
LicenseMIT 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