@cubis/foundry 0.3.32 → 0.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +23 -0
- package/bin/cubis.js +461 -37
- package/mcp/README.md +17 -0
- package/mcp/catalogs/default.json +14 -0
- package/mcp/powers/atlassian-mcp/POWER.md +91 -0
- package/mcp/powers/atlassian-mcp/SKILL.md +88 -0
- package/mcp/powers/building-mcp-server-on-cloudflare/POWER.md +261 -0
- package/mcp/powers/building-mcp-server-on-cloudflare/SKILL.md +258 -0
- package/mcp/powers/datadog-automation/POWER.md +238 -0
- package/mcp/powers/datadog-automation/SKILL.md +235 -0
- package/mcp/powers/github-automation/POWER.md +230 -0
- package/mcp/powers/github-automation/SKILL.md +227 -0
- package/mcp/powers/mcp-builder/POWER.md +179 -0
- package/mcp/powers/mcp-builder/SKILL.md +176 -0
- package/mcp/powers/mcp-developer/POWER.md +88 -0
- package/mcp/powers/mcp-developer/SKILL.md +85 -0
- package/mcp/powers/postman/POWER.md +243 -0
- package/mcp/powers/postman/SKILL.md +240 -0
- package/mcp/powers/sentry-automation/POWER.md +235 -0
- package/mcp/powers/sentry-automation/SKILL.md +232 -0
- package/mcp/skills/atlassian-mcp/SKILL.md +88 -0
- package/mcp/skills/building-mcp-server-on-cloudflare/SKILL.md +258 -0
- package/mcp/skills/datadog-automation/SKILL.md +235 -0
- package/mcp/skills/github-automation/SKILL.md +227 -0
- package/mcp/skills/mcp-builder/SKILL.md +176 -0
- package/mcp/skills/mcp-developer/SKILL.md +85 -0
- package/mcp/skills/postman/SKILL.md +240 -0
- package/mcp/skills/sentry-automation/SKILL.md +232 -0
- package/package.json +2 -1
- package/workflows/powers/architecture/POWER.md +12 -46
- package/workflows/powers/architecture/SKILL.md +12 -46
- package/workflows/powers/atlassian-mcp/POWER.md +11 -81
- package/workflows/powers/atlassian-mcp/SKILL.md +11 -81
- package/workflows/powers/building-mcp-server-on-cloudflare/POWER.md +12 -252
- package/workflows/powers/building-mcp-server-on-cloudflare/SKILL.md +12 -252
- package/workflows/powers/code-review-checklist/POWER.md +11 -99
- package/workflows/powers/code-review-checklist/SKILL.md +11 -99
- package/workflows/powers/csharp-pro/POWER.md +43 -0
- package/workflows/powers/csharp-pro/SKILL.md +40 -0
- package/workflows/powers/database-design/POWER.md +47 -5
- package/workflows/powers/database-design/SKILL.md +45 -4
- package/workflows/powers/database-optimizer/POWER.md +11 -23
- package/workflows/powers/database-optimizer/SKILL.md +5 -5
- package/workflows/powers/datadog-automation/POWER.md +12 -229
- package/workflows/powers/datadog-automation/SKILL.md +12 -229
- package/workflows/powers/debugging-wizard/POWER.md +12 -78
- package/workflows/powers/debugging-wizard/SKILL.md +12 -78
- package/workflows/powers/deployment-procedures/POWER.md +11 -231
- package/workflows/powers/deployment-procedures/SKILL.md +11 -231
- package/workflows/powers/drift-flutter/POWER.md +51 -0
- package/workflows/powers/drift-flutter/SKILL.md +2 -2
- package/workflows/powers/github-automation/POWER.md +12 -221
- package/workflows/powers/github-automation/SKILL.md +12 -221
- package/workflows/powers/golang-pro/POWER.md +38 -66
- package/workflows/powers/golang-pro/SKILL.md +38 -66
- package/workflows/powers/java-pro/POWER.md +43 -0
- package/workflows/powers/java-pro/SKILL.md +40 -0
- package/workflows/powers/javascript-pro/POWER.md +37 -67
- package/workflows/powers/javascript-pro/SKILL.md +37 -67
- package/workflows/powers/kotlin-pro/POWER.md +43 -0
- package/workflows/powers/kotlin-pro/SKILL.md +40 -0
- package/workflows/powers/mcp-builder/POWER.md +12 -170
- package/workflows/powers/mcp-builder/SKILL.md +12 -170
- package/workflows/powers/mcp-developer/POWER.md +11 -78
- package/workflows/powers/mcp-developer/SKILL.md +11 -78
- package/workflows/powers/nextjs-developer/POWER.md +41 -148
- package/workflows/powers/nextjs-developer/SKILL.md +41 -148
- package/workflows/powers/nextjs-react-expert/POWER.md +10 -281
- package/workflows/powers/nextjs-react-expert/SKILL.md +10 -281
- package/workflows/powers/nodejs-best-practices/POWER.md +33 -317
- package/workflows/powers/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/powers/postman/POWER.md +11 -233
- package/workflows/powers/postman/SKILL.md +11 -233
- package/workflows/powers/python-patterns/POWER.md +11 -431
- package/workflows/powers/python-patterns/SKILL.md +11 -431
- package/workflows/powers/python-pro/POWER.md +38 -66
- package/workflows/powers/python-pro/SKILL.md +38 -66
- package/workflows/powers/react-best-practices/POWER.md +35 -118
- package/workflows/powers/react-best-practices/SKILL.md +35 -118
- package/workflows/powers/react-expert/POWER.md +38 -66
- package/workflows/powers/react-expert/SKILL.md +38 -66
- package/workflows/powers/rust-engineer/POWER.md +10 -75
- package/workflows/powers/rust-engineer/SKILL.md +10 -75
- package/workflows/powers/rust-pro/POWER.md +36 -163
- package/workflows/powers/rust-pro/SKILL.md +36 -163
- package/workflows/powers/sentry-automation/POWER.md +12 -226
- package/workflows/powers/sentry-automation/SKILL.md +12 -226
- package/workflows/powers/server-management/POWER.md +11 -151
- package/workflows/powers/server-management/SKILL.md +11 -151
- package/workflows/powers/tdd-workflow/POWER.md +12 -140
- package/workflows/powers/tdd-workflow/SKILL.md +12 -140
- package/workflows/powers/testing-patterns/POWER.md +11 -168
- package/workflows/powers/testing-patterns/SKILL.md +11 -168
- package/workflows/powers/typescript-pro/POWER.md +43 -70
- package/workflows/powers/typescript-pro/SKILL.md +43 -70
- package/workflows/powers/vercel-ai/POWER.md +43 -0
- package/workflows/powers/vercel-ai/SKILL.md +40 -0
- package/workflows/powers/vercel-ai-gateway/POWER.md +11 -69
- package/workflows/powers/vercel-ai-gateway/SKILL.md +11 -69
- package/workflows/powers/vercel-ai-sdk/POWER.md +11 -49
- package/workflows/powers/vercel-ai-sdk/SKILL.md +11 -49
- package/workflows/powers/vercel-caching/POWER.md +10 -72
- package/workflows/powers/vercel-caching/SKILL.md +10 -72
- package/workflows/powers/vercel-cli/POWER.md +11 -75
- package/workflows/powers/vercel-cli/SKILL.md +11 -75
- package/workflows/powers/vercel-delivery/POWER.md +45 -0
- package/workflows/powers/vercel-delivery/SKILL.md +42 -0
- package/workflows/powers/vercel-deployments/POWER.md +10 -90
- package/workflows/powers/vercel-deployments/SKILL.md +10 -90
- package/workflows/powers/vercel-domains/POWER.md +10 -69
- package/workflows/powers/vercel-domains/SKILL.md +10 -69
- package/workflows/powers/vercel-firewall/POWER.md +10 -61
- package/workflows/powers/vercel-firewall/SKILL.md +10 -61
- package/workflows/powers/vercel-flags/POWER.md +10 -62
- package/workflows/powers/vercel-flags/SKILL.md +10 -62
- package/workflows/powers/vercel-functions/POWER.md +10 -70
- package/workflows/powers/vercel-functions/SKILL.md +10 -70
- package/workflows/powers/vercel-routing/POWER.md +10 -68
- package/workflows/powers/vercel-routing/SKILL.md +10 -68
- package/workflows/powers/vercel-runtime/POWER.md +43 -0
- package/workflows/powers/vercel-runtime/SKILL.md +40 -0
- package/workflows/powers/vercel-security/POWER.md +43 -0
- package/workflows/powers/vercel-security/SKILL.md +40 -0
- package/workflows/powers/vulnerability-scanner/POWER.md +11 -266
- package/workflows/powers/vulnerability-scanner/SKILL.md +11 -266
- package/workflows/scripts/generate-powers.mjs +95 -202
- package/workflows/skills/atlassian-mcp/SKILL.md +11 -81
- package/workflows/skills/building-mcp-server-on-cloudflare/SKILL.md +12 -252
- package/workflows/skills/catalogs/core.json +30 -0
- package/workflows/skills/catalogs/web-backend.json +70 -0
- package/workflows/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/skills/datadog-automation/SKILL.md +12 -229
- package/workflows/skills/github-automation/SKILL.md +12 -221
- package/workflows/skills/golang-pro/SKILL.md +38 -66
- package/workflows/skills/java-pro/SKILL.md +40 -0
- package/workflows/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/skills/mcp-builder/SKILL.md +12 -170
- package/workflows/skills/mcp-developer/SKILL.md +11 -78
- package/workflows/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/skills/nextjs-react-expert/SKILL.md +5 -11
- package/workflows/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/skills/postman/SKILL.md +11 -233
- package/workflows/skills/python-pro/SKILL.md +38 -66
- package/workflows/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/skills/react-expert/SKILL.md +38 -66
- package/workflows/skills/rust-pro/SKILL.md +36 -163
- package/workflows/skills/sentry-automation/SKILL.md +12 -226
- package/workflows/skills/skills_index.json +43 -57
- package/workflows/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/rules/GEMINI.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/rules/AGENTS.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/rules/AGENTS.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/golang-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/java-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nextjs-react-expert/SKILL.md +6 -12
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/python-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/react-expert/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/rust-pro/SKILL.md +36 -163
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +43 -57
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/golang-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/java-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nextjs-react-expert/SKILL.md +6 -12
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/python-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/react-expert/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/rust-pro/SKILL.md +36 -163
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/skills_index.json +43 -57
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/golang-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/java-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nextjs-react-expert/SKILL.md +6 -12
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/python-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/react-expert/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/rust-pro/SKILL.md +36 -163
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/skills_index.json +43 -57
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/shared/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/shared/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/vercel-expert.md +1 -1
- package/workflows/powers/sub-agents/scripts/run_subagent.py.bak +0 -512
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/authentication-patterns.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/common-workflows.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/confluence-operations.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/jira-queries.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/mcp-server-setup.md +0 -0
- /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/examples.md +0 -0
- /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/oauth-setup.md +0 -0
- /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/troubleshooting.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/LICENSE.txt +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/evaluation.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/mcp_best_practices.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/node_mcp_server.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/python_mcp_server.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/connections.py +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/evaluation.py +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/example_evaluation.xml +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/requirements.txt +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/protocol.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/python-sdk.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/resources.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/tools.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/typescript-sdk.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/bloc-state.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/engineering-principles.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/gorouter-navigation.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/performance.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/project-structure.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/riverpod-state.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/widget-patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/log_redaction.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/network_hardening.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/secret-scanning.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/secure_storage_policy.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/vulnerability-patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/templates/security_review_response.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/golden-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/integration-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/property-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/riverpod-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/test-utilities.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/unit-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/widget-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/git-commit/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/git-commit/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/steering/guard_patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/steering/tab_preservation.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/templates/guard_redirect.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -0
- /package/{workflows → mcp}/powers/postman/mcp.json +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/communication.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/data.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/decomposition.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/observability.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/authentication.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/controllers-routing.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/dtos-validation.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/migration-from-express.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/secure-sessions.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/services-di.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/strangler-fig-pattern.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/testing-patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/steering/colors.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/steering/components.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/steering/spacing.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/crud-templates.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-express.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-fastapi.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-nestjs.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-raw-openapi.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/openapi-checklist.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/stoplight-ui.md +0 -0
- /package/{workflows → mcp}/powers/postman/steering/steering.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/authentication-patterns.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/common-workflows.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/confluence-operations.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/jira-queries.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/mcp-server-setup.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/examples.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/tool-patterns.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/LICENSE.txt +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/evaluation.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/mcp_best_practices.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/node_mcp_server.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/python_mcp_server.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/connections.py +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/evaluation.py +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/example_evaluation.xml +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/requirements.txt +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/protocol.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/python-sdk.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/resources.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/tools.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/typescript-sdk.md +0 -0
- /package/{workflows → mcp}/skills/postman/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/bloc-state.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/engineering-principles.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/gorouter-navigation.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/performance.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/project-structure.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/riverpod-state.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/widget-patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/log_redaction.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/network_hardening.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/secret-scanning.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/secure_storage_policy.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/vulnerability-patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/templates/security_review_response.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/golden-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/integration-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/property-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/riverpod-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/test-utilities.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/unit-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/widget-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/git-commit/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/git-commit/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/references/guard_patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/references/tab_preservation.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/templates/guard_redirect.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -0
- /package/{workflows → mcp}/skills/postman/mcp.json +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/communication.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/data.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/decomposition.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/observability.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/authentication.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/controllers-routing.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/dtos-validation.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/migration-from-express.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/secure-sessions.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/services-di.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/strangler-fig-pattern.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/testing-patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/references/colors.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/references/components.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/references/spacing.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/crud-templates.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-express.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-fastapi.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-nestjs.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-raw-openapi.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/openapi-checklist.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/stoplight-ui.md +0 -0
- /package/{workflows → mcp}/skills/postman/references/steering.md +0 -0
|
@@ -1,258 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: building-mcp-server-on-cloudflare
|
|
3
|
-
description:
|
|
2
|
+
name: "building-mcp-server-on-cloudflare"
|
|
3
|
+
description: "Compatibility wrapper skill. Canonical MCP skill moved to mcp/skills/building-mcp-server-on-cloudflare."
|
|
4
|
+
metadata:
|
|
5
|
+
deprecated: true
|
|
6
|
+
replaced_by: "building-mcp-server-on-cloudflare"
|
|
7
|
+
moved_to: "mcp/skills/building-mcp-server-on-cloudflare/SKILL.md"
|
|
8
|
+
removal_target: "v0.6.0"
|
|
4
9
|
---
|
|
5
10
|
|
|
6
|
-
#
|
|
11
|
+
# building-mcp-server-on-cloudflare (Compatibility Wrapper)
|
|
7
12
|
|
|
8
|
-
|
|
13
|
+
This legacy workflow-path skill is kept for backward compatibility.
|
|
9
14
|
|
|
10
|
-
|
|
15
|
+
Canonical MCP skill path:
|
|
16
|
+
- mcp/skills/building-mcp-server-on-cloudflare/SKILL.md
|
|
11
17
|
|
|
12
|
-
|
|
13
|
-
- User needs to expose tools via MCP
|
|
14
|
-
- User asks about MCP authentication or OAuth
|
|
15
|
-
- User wants to deploy MCP to Cloudflare Workers
|
|
16
|
-
|
|
17
|
-
## Prerequisites
|
|
18
|
-
|
|
19
|
-
- Cloudflare account with Workers enabled
|
|
20
|
-
- Node.js 18+ and npm/pnpm/yarn
|
|
21
|
-
- Wrangler CLI (`npm install -g wrangler`)
|
|
22
|
-
|
|
23
|
-
## Quick Start
|
|
24
|
-
|
|
25
|
-
### Option 1: Public Server (No Auth)
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
npm create cloudflare@latest -- my-mcp-server \
|
|
29
|
-
--template=cloudflare/ai/demos/remote-mcp-authless
|
|
30
|
-
cd my-mcp-server
|
|
31
|
-
npm start
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Server runs at `http://localhost:8788/mcp`
|
|
35
|
-
|
|
36
|
-
### Option 2: Authenticated Server (OAuth)
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
npm create cloudflare@latest -- my-mcp-server \
|
|
40
|
-
--template=cloudflare/ai/demos/remote-mcp-github-oauth
|
|
41
|
-
cd my-mcp-server
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Requires OAuth app setup. See [references/oauth-setup.md](references/oauth-setup.md).
|
|
45
|
-
|
|
46
|
-
## Core Workflow
|
|
47
|
-
|
|
48
|
-
### Step 1: Define Tools
|
|
49
|
-
|
|
50
|
-
Tools are functions MCP clients can call. Define them using `server.tool()`:
|
|
51
|
-
|
|
52
|
-
```typescript
|
|
53
|
-
import { McpAgent } from "agents/mcp";
|
|
54
|
-
import { z } from "zod";
|
|
55
|
-
|
|
56
|
-
export class MyMCP extends McpAgent {
|
|
57
|
-
server = new Server({ name: "my-mcp", version: "1.0.0" });
|
|
58
|
-
|
|
59
|
-
async init() {
|
|
60
|
-
// Simple tool with parameters
|
|
61
|
-
this.server.tool(
|
|
62
|
-
"add",
|
|
63
|
-
{ a: z.number(), b: z.number() },
|
|
64
|
-
async ({ a, b }) => ({
|
|
65
|
-
content: [{ type: "text", text: String(a + b) }],
|
|
66
|
-
})
|
|
67
|
-
);
|
|
68
|
-
|
|
69
|
-
// Tool that calls external API
|
|
70
|
-
this.server.tool(
|
|
71
|
-
"get_weather",
|
|
72
|
-
{ city: z.string() },
|
|
73
|
-
async ({ city }) => {
|
|
74
|
-
const response = await fetch(`https://api.weather.com/${city}`);
|
|
75
|
-
const data = await response.json();
|
|
76
|
-
return {
|
|
77
|
-
content: [{ type: "text", text: JSON.stringify(data) }],
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Step 2: Configure Entry Point
|
|
86
|
-
|
|
87
|
-
**Public server** (`src/index.ts`):
|
|
88
|
-
|
|
89
|
-
```typescript
|
|
90
|
-
import { MyMCP } from "./mcp";
|
|
91
|
-
|
|
92
|
-
export default {
|
|
93
|
-
fetch(request: Request, env: Env, ctx: ExecutionContext) {
|
|
94
|
-
const url = new URL(request.url);
|
|
95
|
-
if (url.pathname === "/mcp") {
|
|
96
|
-
return MyMCP.serveSSE("/mcp").fetch(request, env, ctx);
|
|
97
|
-
}
|
|
98
|
-
return new Response("MCP Server", { status: 200 });
|
|
99
|
-
},
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
export { MyMCP };
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
**Authenticated server** — See [references/oauth-setup.md](references/oauth-setup.md).
|
|
106
|
-
|
|
107
|
-
### Step 3: Test Locally
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
# Start server
|
|
111
|
-
npm start
|
|
112
|
-
|
|
113
|
-
# In another terminal, test with MCP Inspector
|
|
114
|
-
npx @modelcontextprotocol/inspector@latest
|
|
115
|
-
# Open http://localhost:5173, enter http://localhost:8788/mcp
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
### Step 4: Deploy
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
npx wrangler deploy
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
Server accessible at `https://[worker-name].[account].workers.dev/mcp`
|
|
125
|
-
|
|
126
|
-
### Step 5: Connect Clients
|
|
127
|
-
|
|
128
|
-
**Claude Desktop** (`claude_desktop_config.json`):
|
|
129
|
-
|
|
130
|
-
```json
|
|
131
|
-
{
|
|
132
|
-
"mcpServers": {
|
|
133
|
-
"my-server": {
|
|
134
|
-
"command": "npx",
|
|
135
|
-
"args": ["mcp-remote", "https://my-mcp.workers.dev/mcp"]
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
Restart Claude Desktop after updating config.
|
|
142
|
-
|
|
143
|
-
## Tool Patterns
|
|
144
|
-
|
|
145
|
-
### Return Types
|
|
146
|
-
|
|
147
|
-
```typescript
|
|
148
|
-
// Text response
|
|
149
|
-
return { content: [{ type: "text", text: "result" }] };
|
|
150
|
-
|
|
151
|
-
// Multiple content items
|
|
152
|
-
return {
|
|
153
|
-
content: [
|
|
154
|
-
{ type: "text", text: "Here's the data:" },
|
|
155
|
-
{ type: "text", text: JSON.stringify(data, null, 2) },
|
|
156
|
-
],
|
|
157
|
-
};
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### Input Validation with Zod
|
|
161
|
-
|
|
162
|
-
```typescript
|
|
163
|
-
this.server.tool(
|
|
164
|
-
"create_user",
|
|
165
|
-
{
|
|
166
|
-
email: z.string().email(),
|
|
167
|
-
name: z.string().min(1).max(100),
|
|
168
|
-
role: z.enum(["admin", "user", "guest"]),
|
|
169
|
-
age: z.number().int().min(0).optional(),
|
|
170
|
-
},
|
|
171
|
-
async (params) => {
|
|
172
|
-
// params are fully typed and validated
|
|
173
|
-
}
|
|
174
|
-
);
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### Accessing Environment/Bindings
|
|
178
|
-
|
|
179
|
-
```typescript
|
|
180
|
-
export class MyMCP extends McpAgent<Env> {
|
|
181
|
-
async init() {
|
|
182
|
-
this.server.tool("query_db", { sql: z.string() }, async ({ sql }) => {
|
|
183
|
-
// Access D1 binding
|
|
184
|
-
const result = await this.env.DB.prepare(sql).all();
|
|
185
|
-
return { content: [{ type: "text", text: JSON.stringify(result) }] };
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
## Authentication
|
|
192
|
-
|
|
193
|
-
For OAuth-protected servers, see [references/oauth-setup.md](references/oauth-setup.md).
|
|
194
|
-
|
|
195
|
-
Supported providers:
|
|
196
|
-
- GitHub
|
|
197
|
-
- Google
|
|
198
|
-
- Auth0
|
|
199
|
-
- Stytch
|
|
200
|
-
- WorkOS
|
|
201
|
-
- Any OAuth 2.0 compliant provider
|
|
202
|
-
|
|
203
|
-
## Wrangler Configuration
|
|
204
|
-
|
|
205
|
-
Minimal `wrangler.toml`:
|
|
206
|
-
|
|
207
|
-
```toml
|
|
208
|
-
name = "my-mcp-server"
|
|
209
|
-
main = "src/index.ts"
|
|
210
|
-
compatibility_date = "2024-12-01"
|
|
211
|
-
|
|
212
|
-
[durable_objects]
|
|
213
|
-
bindings = [{ name = "MCP", class_name = "MyMCP" }]
|
|
214
|
-
|
|
215
|
-
[[migrations]]
|
|
216
|
-
tag = "v1"
|
|
217
|
-
new_classes = ["MyMCP"]
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
With bindings (D1, KV, etc.):
|
|
221
|
-
|
|
222
|
-
```toml
|
|
223
|
-
[[d1_databases]]
|
|
224
|
-
binding = "DB"
|
|
225
|
-
database_name = "my-db"
|
|
226
|
-
database_id = "xxx"
|
|
227
|
-
|
|
228
|
-
[[kv_namespaces]]
|
|
229
|
-
binding = "KV"
|
|
230
|
-
id = "xxx"
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
## Common Issues
|
|
234
|
-
|
|
235
|
-
### "Tool not found" in Client
|
|
236
|
-
|
|
237
|
-
1. Verify tool name matches exactly (case-sensitive)
|
|
238
|
-
2. Ensure `init()` registers tools before connections
|
|
239
|
-
3. Check server logs: `wrangler tail`
|
|
240
|
-
|
|
241
|
-
### Connection Fails
|
|
242
|
-
|
|
243
|
-
1. Confirm endpoint path is `/mcp`
|
|
244
|
-
2. Check CORS if browser-based client
|
|
245
|
-
3. Verify Worker is deployed: `wrangler deployments list`
|
|
246
|
-
|
|
247
|
-
### OAuth Redirect Errors
|
|
248
|
-
|
|
249
|
-
1. Callback URL must match OAuth app config exactly
|
|
250
|
-
2. Check `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` are set
|
|
251
|
-
3. For local dev, use `http://localhost:8788/callback`
|
|
252
|
-
|
|
253
|
-
## References
|
|
254
|
-
|
|
255
|
-
- [references/examples.md](references/examples.md) — Official templates and production examples
|
|
256
|
-
- [references/oauth-setup.md](references/oauth-setup.md) — OAuth provider configuration
|
|
257
|
-
- [references/tool-patterns.md](references/tool-patterns.md) — Advanced tool examples
|
|
258
|
-
- [references/troubleshooting.md](references/troubleshooting.md) — Error codes and fixes
|
|
18
|
+
Install MCP skills with: cbx workflows install --include-mcp
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profile": "core",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"skills": [
|
|
5
|
+
"ask-questions-if-underspecified",
|
|
6
|
+
"clean-code",
|
|
7
|
+
"plan-writing",
|
|
8
|
+
"feature-forge",
|
|
9
|
+
"code-reviewer",
|
|
10
|
+
"systematic-debugging",
|
|
11
|
+
"test-master",
|
|
12
|
+
"lint-and-validate",
|
|
13
|
+
"architecture-designer",
|
|
14
|
+
"api-designer",
|
|
15
|
+
"api-patterns",
|
|
16
|
+
"secure-code-guardian",
|
|
17
|
+
"security-reviewer",
|
|
18
|
+
"database-skills",
|
|
19
|
+
"nodejs-best-practices",
|
|
20
|
+
"javascript-pro",
|
|
21
|
+
"typescript-pro",
|
|
22
|
+
"python-pro",
|
|
23
|
+
"golang-pro",
|
|
24
|
+
"nextjs-developer",
|
|
25
|
+
"react-expert",
|
|
26
|
+
"devops-engineer",
|
|
27
|
+
"sre-engineer",
|
|
28
|
+
"web-perf"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"profile": "web-backend",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"extends": "core",
|
|
5
|
+
"skills": [
|
|
6
|
+
"ask-questions-if-underspecified",
|
|
7
|
+
"clean-code",
|
|
8
|
+
"plan-writing",
|
|
9
|
+
"feature-forge",
|
|
10
|
+
"code-reviewer",
|
|
11
|
+
"systematic-debugging",
|
|
12
|
+
"test-master",
|
|
13
|
+
"lint-and-validate",
|
|
14
|
+
"architecture-designer",
|
|
15
|
+
"api-designer",
|
|
16
|
+
"api-patterns",
|
|
17
|
+
"secure-code-guardian",
|
|
18
|
+
"security-reviewer",
|
|
19
|
+
"database-skills",
|
|
20
|
+
"database-design",
|
|
21
|
+
"database-optimizer",
|
|
22
|
+
"nodejs-best-practices",
|
|
23
|
+
"javascript-pro",
|
|
24
|
+
"typescript-pro",
|
|
25
|
+
"python-pro",
|
|
26
|
+
"golang-pro",
|
|
27
|
+
"java-pro",
|
|
28
|
+
"csharp-pro",
|
|
29
|
+
"kotlin-pro",
|
|
30
|
+
"nextjs-developer",
|
|
31
|
+
"next-best-practices",
|
|
32
|
+
"next-cache-components",
|
|
33
|
+
"next-upgrade",
|
|
34
|
+
"react-expert",
|
|
35
|
+
"react-best-practices",
|
|
36
|
+
"frontend-design",
|
|
37
|
+
"design-system-builder",
|
|
38
|
+
"ux-ui-consistency",
|
|
39
|
+
"tailwind-patterns",
|
|
40
|
+
"fastapi-expert",
|
|
41
|
+
"nestjs-expert",
|
|
42
|
+
"graphql-architect",
|
|
43
|
+
"microservices-architect",
|
|
44
|
+
"monitoring-expert",
|
|
45
|
+
"playwright-expert",
|
|
46
|
+
"webapp-testing",
|
|
47
|
+
"openapi-docs",
|
|
48
|
+
"code-documenter",
|
|
49
|
+
"find-bugs",
|
|
50
|
+
"fix-review",
|
|
51
|
+
"refactor",
|
|
52
|
+
"performance-profiling",
|
|
53
|
+
"terraform-engineer",
|
|
54
|
+
"vercel-platform",
|
|
55
|
+
"vercel-runtime",
|
|
56
|
+
"vercel-delivery",
|
|
57
|
+
"vercel-security",
|
|
58
|
+
"vercel-ai",
|
|
59
|
+
"vercel-observability",
|
|
60
|
+
"vercel-storage",
|
|
61
|
+
"seo-fundamentals",
|
|
62
|
+
"geo-fundamentals",
|
|
63
|
+
"parallel-agents",
|
|
64
|
+
"sub-agents",
|
|
65
|
+
"semgrep",
|
|
66
|
+
"static-analysis",
|
|
67
|
+
"variant-analysis",
|
|
68
|
+
"sarif-parsing"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "csharp-pro"
|
|
3
|
+
description: "Use for modern C# backend/application engineering with C# 14 and .NET 10-era production practices."
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
domain: "language"
|
|
8
|
+
role: "specialist"
|
|
9
|
+
stack: "csharp"
|
|
10
|
+
baseline: "C# 14 / .NET 10"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# C# Pro
|
|
14
|
+
|
|
15
|
+
## When to use
|
|
16
|
+
|
|
17
|
+
- Building APIs, workers, and services in .NET.
|
|
18
|
+
- Refactoring legacy C# into modern, testable architecture.
|
|
19
|
+
- Improving async correctness and operational resilience.
|
|
20
|
+
|
|
21
|
+
## Core workflow
|
|
22
|
+
|
|
23
|
+
1. Confirm target framework/runtime constraints.
|
|
24
|
+
2. Define clean contracts (DTOs, domain, persistence boundaries).
|
|
25
|
+
3. Implement async-first I/O and cancellation-aware flows.
|
|
26
|
+
4. Validate with tests, analyzers, and profiling.
|
|
27
|
+
|
|
28
|
+
## Baseline standards
|
|
29
|
+
|
|
30
|
+
- Use nullable reference types and treat warnings as actionable.
|
|
31
|
+
- Use `async`/`await` with `CancellationToken` in public async APIs.
|
|
32
|
+
- Keep exception handling consistent and observable.
|
|
33
|
+
- Use dependency injection with explicit lifetimes.
|
|
34
|
+
- Keep API contracts versioned and backward-compatible.
|
|
35
|
+
|
|
36
|
+
## Avoid
|
|
37
|
+
|
|
38
|
+
- Sync-over-async (`.Result`, `.Wait()`) in request paths.
|
|
39
|
+
- Fat controllers with business logic and persistence mixed.
|
|
40
|
+
- Global static mutable state in multi-request services.
|
|
@@ -1,235 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: datadog-automation
|
|
3
|
-
description: "
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
name: "datadog-automation"
|
|
3
|
+
description: "Compatibility wrapper skill. Canonical MCP skill moved to mcp/skills/datadog-automation."
|
|
4
|
+
metadata:
|
|
5
|
+
deprecated: true
|
|
6
|
+
replaced_by: "datadog-automation"
|
|
7
|
+
moved_to: "mcp/skills/datadog-automation/SKILL.md"
|
|
8
|
+
removal_target: "v0.6.0"
|
|
6
9
|
---
|
|
7
10
|
|
|
8
|
-
#
|
|
11
|
+
# datadog-automation (Compatibility Wrapper)
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
This legacy workflow-path skill is kept for backward compatibility.
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
Canonical MCP skill path:
|
|
16
|
+
- mcp/skills/datadog-automation/SKILL.md
|
|
13
17
|
|
|
14
|
-
|
|
15
|
-
- Active Datadog connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `datadog`
|
|
16
|
-
- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
|
|
17
|
-
|
|
18
|
-
## Setup
|
|
19
|
-
|
|
20
|
-
**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
|
|
24
|
-
2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `datadog`
|
|
25
|
-
3. If connection is not ACTIVE, follow the returned auth link to complete Datadog authentication
|
|
26
|
-
4. Confirm connection status shows ACTIVE before running any workflows
|
|
27
|
-
|
|
28
|
-
## Core Workflows
|
|
29
|
-
|
|
30
|
-
### 1. Query and Explore Metrics
|
|
31
|
-
|
|
32
|
-
**When to use**: User wants to query metric data or list available metrics
|
|
33
|
-
|
|
34
|
-
**Tool sequence**:
|
|
35
|
-
1. `DATADOG_LIST_METRICS` - List available metric names [Optional]
|
|
36
|
-
2. `DATADOG_QUERY_METRICS` - Query metric time series data [Required]
|
|
37
|
-
|
|
38
|
-
**Key parameters**:
|
|
39
|
-
- `query`: Datadog metric query string (e.g., `avg:system.cpu.user{host:web01}`)
|
|
40
|
-
- `from`: Start timestamp (Unix epoch seconds)
|
|
41
|
-
- `to`: End timestamp (Unix epoch seconds)
|
|
42
|
-
- `q`: Search string for listing metrics
|
|
43
|
-
|
|
44
|
-
**Pitfalls**:
|
|
45
|
-
- Query syntax follows Datadog's metric query format: `aggregation:metric_name{tag_filters}`
|
|
46
|
-
- `from` and `to` are Unix epoch timestamps in seconds, not milliseconds
|
|
47
|
-
- Valid aggregations: `avg`, `sum`, `min`, `max`, `count`
|
|
48
|
-
- Tag filters use curly braces: `{host:web01,env:prod}`
|
|
49
|
-
- Time range should not exceed Datadog's retention limits for the metric type
|
|
50
|
-
|
|
51
|
-
### 2. Search and Analyze Logs
|
|
52
|
-
|
|
53
|
-
**When to use**: User wants to search log entries or list log indexes
|
|
54
|
-
|
|
55
|
-
**Tool sequence**:
|
|
56
|
-
1. `DATADOG_LIST_LOG_INDEXES` - List available log indexes [Optional]
|
|
57
|
-
2. `DATADOG_SEARCH_LOGS` - Search logs with query and filters [Required]
|
|
58
|
-
|
|
59
|
-
**Key parameters**:
|
|
60
|
-
- `query`: Log search query using Datadog log query syntax
|
|
61
|
-
- `from`: Start time (ISO 8601 or Unix timestamp)
|
|
62
|
-
- `to`: End time (ISO 8601 or Unix timestamp)
|
|
63
|
-
- `sort`: Sort order ('asc' or 'desc')
|
|
64
|
-
- `limit`: Number of log entries to return
|
|
65
|
-
|
|
66
|
-
**Pitfalls**:
|
|
67
|
-
- Log queries use Datadog's log search syntax: `service:web status:error`
|
|
68
|
-
- Search is limited to retained logs within the configured retention period
|
|
69
|
-
- Large result sets require pagination; check for cursor/page tokens
|
|
70
|
-
- Log indexes control routing and retention; filter by index if known
|
|
71
|
-
|
|
72
|
-
### 3. Manage Monitors
|
|
73
|
-
|
|
74
|
-
**When to use**: User wants to create, update, mute, or inspect monitors
|
|
75
|
-
|
|
76
|
-
**Tool sequence**:
|
|
77
|
-
1. `DATADOG_LIST_MONITORS` - List all monitors with filters [Required]
|
|
78
|
-
2. `DATADOG_GET_MONITOR` - Get specific monitor details [Optional]
|
|
79
|
-
3. `DATADOG_CREATE_MONITOR` - Create a new monitor [Optional]
|
|
80
|
-
4. `DATADOG_UPDATE_MONITOR` - Update monitor configuration [Optional]
|
|
81
|
-
5. `DATADOG_MUTE_MONITOR` - Silence a monitor temporarily [Optional]
|
|
82
|
-
6. `DATADOG_UNMUTE_MONITOR` - Re-enable a muted monitor [Optional]
|
|
83
|
-
|
|
84
|
-
**Key parameters**:
|
|
85
|
-
- `monitor_id`: Numeric monitor ID
|
|
86
|
-
- `name`: Monitor display name
|
|
87
|
-
- `type`: Monitor type ('metric alert', 'service check', 'log alert', 'query alert', etc.)
|
|
88
|
-
- `query`: Monitor query defining the alert condition
|
|
89
|
-
- `message`: Notification message with @mentions
|
|
90
|
-
- `tags`: Array of tag strings
|
|
91
|
-
- `thresholds`: Alert threshold values (`critical`, `warning`, `ok`)
|
|
92
|
-
|
|
93
|
-
**Pitfalls**:
|
|
94
|
-
- Monitor `type` must match the query type; mismatches cause creation failures
|
|
95
|
-
- `message` supports @mentions for notifications (e.g., `@slack-channel`, `@pagerduty`)
|
|
96
|
-
- Thresholds vary by monitor type; metric monitors need `critical` at minimum
|
|
97
|
-
- Muting a monitor suppresses notifications but the monitor still evaluates
|
|
98
|
-
- Monitor IDs are numeric integers
|
|
99
|
-
|
|
100
|
-
### 4. Manage Dashboards
|
|
101
|
-
|
|
102
|
-
**When to use**: User wants to list, view, update, or delete dashboards
|
|
103
|
-
|
|
104
|
-
**Tool sequence**:
|
|
105
|
-
1. `DATADOG_LIST_DASHBOARDS` - List all dashboards [Required]
|
|
106
|
-
2. `DATADOG_GET_DASHBOARD` - Get full dashboard definition [Optional]
|
|
107
|
-
3. `DATADOG_UPDATE_DASHBOARD` - Update dashboard layout or widgets [Optional]
|
|
108
|
-
4. `DATADOG_DELETE_DASHBOARD` - Remove a dashboard (irreversible) [Optional]
|
|
109
|
-
|
|
110
|
-
**Key parameters**:
|
|
111
|
-
- `dashboard_id`: Dashboard identifier string
|
|
112
|
-
- `title`: Dashboard title
|
|
113
|
-
- `layout_type`: 'ordered' (grid) or 'free' (freeform positioning)
|
|
114
|
-
- `widgets`: Array of widget definition objects
|
|
115
|
-
- `description`: Dashboard description
|
|
116
|
-
|
|
117
|
-
**Pitfalls**:
|
|
118
|
-
- Dashboard IDs are alphanumeric strings (e.g., 'abc-def-ghi'), not numeric
|
|
119
|
-
- `layout_type` cannot be changed after creation; must recreate the dashboard
|
|
120
|
-
- Widget definitions are complex nested objects; get existing dashboard first to understand structure
|
|
121
|
-
- DELETE is permanent; there is no undo
|
|
122
|
-
|
|
123
|
-
### 5. Create Events and Manage Downtimes
|
|
124
|
-
|
|
125
|
-
**When to use**: User wants to post events or schedule maintenance downtimes
|
|
126
|
-
|
|
127
|
-
**Tool sequence**:
|
|
128
|
-
1. `DATADOG_LIST_EVENTS` - List existing events [Optional]
|
|
129
|
-
2. `DATADOG_CREATE_EVENT` - Post a new event [Required]
|
|
130
|
-
3. `DATADOG_CREATE_DOWNTIME` - Schedule a maintenance downtime [Optional]
|
|
131
|
-
|
|
132
|
-
**Key parameters for events**:
|
|
133
|
-
- `title`: Event title
|
|
134
|
-
- `text`: Event body text (supports markdown)
|
|
135
|
-
- `alert_type`: Event severity ('error', 'warning', 'info', 'success')
|
|
136
|
-
- `tags`: Array of tag strings
|
|
137
|
-
|
|
138
|
-
**Key parameters for downtimes**:
|
|
139
|
-
- `scope`: Tag scope for the downtime (e.g., `host:web01`)
|
|
140
|
-
- `start`: Start time (Unix epoch)
|
|
141
|
-
- `end`: End time (Unix epoch; omit for indefinite)
|
|
142
|
-
- `message`: Downtime description
|
|
143
|
-
- `monitor_id`: Specific monitor to downtime (optional, omit for scope-based)
|
|
144
|
-
|
|
145
|
-
**Pitfalls**:
|
|
146
|
-
- Event `text` supports Datadog's markdown format including @mentions
|
|
147
|
-
- Downtimes scope uses tag syntax: `host:web01`, `env:staging`
|
|
148
|
-
- Omitting `end` creates an indefinite downtime; always set an end time for maintenance
|
|
149
|
-
- Downtime `monitor_id` narrows to a single monitor; scope applies to all matching monitors
|
|
150
|
-
|
|
151
|
-
### 6. Manage Hosts and Traces
|
|
152
|
-
|
|
153
|
-
**When to use**: User wants to list infrastructure hosts or inspect distributed traces
|
|
154
|
-
|
|
155
|
-
**Tool sequence**:
|
|
156
|
-
1. `DATADOG_LIST_HOSTS` - List all reporting hosts [Required]
|
|
157
|
-
2. `DATADOG_GET_TRACE_BY_ID` - Get a specific distributed trace [Optional]
|
|
158
|
-
|
|
159
|
-
**Key parameters**:
|
|
160
|
-
- `filter`: Host search filter string
|
|
161
|
-
- `sort_field`: Sort hosts by field (e.g., 'name', 'apps', 'cpu')
|
|
162
|
-
- `sort_dir`: Sort direction ('asc' or 'desc')
|
|
163
|
-
- `trace_id`: Distributed trace ID for trace lookup
|
|
164
|
-
|
|
165
|
-
**Pitfalls**:
|
|
166
|
-
- Host list includes all hosts reporting to Datadog within the retention window
|
|
167
|
-
- Trace IDs are long numeric strings; ensure exact match
|
|
168
|
-
- Hosts that stop reporting are retained for a configured period before removal
|
|
169
|
-
|
|
170
|
-
## Common Patterns
|
|
171
|
-
|
|
172
|
-
### Monitor Query Syntax
|
|
173
|
-
|
|
174
|
-
**Metric alerts**:
|
|
175
|
-
```
|
|
176
|
-
avg(last_5m):avg:system.cpu.user{env:prod} > 90
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
**Log alerts**:
|
|
180
|
-
```
|
|
181
|
-
logs("service:web status:error").index("main").rollup("count").last("5m") > 10
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
### Tag Filtering
|
|
185
|
-
|
|
186
|
-
- Tags use `key:value` format: `host:web01`, `env:prod`, `service:api`
|
|
187
|
-
- Multiple tags: `{host:web01,env:prod}` (AND logic)
|
|
188
|
-
- Wildcard: `host:web*`
|
|
189
|
-
|
|
190
|
-
### Pagination
|
|
191
|
-
|
|
192
|
-
- Use `page` and `page_size` or offset-based pagination depending on endpoint
|
|
193
|
-
- Check response for total count to determine if more pages exist
|
|
194
|
-
- Continue until all results are retrieved
|
|
195
|
-
|
|
196
|
-
## Known Pitfalls
|
|
197
|
-
|
|
198
|
-
**Timestamps**:
|
|
199
|
-
- Most endpoints use Unix epoch seconds (not milliseconds)
|
|
200
|
-
- Some endpoints accept ISO 8601; check tool schema
|
|
201
|
-
- Time ranges should be reasonable (not years of data)
|
|
202
|
-
|
|
203
|
-
**Query Syntax**:
|
|
204
|
-
- Metric queries: `aggregation:metric{tags}`
|
|
205
|
-
- Log queries: `field:value` pairs
|
|
206
|
-
- Monitor queries vary by type; check Datadog documentation
|
|
207
|
-
|
|
208
|
-
**Rate Limits**:
|
|
209
|
-
- Datadog API has per-endpoint rate limits
|
|
210
|
-
- Implement backoff on 429 responses
|
|
211
|
-
- Batch operations where possible
|
|
212
|
-
|
|
213
|
-
## Quick Reference
|
|
214
|
-
|
|
215
|
-
| Task | Tool Slug | Key Params |
|
|
216
|
-
|------|-----------|------------|
|
|
217
|
-
| Query metrics | DATADOG_QUERY_METRICS | query, from, to |
|
|
218
|
-
| List metrics | DATADOG_LIST_METRICS | q |
|
|
219
|
-
| Search logs | DATADOG_SEARCH_LOGS | query, from, to, limit |
|
|
220
|
-
| List log indexes | DATADOG_LIST_LOG_INDEXES | (none) |
|
|
221
|
-
| List monitors | DATADOG_LIST_MONITORS | tags |
|
|
222
|
-
| Get monitor | DATADOG_GET_MONITOR | monitor_id |
|
|
223
|
-
| Create monitor | DATADOG_CREATE_MONITOR | name, type, query, message |
|
|
224
|
-
| Update monitor | DATADOG_UPDATE_MONITOR | monitor_id |
|
|
225
|
-
| Mute monitor | DATADOG_MUTE_MONITOR | monitor_id |
|
|
226
|
-
| Unmute monitor | DATADOG_UNMUTE_MONITOR | monitor_id |
|
|
227
|
-
| List dashboards | DATADOG_LIST_DASHBOARDS | (none) |
|
|
228
|
-
| Get dashboard | DATADOG_GET_DASHBOARD | dashboard_id |
|
|
229
|
-
| Update dashboard | DATADOG_UPDATE_DASHBOARD | dashboard_id, title, widgets |
|
|
230
|
-
| Delete dashboard | DATADOG_DELETE_DASHBOARD | dashboard_id |
|
|
231
|
-
| List events | DATADOG_LIST_EVENTS | start, end |
|
|
232
|
-
| Create event | DATADOG_CREATE_EVENT | title, text, alert_type |
|
|
233
|
-
| Create downtime | DATADOG_CREATE_DOWNTIME | scope, start, end |
|
|
234
|
-
| List hosts | DATADOG_LIST_HOSTS | filter, sort_field |
|
|
235
|
-
| Get trace | DATADOG_GET_TRACE_BY_ID | trace_id |
|
|
18
|
+
Install MCP skills with: cbx workflows install --include-mcp
|