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