关于 BowenXU0126-aistudio_hw3
这是一个生成友好问候语的小型 MCP 服务,可选择加入海盗风格。项目基于 Smithery CLI,适合试用并扩展服务能力。
主要功能
- 01生成个性化问候语
- 02可选海盗风格
适用场景
- 01按姓名向他人问候
- 02测试 MCP 服务工具
MCP 相关
向 MCP 客户端提供问候工具。README 介绍了使用 Smithery CLI 运行和交互测试服务。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://server.smithery.ai/@BowenXU0126/aistudio_hw3/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http ai-smithery-bowenxu0126-aistudio-hw3 https://server.smithery.ai/@BowenXU0126/aistudio_hw3/mcpCursor.cursor/mcp.json
{"mcpServers":{"ai-smithery-bowenxu0126-aistudio-hw3":{"type":"http","url":"https://server.smithery.ai/@BowenXU0126/aistudio_hw3/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"ai-smithery-bowenxu0126-aistudio-hw3":{"type":"http","url":"https://server.smithery.ai/@BowenXU0126/aistudio_hw3/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"ai-smithery-bowenxu0126-aistudio-hw3":{"type":"http","url":"https://server.smithery.ai/@BowenXU0126/aistudio_hw3/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"ai-smithery-bowenxu0126-aistudio-hw3":{"serverUrl":"https://server.smithery.ai/@BowenXU0126/aistudio_hw3/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
全部服务地址
Streamable HTTP
https://server.smithery.ai/@BowenXU0126/aistudio_hw3/mcp需要授权工具
详细介绍
hw3
使用 Smithery CLI 构建的 MCP 服务
前提条件
- Smithery API key:在 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 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。