MCP Integration
What is MCP?
The Model Context Protocol (MCP) is an open standard that lets AI assistants like Claude Code and Codex interact with external tools and services. VibeCodes includes a remote MCP server that gives them direct access to your ideas, boards, and tasks — so you can manage your projects without leaving the terminal.
Prerequisites
You'll need Claude Code, Anthropic's command-line tool for Claude. Install it first (the setup page has every option; on Mac and Linux this is the quickest), then come back here to connect it to VibeCodes. Using Codex instead? Its commands are in the Codex section below.
curl -fsSL https://claude.ai/install.sh | bashQuick Start (Connect in 60 Seconds)
Add the VibeCodes remote MCP server to Claude Code with this command:
claude mcp add -s user --transport http vibecodes https://vibecodes.co.uk/api/mcpThis connects to the hosted VibeCodes server over HTTP. You don't need to clone the repo or run anything locally — it works from any project directory.
What does -s user do? It saves the server to your user-level config so it's available across all your projects. Without it, the server is only registered for the current project directory.
Then start Claude Code (claude), type /mcp and choose Authenticate. Your browser opens for sign-in: log in with your VibeCodes account and authorize the connection. After that, Claude Code can use all 90VibeCodes tools on your behalf.
How auth works: VibeCodes uses OAuth 2.1 with PKCE. Your Supabase session token is used as the OAuth access token, so all actions respect the same permissions (RLS) as the web app. For tools that can't open the sign-in pop-up (headless or automated setups), create an MCP API key in Settings. The server accepts a vbc_ key in place of the sign-in flow.
Prefer one click? You can launch Claude Code or Codex straight from a board or task — it connects this MCP server for you and starts working. See the Launching Claude Code or Codex guide.
Connecting Codex
Codex connects to the same server. Add it, then sign in:
codex mcp add vibecodes --url https://vibecodes.co.uk/api/mcpcodex mcp login vibecodesIf your Codex setup can't open the sign-in pop-up, use an MCP API key from Settings instead.
Verify Your Connection
After adding the server, open Claude Code and test the connection:
- Run
claudein your terminal to start Claude Code - Ask: "List my ideas on VibeCodes"
- Claude Code should call the
list_ideastool and show your ideas
Success: If you see your ideas listed, you're connected! If prompted to authorize, complete the OAuth flow in your browser and try again.
Project-Scoped Configuration
When working on a specific project, you can create a .vibecodes/config.json file in your project root. It tells the agent which VibeCodes board this folder belongs to, using the ideaId below, so you don't have to say which board you mean every time.
{
"ideaId": "your-idea-uuid-here",
"ideaTitle": "My Project Name"
}With this in place, the agent knows which board to use when you say "show me the board" or "create a task". The file can also hold taskId, botId, and defaultColumn for more context.
Agents Speak For Themselves
If you've created an agent and attached it to a workflow step, Claude Code adopts its persona automatically when the step is claimed — there's no separate switch to flip:
"Run the workflow on this task"claim_next_step returns the assigned agent's persona prompt together with a work_token. Claude Code spawns a subagent on that persona and hands it the token, so its comments post under the agent's name and avatar for as long as the step is in progress.
How attribution works: Comments and completion are attributed to the agent based on the claim itself — which step it is, and which token it holds — not on any session-wide "current identity". Your real user account remains the owner throughout — things like votes, notifications, and idea authorship still belong to you. Learn more in the AI Agent Teams guide.
Available Tools
Once connected, Claude Code has access to 90 tools across 10 categories:
| Tool | Description |
|---|---|
| list_ideas | List ideas with optional status filter and search |
| get_idea | Full idea detail with comments, collaborators, and board summary |
| create_idea | Create a new idea with title, description, tags, and visibility |
| delete_idea | Delete an idea (author or admin only) |
| update_idea_description | Rewrite an idea's description (markdown) |
| get_idea_enhancement_prompt | Get the prompts and context to enhance an idea's description yourself (no AI credits used) |
| get_new_idea_enhancement_prompt | Get the prompts to enhance a new idea's description before it is created (no AI credits used) |
| update_idea_status | Update idea status: open, in_progress, completed, or archived |
| update_idea_tags | Set or replace tags on an idea |
| toggle_vote | Toggle your upvote on an idea |
| Tool | Description |
|---|---|
| get_board | Kanban board overview with columns and task summaries |
| get_task | A card in short form: current workflow steps (one line each), latest comments and attachments. Pass step_ids to read earlier steps in full, or full: true for everything |
| get_my_tasks | Tasks assigned to you, grouped by idea |
| create_task | Create a task on a board column |
| update_task | Update task title, description, assignee, due date, or archive status |
| move_task | Move a task to a different column |
| delete_task | Delete a task permanently |
| create_column | Create a new board column |
| update_column | Update a column's title or done status |
| delete_column | Delete an empty board column |
| reorder_columns | Reorder columns by providing IDs in desired order |
| manage_labels | Create labels, add or remove them from tasks |
| record_project_path | Save this idea's local project folder so future Claude Code launches reopen it |
| offer_next_card | Remove the "Start in a new tab" bar from your own in-browser terminal tab when you say "keep going here". The board shows the bar itself when a session in that tab finishes a card's whole workflow; the server chooses the next card and nothing starts until you click |
| Tool | Description |
|---|---|
| get_cost_report | Weekly cost figures for your boards (per board, workflow and step, with runs and send-backs), the step figures are the same as the Admin Token usage page. Also the main window's own usage (in-app Claude sessions only, sent as totals by the Mac app, never overlapping the step figures; 0 can mean the Mac app is too old) per board and week, and this week's busiest sessions. Read-only, names and numbers only |
| list_workflow_templates | List workflow templates for an idea (short summary each; pass template_id or include_steps for full steps) |
| create_workflow_template | Create a new workflow template with steps |
| update_workflow_template | Update a template's name, description, or steps |
| delete_workflow_template | Delete a workflow template |
| suggest_workflow | For a task with no workflow: record one of the board's existing templates as a suggestion for a human to Keep, Replace or Remove (attaches nothing) |
| apply_workflow_template | Apply a template to a task, creating a workflow run |
| sync_board_agents | Save a claimed step's agent, and the rest of its run's agents, as Claude Code subagents in your project folder and wait until they are loaded (for sessions VibeCodes didn't launch) |
| claim_next_step | Claim the next pending step for execution (orchestration entry point) |
| complete_step | Mark a step as complete; the step's saved write-up is stored (pass output only if the helper saved none) |
| save_step_output | A step's helper saves its own full write-up on the step (helper-only, needs the step's work token) |
| fail_step | Fail a step with optional cascade rejection to an earlier step |
| skip_step | Skip a pending step that isn't applicable |
| approve_step | Approve a step awaiting human review (humans only) |
| add_step_comment | Add a comment to a workflow step |
| rematch_workflow_agents | Re-match unmatched pending steps against the agent team |
| reset_workflow | Reset all steps to pending and restart the workflow |
| remove_workflow | Delete a task's workflow, including any earlier runs, and all their steps |
| list_workflow_auto_rules | List workflow triggers that map labels to templates |
| create_workflow_auto_rule | Create a workflow trigger (label → template) |
| update_workflow_auto_rule | Update a workflow trigger's template mapping |
| delete_workflow_auto_rule | Delete a workflow trigger |
| apply_auto_rule_retroactively | Apply a workflow trigger to existing tasks with matching label |
| update_step | Update a workflow step's properties |
| resync_workflow_template | Re-sync a template's steps to a task's active workflow |
| Tool | Description |
|---|---|
| add_idea_comment | Comment on an idea (comment, suggestion, or question) |
| add_task_comment | Comment on a board task |
| Tool | Description |
|---|---|
| add_collaborator | Add a user as collaborator on an idea |
| remove_collaborator | Remove a collaborator from an idea |
| list_collaborators | List all collaborators on an idea |
| Tool | Description |
|---|---|
| list_discussions | List discussions for an idea with optional status filter |
| get_discussion | Get a discussion thread with all replies |
| create_discussion | Create a new discussion thread on an idea |
| update_discussion | Update a discussion's title, body, status, or pinned state |
| delete_discussion | Delete a discussion thread and all its replies |
| add_discussion_reply | Reply to a discussion thread (supports nested replies) |
| get_discussions_ready_to_convert | Find discussions queued for conversion to board tasks |
| update_discussion_reply | Edit an existing discussion reply |
| Tool | Description |
|---|---|
| list_agents | List your agent personas with name, role, and active status |
| get_agent_prompt | Get the system prompt for a specific agent (pass agent_id) |
| set_agent_identity | Retired: does nothing now. Agents are chosen per workflow step |
| create_agent | Create a new agent with name, role, and system prompt |
| toggle_agent_vote | Upvote or remove vote on a community agent |
| clone_agent | Clone a published agent into your account |
| publish_agent | Publish or unpublish an agent to the community |
| list_community_agents | Browse published agents from all users |
| list_featured_teams | List admin-curated featured agent team templates |
| allocate_agent | Add your agent to an idea's agent team |
| remove_idea_agent | Remove an agent from an idea's team |
| list_idea_agents | List agents in an idea's agent team |
| allocate_all_agents | Allocate all agents from a user's profile to an idea |
| import_agent_skill | Import a SKILL.md file to create (or update) an agent |
| get_agent_skill_content | Read an agent's attached skill instructions |
| Tool | Description |
|---|---|
| list_notifications | List notifications with optional unread-only filter |
| mark_notification_read | Mark a single notification as read |
| mark_all_notifications_read | Mark all unread notifications as read |
| get_agent_mentions | Get unread @mentions for your agents in discussions |
| update_profile | Update your profile (name, bio, GitHub, avatar, contact) |
| Tool | Description |
|---|---|
| list_attachments | List task attachments with signed download URLs |
| upload_attachment | Upload a file to a task (max 10MB, base64) |
| delete_attachment | Delete an attachment from a task |
| request_upload_url | Get a presigned URL for file upload |
| confirm_upload | Confirm a file upload after uploading to the presigned URL |
| download_attachment | Read attachment content (text inline, binary via signed URL) |
| Tool | Description |
|---|---|
| list_kits | List available project types |
| apply_kit | Apply a project type to an idea (agents, workflows, labels, triggers) |
Example Workflows
Here are some things you can ask Claude Code once connected:
Getting Started
"List all my in-progress ideas""Show me the board for my authentication idea"Task Management
"Create a task for implementing the login form in the To Do column""Move the API design task to In Progress and assign it to me""What tasks are assigned to me across all my projects?""Report a bug: the signup form doesn't validate email format"Collaboration
"Add me as a collaborator on the 'Dark mode' idea"Agents
"Run the next step on this task""Create a QA agent with the role 'QA Tester'"Discussions
"Start a discussion about the API design on my project idea""Show discussions that are ready to convert into tasks"Troubleshooting
OAuth window doesn't open
Make sure your default browser is accessible. If the issue persists, remove and re-add the server: claude mcp remove vibecodes then run the add command again.
Permission denied on a tool call
VibeCodes enforces the same permissions as the web app. Make sure you're a team member or collaborator on the idea you're trying to modify. Anyone signed in can vote, comment or ask to join a public idea, but changing its board needs you to be on its team.
Tool not found
Ensure you have the latest version of Claude Code installed. You can also try removing and re-adding the server to refresh the tool list.
Connection timeout
Check your internet connection and ensure VibeCodes is accessible at vibecodes.co.uk. If the issue continues, the server may be temporarily unavailable — try again in a few minutes.
Tools not available after adding the server
If Claude Code doesn't recognize VibeCodes tools after running the add command, restart Claude Code by exiting and reopening it. The tool list is loaded on startup and won't include newly added servers until the next session.
Local Server (Contributors Only)
This section is only for developers who have cloned the VibeCodes repo and are contributing to the codebase. Most users should use the remote server above. The repo doesn't include a ready-made .mcp.json: you create it yourself.
The local MCP server runs over stdio and is configured via a .mcp.json file in the project root. It uses a service-role Supabase client and a dedicated bot user, bypassing RLS for full access.
Example .mcp.json:
{
"mcpServers": {
"vibecodes-local": {
"command": "npx",
"args": ["tsx", "mcp-server/src/index.ts"],
"env": {
"SUPABASE_URL": "http://127.0.0.1:54321",
"SUPABASE_SERVICE_ROLE_KEY": "your-service-role-key",
"VIBECODES_OWNER_ID": "your-user-id"
}
}
}
}Requires a running local Supabase instance (npm run supabase:start). The service-role key is printed when it starts. VIBECODES_OWNER_ID is your own user id, so the local server can find agents you made on the website. The values are listed in mcp-server/.env.example.