Skip to main content
Glama
SMITHERY_PUBLISH.mdβ€’4.82 kB
# πŸš€ Publishing to Smithery Your Dokploy MCP Server is ready to be published to Smithery! Follow these simple steps. ## βœ… Prerequisites (All Done!) - [x] Code pushed to GitHub: https://github.com/huuthangntk/dokploy-mcp - [x] Repository is public - [x] All files committed and synced - [x] smithery.yaml configured - [x] package.json properly set up ## πŸ“ Step-by-Step Publishing Guide ### Step 1: Go to Smithery 1. Open your browser and go to: **[https://smithery.ai/new](https://smithery.ai/new)** 2. You'll see the "Publish a new server" page ### Step 2: Connect GitHub 1. Click **"Connect with GitHub"** (if not already connected) 2. Authorize Smithery to access your GitHub account 3. You should see a list of your repositories ### Step 3: Select Your Repository 1. Find and select: **`huuthangntk/dokploy-mcp`** 2. Or paste the URL: `https://github.com/huuthangntk/dokploy-mcp` 3. Click **"Continue"** or **"Import"** ### Step 4: Configure Server Smithery should auto-detect your configuration, but verify: - **Name**: `dokploy-mcp` βœ… - **Runtime**: `typescript` βœ… (from smithery.yaml) - **Description**: `MCP server for Dokploy - Create, manage, and deploy applications` βœ… - **Config Schema**: Should auto-detect the `configSchema` from src/index.ts **Configuration Fields** (Smithery will show these): ``` - dokployUrl: string (default: "https://dok.bish.one") - apiToken: string (required) - debug: boolean (default: false) ``` ### Step 5: Publish 1. Review all settings 2. Click **"Publish"** or **"Deploy"** 3. Wait for the build to complete (usually 1-2 minutes) 4. You'll get a Smithery URL like: ``` https://server.smithery.ai/@huuthangntk/dokploy-mcp/mcp ``` ### Step 6: Get Your Smithery Server URL After publishing, you'll receive a URL in this format: ``` https://server.smithery.ai/@huuthangntk/dokploy-mcp/mcp ``` **Save this URL!** You'll need it for your MCP configuration. ## πŸ”§ Update Your MCP Configuration Once you have the Smithery URL, update your `mcp.json`: ### Option 1: With Query Parameters (Recommended) ```json { "mcpServers": { "dokploy-mcp": { "type": "http", "url": "https://server.smithery.ai/@huuthangntk/dokploy-mcp/mcp?dokployUrl=https://dok.bish.one&apiToken=bishoneOTLRvuGdFzijbKeLPwYnKMfMVJyAMhIeNxvnYxrVDTystsNRMSakzfohCAilySAb&debug=false", "headers": {} } } } ``` ### Option 2: With Profile (If you create one on Smithery) ```json { "mcpServers": { "dokploy-mcp": { "type": "http", "url": "https://server.smithery.ai/@huuthangntk/dokploy-mcp/mcp?profile=YOUR_PROFILE_ID", "headers": {} } } } ``` ## 🎯 After Publishing 1. **Copy the Smithery URL** 2. **Update your mcp.json** (see above) 3. **Restart Cursor** 4. **Test the connection**: "List all my Dokploy projects" ## βœ… Verification After updating mcp.json and restarting Cursor: - [ ] MCP server shows as "Connected" in Cursor status bar - [ ] Can list Dokploy projects without errors - [ ] Can create and manage resources - [ ] No 401 authentication errors ## 🌟 Benefits of Smithery Hosting βœ… **Always Available**: No need to run locally βœ… **Auto-Updates**: Smithery pulls latest from GitHub βœ… **Better Performance**: Optimized hosting βœ… **Easy Sharing**: Anyone can use your MCP server βœ… **Registry Listed**: Appears in official MCP registry ## πŸ”„ Updating Your Server To update after making changes: 1. Push changes to GitHub: ```bash git add . git commit -m "your changes" git push origin main ``` 2. Smithery will automatically detect and rebuild (or trigger manually) 3. No need to update mcp.json - URL stays the same! ## πŸ†˜ Troubleshooting ### "Repository not found" - Make sure the repository is **public** - Verify GitHub connection is active ### "Build failed" - Check GitHub Actions logs - Verify `smithery.yaml` is correct - Ensure `package.json` has all dependencies ### "Config schema not detected" - Make sure `configSchema` is exported from `src/index.ts` - Verify it's a Zod schema: `z.object({ ... })` ### Still using local server? - Make sure mcp.json has `"type": "http"` - URL should start with `https://server.smithery.ai/` - Remove `"command"`, `"args"`, and `"cwd"` fields ## πŸ“š Additional Resources - **Smithery Docs**: https://smithery.ai/docs - **Your Repository**: https://github.com/huuthangntk/dokploy-mcp - **Your Server on Smithery**: https://smithery.ai/@huuthangntk/dokploy-mcp - **MCP Registry**: https://modelcontextprotocol.io/registry ## πŸŽ‰ That's It! Once published, your Dokploy MCP Server will be: - βœ… Publicly accessible - βœ… Listed in the Smithery registry - βœ… Available to all MCP clients - βœ… Auto-deployed from GitHub --- **Need Help?** Join the Smithery Discord: https://discord.gg/Afd38S5p9A

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huuthangntk/dokploy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server