Appearance
Agent Setup Guide
This guide explains how to set up AI coding agents to work with the responsible-vibe-mcp server.
Overview
The responsible-vibe-mcp server requires proper integration with an AI coding agent. The agent needs:
- System Prompt Configuration: Instructions on how to use the MCP tools
- MCP Server Connection: Configuration to connect to the responsible-vibe-mcp server
- Tool Permissions: Access to call the necessary MCP tools
Quick Setup (Recommended)
Use the automated configuration generator for your preferred agent:
Amazon Q CLI
bash
npx responsible-vibe-mcp --generate-config amazonq-cliCreates: .amazonq/cli-agents/vibe.json
Claude Code
bash
npx responsible-vibe-mcp --generate-config claudeCreates: CLAUDE.md, .mcp.json, settings.json
Gemini CLI
bash
npx responsible-vibe-mcp --generate-config geminiCreates: settings.json, GEMINI.md
OpenCode CLI
bash
npx responsible-vibe-mcp --generate-config opencodeCreates: opencode.json
Limitation: Until #1961 is resolved, permissions to ask the user before executing proceed_to_phase will not be respected. Thus, RV MCP in OpenCode is currently a bit ... stressful
Manual Setup
If you prefer manual configuration or use a different agent:
Step 1: Get the System Prompt
bash
npx responsible-vibe-mcp --system-promptCopy the output and configure it in your AI agent as the system prompt or rules.
Step 2: Configure MCP Server Connection
Add the responsible-vibe-mcp server to your agent's MCP configuration:
For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
json
{
"mcpServers": {
"responsible-vibe-mcp": {
"command": "npx",
"args": ["responsible-vibe-mcp"]
}
}
}For Amazon Q (.amazonq/mcp.json):
json
{
"mcpServers": {
"responsible-vibe-mcp": {
"command": "npx",
"args": ["responsible-vibe-mcp"]
}
}
}Step 3: Configure Tool Permissions
Ensure your agent has permission to call these essential tools:
whats_nextstart_developmentproceed_to_phaseconduct_reviewlist_workflowsget_tool_info
Agent-Specific Instructions
Amazon Q CLI
Automated Setup:
bash
npx responsible-vibe-mcp --generate-config amazonq-cliManual Setup:
- Create
.amazonq/cli-agents/vibe.json:
json
{
"name": "Vibe Development Assistant",
"systemPrompt": "[paste system prompt here]",
"mcpServers": {
"responsible-vibe-mcp": {
"command": "npx",
"args": ["responsible-vibe-mcp"]
}
},
"allowedTools": [
"responsible-vibe-mcp___whats_next",
"responsible-vibe-mcp___start_development",
"responsible-vibe-mcp___proceed_to_phase",
"responsible-vibe-mcp___conduct_review",
"responsible-vibe-mcp___list_workflows",
"responsible-vibe-mcp___get_tool_info"
]
}- Use the agent:
bash
q chat --agent vibeClaude Desktop
Automated Setup:
bash
npx responsible-vibe-mcp --generate-config claudeManual Setup:
- Add system prompt to Claude's custom instructions
- Configure MCP server in
claude_desktop_config.json - Restart Claude Desktop
Claude Code (VS Code Extension)
Automated Setup:
bash
npx responsible-vibe-mcp --generate-config claudeManual Setup:
- Create
.mcp.jsonwith server configuration - Create
CLAUDE.mdwith system prompt as rules - Configure VS Code settings if needed
Gemini CLI
Automated Setup:
bash
npx responsible-vibe-mcp --generate-config geminiManual Setup:
- Configure system prompt in Gemini settings
- Set up MCP server connection
- Ensure tool permissions are granted
OpenCode CLI
Automated Setup:
bash
npx responsible-vibe-mcp --generate-config opencodeManual Setup:
- Create
opencode.jsonwith MCP server configuration - System prompt is automatically provided via MCP
- Tool permissions are configured to prevent automatic phase transitions
Custom Project Path
To use a different project directory, set the PROJECT_PATH environment variable:
json
{
"mcpServers": {
"responsible-vibe-mcp": {
"command": "npx",
"args": ["responsible-vibe-mcp"],
"env": {
"PROJECT_PATH": "/path/to/your/project"
}
}
}
}Verification
After setup, verify the integration works:
- Start a conversation with your AI agent
- Ask for development help: "Help me implement a new feature"
- Check for tool calls: The agent should automatically call
whats_next() - Verify plan file creation: Look for
.vibe/development-plan-*.mdfiles
Troubleshooting
Common Issues
Agent doesn't call MCP tools:
- Verify system prompt is configured correctly
- Check MCP server connection in agent settings
- Ensure tool permissions are granted
"Tool not found" errors:
- Verify MCP server is running (
npx responsible-vibe-mcpworks) - Check server configuration in agent settings
- Restart your agent/IDE
System prompt not working:
- Use exact output from
--system-promptcommand - Don't modify the system prompt text
- Ensure it's configured as system prompt, not user message
Project path issues:
- Verify
PROJECT_PATHenvironment variable if using custom path - Ensure the path exists and is writable
- Check file permissions
Getting Help
- Check server status: Run
npx responsible-vibe-mcpdirectly to test - Verify configuration: Use
--generate-configto create fresh config - Review logs: Check your agent's logs for MCP-related errors
- Test with MCP Inspector: Use
npx @modelcontextprotocol/inspectorfor debugging
Advanced Configuration
Multiple Projects
You can set up different configurations for different projects by using different PROJECT_PATH values or creating separate agent configurations.
Custom Workflows
If you have custom workflows in .vibe/workflow.yaml, the system will automatically detect and use them.
Development vs Production
For development/testing, you can run the MCP server directly:
bash
npx responsible-vibe-mcpFor production use, the agent will automatically spawn the server as needed.
Next Steps
Once your agent is set up:
- Read How It Works to understand the development flow
- Try a simple feature: Ask your agent to help implement something small. You can follow along the tutorial or make yourself familiar with more features how Responsible Vibe MCP helps engineering.
- Explore workflows: Use
list_workflowsto see available development approaches or look at the graphical visualizer