ni
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"word2pdf": {
"args": [
"--directory",
"parent_of_servers_repo/servers/src/hello_server",
"run",
"server.py"
],
"command": "uv"
}
}
}
服务介绍
word2pdf
An MCP server built with Smithery CLI
Prerequisites
- Smithery API key: Get yours at smithery.ai/account/api-keys
Getting Started
-
Run the server:
uv run dev -
Test interactively:
uv run playground
Try saying "Say hello to John" to test the example tool.
Development
Your server code is in src/hello_server/server.py. Add or update your server capabilities there.
Deploy
Ready to deploy? Push your code to GitHub and deploy to Smithery:
-
Create a new repository at github.com/new
-
Initialize git and push to 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 -
Deploy your server to Smithery at smithery.ai/new