Build a coding agent that uses GitHub + Sentry MCPs
Когда использовать: You want a programmable agent, not a chat session.
Предварительные требования
- Node 20+ — Standard
- MCP endpoints for the tools you want (github, sentry, etc.) — Either existing public or your own deploys
Поток
-
Install + scaffoldnpm install @volcano.dev/agent and write a minimal agent that connects to github + sentry MCPs with Anthropic as the model.✓ Скопировано→ Running TS project
-
Write the taskThe agent's task: every 15 min, find new Sentry errors, correlate to GitHub commits via MCP, draft revert PRs for the obvious ones.✓ Скопировано→ Agent executes task autonomously
-
InstrumentEnable OTel traces and pipe to Honeycomb/Grafana.✓ Скопировано→ Spans visible
Итог: A production-ready automation agent with observability.
Подводные камни
- Agent hallucinates tool calls that don't exist — Restrict the MCP set passed to the agent; fewer, well-documented tools > more
- Retries amplify transient upstream issues — Tune retry policy and add exponential backoff