article
README
🚀 JetShift MCP 服务器
JetShift MCP 服务器可实现与 JetShift 的通信,助力用户对 JetShift 的各方面进行管理。
🚀 快速开始
服务器端
你可以参考 FastMCP 文档进行操作。
安装
uv pip install .
开发启动
fastmcp dev main.py
# 或者,
mcp dev main.py
安装到 Claude 桌面
# 将 mcp 添加到 claude 桌面
fastmcp install jsmcp/main.py
客户端
客户端工具
客户端配置
{
"mcpServers": {
"JetShift MCP Server": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"fastmcp",
"run",
"E:\\Python\\jetshift-mcp-server\\main.py"
]
}
}
}
客户端运行命令
uv run --with fastmcp fastmcp run "E:\Python\jetshift-mcp-server\main.py"
fast - agent 客户端使用
@fast.agent(
instruction="You are a helpful AI Agent",
servers=["jetshift_mcp_server"],
)
cp fastagent.secrets.example.yaml fastagent.secrets.yaml
cd fast-agent
uv run agent.py
💻 使用示例
MCP 提示词使用
创建数据库
从这个连接 mysql://obydul:123456@localhost:3306/test_db 创建一个 JetShift 数据库。
更新数据库信息
将数据库 (5) 标题重命名为 "Test MCP 数据库"。
获取数据库信息
显示这个数据库的信息。id = 5
删除数据库
删除 id = 5 的数据库
Scan to join WeChat group