Build a coding agent that uses GitHub + Sentry MCPs
When to use: You want a programmable agent, not a chat session.
Prerequisites
- Node 20+ — Standard
- MCP endpoints for the tools you want (github, sentry, etc.) — Either existing public or your own deploys
Flow
-
Install + scaffoldnpm install @volcano.dev/agent and write a minimal agent that connects to github + sentry MCPs with Anthropic as the model.✓ Copied→ 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.✓ Copied→ Agent executes task autonomously
-
InstrumentEnable OTel traces and pipe to Honeycomb/Grafana.✓ Copied→ Spans visible
Outcome: A production-ready automation agent with observability.
Pitfalls
- 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