Claude Code + UnfoldAI
Claude Code is a terminal-based AI coding agent by Anthropic. UnfoldAI provides full monitoring of Claude Code sessions and offers deep integration through the MCP server.
Monitoring (Automatic)
UnfoldAI automatically detects Claude Code activity — no configuration required. When Claude Code runs commands or modifies files, UnfoldAI tracks everything in the Dashboard and Activity Feed.
MCP Integration (Recommended)
The deepest integration is through UnfoldAI's MCP server, which lets Claude Code query your monitoring data during its sessions.
Setup
-
Enable MCP in UnfoldAI:
{ "unfoldai.mcp.enabled": true } -
Run
UnfoldAI: Register MCP Serverfrom the Command Palette -
Add to your Claude Code MCP config:
{
"mcpServers": {
"unfoldai": {
"command": "node",
"args": ["<extension-path>/dist/mcp/mcpServer.js"]
}
}
}
What Claude Code Can Do With UnfoldAI
Once connected, Claude Code can use these MCP tools:
- Check risk signals before making decisions
- Search playbooks when it encounters familiar errors
- Review session state to understand workspace context
- Access run reports to self-review before committing
Example Instructions
You can add instructions to your Claude Code configuration to use UnfoldAI proactively:
When encountering errors, use the unfoldai search_playbooks tool
to check if this issue has been solved before.
Before completing a task, use get_risk_signals to verify the
workspace is in a healthy state.