关于 szge-lolwiki-mcp
szge-lolwiki-mcp 是使用 Smithery CLI 构建的 MCP 服务入门项目。README 展示了示例问候工具,以及测试和部署服务的流程。
主要功能
- 01示例问候工具
- 02交互式 playground
- 03Smithery 部署流程
适用场景
- 01测试示例问候交互
- 02开发服务能力
- 03通过 Smithery 部署服务
MCP 相关
这是使用 Smithery CLI 构建的 MCP 服务,示例服务向 MCP 客户端提供问候工具。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://server.smithery.ai/@szge/lolwiki-mcp/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http ai-smithery-szge-lolwiki https://server.smithery.ai/@szge/lolwiki-mcp/mcpCursor.cursor/mcp.json
{"mcpServers":{"ai-smithery-szge-lolwiki":{"type":"http","url":"https://server.smithery.ai/@szge/lolwiki-mcp/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"ai-smithery-szge-lolwiki":{"type":"http","url":"https://server.smithery.ai/@szge/lolwiki-mcp/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"ai-smithery-szge-lolwiki":{"type":"http","url":"https://server.smithery.ai/@szge/lolwiki-mcp/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"ai-smithery-szge-lolwiki":{"serverUrl":"https://server.smithery.ai/@szge/lolwiki-mcp/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
全部服务地址
Streamable HTTP
https://server.smithery.ai/@szge/lolwiki-mcp/mcp需要授权工具
详细介绍
lolwiki-mcp
使用 Smithery CLI 构建的 MCP 服务
前置条件
- Smithery API 密钥:在 smithery.ai/account/api-keys 获取
快速开始
-
运行服务:
uv run dev -
进行交互式测试:
uv run playground
尝试说“向 John 问好”,以测试示例工具。
开发
服务代码位于 src/hello_server/server.py。在此添加或更新服务功能。
部署
准备好部署了吗?将代码推送到 GitHub 并部署到 Smithery:
-
在 github.com/new 创建新仓库
-
初始化 git 并推送到 GitHub:
git add . git commit -m "Hello world 👋" git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git git push -u origin main -
在 smithery.ai/new 将服务部署到 Smithery
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。