# vibemap-mcp [Health: Active]

**Category:** 📋 Product Management  
**Repository:** https://github.com/AshMet/vibemap-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 467  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/vibemap-mcp

## Description
Load & create VibeMap product specs from your coding agent; sync build progress.

## Tools
Capabilities this server exposes over MCP:

- **vibemap_list_projects** — List all VibeMap projects for the authenticated user. Returns project IDs, names, descriptions, and status.
- **vibemap_create_project** — Create a new VibeMap project. Use this when starting from an existing codebase — create the project first, then call vibemap_analyze_codebase with the returned project ID.
- **vibemap_get_project_context** — Retrieve the full context of a VibeMap project including features, user stories, personas, pages, and database schema. Use this before building a feature to understand all the specs.
- **vibemap_get_atomic_blueprint** — Retrieve a code-shaped atomic blueprint of a VibeMap project — relationships hydrated, Kanban metadata stripped, with synthesized interactions and entity state machines. It covers the WHOLE project and can be very large on big projects (on the order of 150K tokens), so use it for one-off whole-project work such as an initial scaffold or an audit. While building a ticket, do not fetch it: call vibemap_get_criterion_context for the criterion you are working on instead, which returns only what that criterion needs, in a few thousand tokens. For general reading prefer vibemap_get_project_context.
- **vibemap_list_access_rules** — List a VibeMap project's access-control rules: table-level rules (per persona/role, with can_select/insert/update/delete and structured op_conditions predicates like "own rows only") and page-level rules (can_view/create_content/edit/delete with predicates), plus an advisory reconciliation summary flagging page↔table drift. Use this to generate correct RLS policies and route/UI authorization — the atomic blueprint only carries page-level conditions, so call this for table-level (RLS) access control.
- **vibemap_get_review_plan** — Get the ordered list of what stands between a VibeMap project and being ready to build — the same walkthrough the Prepare map shows the user and the same one the in-app agent's briefs come from. Findings on their own are an unordered set, so use this instead of inventing your own priority: steps are grouped by finding kind, ordered so a fix never invalidates earlier work (access → data → surfaces → behaviour → detail → reconcile), and each carries why it matters, which map nodes it concerns, and how it is resolved (action.kind: fix | generate | reconcile | propose | navigate — `fix` and `generate` are automatic, `reconcile` and `propose` produce a change a human approves, `navigate` is a link with no automatic action). Check sources_failed — a non-empty list means some checks did not run, so an empty plan is NOT a clean bill of health. Read-only.
- **vibemap_list_changesets** — List a VibeMap project's version-control changesets (most recent first) with a per-changeset op count. Every write you make through this server is wrapped in a changeset, so use this to see the changesets your own edits produced, audit who/what changed the project, or review recent edit history. Pass includeOps=true to inline each changeset's individual operations (entity_type, op, diff).
- **vibemap_get_page_source** — Retrieve a VibeMap page's generated source code so you can pull it straight into a repo. Returns the page's own source_code plus the source_code of each of its sections. Use this to export a generated page into your codebase instead of copy-pasting.
- **vibemap_create_persona** — Create a user persona in a VibeMap project. Personas are the cast of users the spec is written for — author them FIRST, then reference each persona's role (userRole) when writing user stories. Match the depth VibeMap's own generator produces: fill the structured blocks so the persona is rich and semantically searchable, not just a name. Existing personas are visible via vibemap_get_project_context — enrich, don't duplicate. All params are camelCase.
- **vibemap_create_page** — Create a page/screen in a VibeMap project's page inventory. Author pages after features, stories, and criteria to capture the app's screens and routes. Existing pages are visible via vibemap_get_project_context — enrich, don't duplicate.
- **vibemap_create_schema** — Persist a VibeMap project's database schema — tables, columns, and relationships — in one call. Author this LAST, after the rest of the spec exists, grounded on the spec (idea-first) or the codebase's models/migrations (code-first). One table per domain entity; give every table an `id` primary key and created_at/updated_at; set real Postgres column types + constraints; express foreign keys via each column's `foreignKey` (relationships auto-derive from these, so `relationships` is optional); add junction tables for many-to-many. All params are camelCase (this IS VibeMap's SchemaJSON). Existing schema is visible via vibemap_get_project_context (dbSchema) — the server keyed-reconciles, so re-running is safe. Table/page access rules are handled by the separate access-rules flow, not here.
- **vibemap_agent** — Drive VibeMap's full conversational agent for one turn — the same brain as the in-app agent sidebar, entered through MCP. Give it a natural-language `message` (ask a question, or request a change like 'add a persona for admins', 'generate user stories for the billing feature', 'rename the Orders page'). This is METERED: it runs on VibeMap's own models and draws down the project owner's VibeMap token budget — unlike the granular create_*/list_* tools, which run on your agent and are unmetered. Use it when you want VibeMap to do the thinking; use the granular tools when your own agent authors content. CONFIRMATION (two calls): a destructive or sensitive request (deletes, permission changes, paid pipelines) replies with `confirmationRequired: true`, a human-readable `plan`, and an `operationId` — show the plan to the user, then approve with a second call `{ projectId, approveOperationId }` (or `{ projectId, approve: true }`, or a natural 'yes'). Nothing changes until you approve. ASYNC: turns that kick off a generation (features, user stories, schema, business case, …) reply with `generationStarted: true` and start a background job — poll it with vibemap_get_generation_status, then read results with the list_* tools. MEMORY: omit `sessionId` and the agent auto-threads history per project across calls; pass back the `sessionId` from a prior reply to pin a thread.
- **vibemap_list_features** — List features for a VibeMap project. Supports filtering by status, priority, category, and search. Returns paginated results.
- **vibemap_create_feature** — Create a new feature in a VibeMap project. Use this when reverse-engineering a codebase to register discovered capabilities.
- **vibemap_update_feature** — Update an existing feature's fields or status in VibeMap. For spec authoring only: while building a ticket, use vibemap_propose_spec_change instead, so a person reviews the change.
- **vibemap_list_user_stories** — List user stories for a project or feature. Filter by status, priority. Returns paginated results with full story detail.
- **vibemap_create_user_story** — Create a new user story inside a VibeMap feature. Provide the user role, action, and expected outcome.
- **vibemap_update_user_story** — Update an existing user story's fields or status in VibeMap. For spec authoring only: while building a ticket, use vibemap_propose_spec_change instead, so a person reviews the change.
- **vibemap_list_acceptance_criteria** — List acceptance criteria for a story, feature, or project. Returns BDD-formatted criteria (Given/When/Then) with their current status. Status is read-only here: it only moves through the claim, report-progress, submit-for-review and block/unblock tools, and a criterion is marked passed or failed by CI or a human reviewer, never by the agent that built it.
- **vibemap_create_acceptance_criterion** — Create a new acceptance criterion for a user story in BDD format (Given/When/Then). Use this to flesh out what 'done' means for a story before or during implementation. You can call this multiple times to add multiple scenarios (happy path, error cases, edge cases) to the same story. New criteria always start as drafts; they become available to build once the spec is approved.
- **vibemap_update_acceptance_criterion** — Update the content of an acceptance criterion (Given/When/Then, description, scenario category). This tool does not change status. To work on a criterion use vibemap_claim_criterion (or vibemap_claim_story), then vibemap_report_progress, then vibemap_submit_for_review when your code satisfies it; CI or a human reviewer decides whether it passes. For spec authoring only: while building a ticket, use vibemap_propose_spec_change instead, so a person reviews the change.
- **vibemap_update_kanban_status** — [DEPRECATED — use the typed transition tools (claim, report_progress, submit_for_review, resolve_review, block, unblock) instead. This tool will be removed in a future release.] Atomically advance or update the kanban status of a feature or user story. Validates allowed state transitions and prevents invalid moves. Works for features and user stories only. Acceptance criteria cannot be moved with this tool: use vibemap_claim_criterion, vibemap_report_progress, vibemap_submit_for_review, vibemap_block_criterion and vibemap_unblock_criterion, which record who moved what and why.

Feature stages: draft → open → in_progress → completed
Story stages: draft → has_criteria → open → in_progress → completed
- **vibemap_get_kanban_board** — Get a real-time kanban board view of a project grouped by status columns. Shows features with their stories nested underneath. Ideal for an IDE agent to understand what's planned, in progress, and done.
- **vibemap_get_next_ready_criterion** — Get the next acceptance criterion to work on for the given project, plus the other ready criteria of the same story (`bundle`) so the whole story can be built together. When nothing can be claimed, `criterion` is null and `reason` says why (for example awaiting approval, awaiting review, failed and needing rework, blocked, or everything passed), with `blocking` listing the criteria behind it. `skipped_sprints` lists earlier sprints that still have leftovers waiting on a person or CI. Pass releaseId to scope the answer to one release.
- **vibemap_claim_criterion** — Atomically claim an acceptance criterion for implementation. Transitions ready → in_progress. Returns 409 (race) if another agent already claimed it.
- **vibemap_report_progress** — Report what you are doing on a criterion you have claimed, without changing its status. This is the heartbeat the board shows live: call it at every phase change (planning, writing_test, implementing, running_tests, waiting_ci) and at least every 3 minutes while working. Optionally attach your step plan, the files you have touched and the latest test counts.
- **vibemap_submit_for_review** — Submit completed work for review. Transitions in_progress -> in_review. Requires the commit SHA, the files you changed and the named tests that prove the criterion (each test name should start with the criterion's code, for example `[AC-042] rejects an empty title`). A passing local run does not finish the criterion: CI (or a person) decides, and only a passing CI run marks it verified.
- **vibemap_resolve_review** — Resolve a criterion in review. Transitions in_review → passed | failed. NOTE: agents (env_token:agent) cannot self-resolve their own work — this tool requires a CI-scoped token (env_token:ci) or a session user.
- **vibemap_block_criterion** — Mark a criterion as blocked. Transitions any-active-status → blocked. Use this when external dependency or an environmental issue prevents progress. For an unclear spec, prefer vibemap_ask_user, which also files a question for a person to answer.
- **vibemap_unblock_criterion** — Unblock a criterion. Transitions blocked → prior_status (recorded when block was set; defaults to ready).
- **vibemap_list_kanban_events** — List kanban transition events for a project, newest first. Use `since` to fetch only events after a timestamp (for reconnect-backfill).
- **vibemap_claim_story** — Claim every claimable acceptance criterion of one story in a single call, so the whole story is built together. The response lists what was claimed, what was skipped and why, and a context pack for each claimed criterion (the same pack vibemap_get_criterion_context returns). All or nothing: if another agent wins a race, nothing is left claimed by this call. Packs that do not fit are listed as omitted; fetch them one by one.
- **vibemap_get_criterion_context** — Get everything needed to build one acceptance criterion, in a few thousand tokens: the criterion, its story and feature, the pages and interactions it touches, the data entities, access rules, related code and conventions. Use this during a build instead of the whole-project blueprint. The pack carries a `spec_seq` (pass it to vibemap_submit_for_review) and an etag, so re-checking mid-build is cheap.
- **vibemap_get_execution_plan** — Get the build order for a project: acceptance criteria grouped by sprint in dependency order, each with its state (ready, blocked, passed, and so on). Use it once at the start of a build session to see the whole route. Pass releaseId to plan only one release's new and modified work.
- **vibemap_rework_criterion** — Send a criterion that failed review back to ready so you can build it again. Only the agent that built it can do this. The failing review's feedback (the failed test names and notes) is attached to the event and is also in the evidence history, so read it before you start. Then claim the criterion again.
- **vibemap_get_criterion_evidence** — Get the submission history of a criterion: every attempt with the files changed, the named tests and the verdict, newest first. Use it after a failure to see which tests failed.
- **vibemap_ask_user** — Ask the project's owner a question when the spec is unclear. This blocks the criterion (category spec_unclear) and shows the question on the board, with your suggested options if you give any. Keep working on other ready criteria while you wait, then call vibemap_get_answers to collect the reply; once a person answers, the criterion is unblocked automatically.
- **vibemap_get_answers** — Collect the answers to questions you asked with vibemap_ask_user. Returns each answer for the criterion, and `waiting: true` while a question is still open. Pass `since` (ISO timestamp, for example the time you asked) to return only answers given after it.
- **vibemap_get_spec_delta** — See what changed in the spec since a sequence number (the `spec_seq` in your context pack), and which criteria that affects. `requires_rebuild` lists affected criteria that are already in progress, in review or passed. If `has_more` is true, call again with sinceSeq set to the returned `to_seq`.
- **vibemap_get_release_work_list** — Get a release's work list grouped as `new`, `modified` and `removed`. Each item has its material field changes, the commit it was last built at and its code paths. For removed items the code paths are the files to delete. Needs a plan with release management.
- **vibemap_get_release_diff** — Get the raw diff of a release against its baseline: every listed item with its baseline row and the material field changes. Use vibemap_get_release_work_list for the actionable version. Needs a plan with release management.
- **vibemap_propose_spec_change** — Propose a change to the spec when the code has to differ from it (for example a field the spec missed). This stages the proposal; it does NOT edit the spec. The review screen for staged proposals is coming, so until it ships the owner will not see it in the app: also list it in your final summary. While building, always use this instead of the update_* tools. Give the entity, the content fields you want changed with their new values (only that entity's content fields are accepted: not status, ids, codes, assignment or sprint) and a short rationale; add evidence (a file path, test name or error) if you have it. An identical pending proposal is returned instead of duplicated; at most 10 per minute and 50 pending per project.
- **vibemap_scan_codebase** — Scan a local directory and return a formatted tree view plus file statistics. Use this to explore and understand an existing codebase before syncing to VibeMap.
- **vibemap_analyze_codebase** — Scan a local codebase and submit it to VibeMap for AI-powered reverse engineering. The server-side generation persists FEATURES from the code digest. It does NOT persist user stories or acceptance criteria — after the features task completes (poll vibemap_get_generation_status), create those yourself with vibemap_create_user_story and vibemap_create_acceptance_criterion, using your full codebase access for accuracy. Returns a sessionId to poll.
- **vibemap_submit_code_map** — Submit a structural code map of the user's codebase to VibeMap (rendered on the project's Codebase tab). Build it yourself from your codebase access: one node per meaningful unit (page/route, API endpoint, data model, service, module, config), edges for imports/routes/reads/writes. Node kinds: page|api|model|service|module|config. Layers: ui|api|data|services|shared. Edge kinds: imports|routes|reads|writes. Use repo-relative paths as node ids. Max 500 nodes — aggregate small files into their module. Re-submitting replaces the project's map and resets it to draft for the user to re-confirm; any existing drift report is kept.
- **vibemap_get_code_map** — Fetch the project's current code map (status draft|confirmed, nodes/edges, sync anchor incl. any drift report). Use before re-submitting to preserve the user's hidden-node curation where possible.
- **vibemap_sync_changes** — Report codebase changes since the last sync so VibeMap can flag spec drift. Workflow: 1) call vibemap_get_code_map and read anchor.commitSha; 2) run `git diff --name-only <commitSha>..HEAD` (plus untracked files from `git status --porcelain`); 3) call this tool with the changed paths and your current HEAD sha. The response lists affected map units and features — update the stale specs with vibemap_update_feature / vibemap_update_user_story / vibemap_update_acceptance_criterion (all changeset-audited). The drift report stays on the project until the flagged items are resolved or dismissed in VibeMap; re-submitting the code map does not clear it. While you are building a ticket, send spec changes through vibemap_propose_spec_change rather than editing the spec.
- **vibemap_extract_repo_facts** — Read the repository on this machine and return its structural facts: database tables and their row-level security policies (from SQL migrations or a Prisma schema), Next.js routes, and clusters of related files per route. Runs locally with no network call and no model, and sends nothing to VibeMap. The same code always gives the same facts. Use each cluster's id and files when you write the spec for vibemap_import_semantic.
- **vibemap_import_facts** — Import this repository's structure into a VibeMap project. Extracts the facts locally, then sends only the facts: table, column, foreign-key, policy and route definitions with their file paths. File contents never leave your machine. VibeMap turns them into the schema, access rules and one page per route, each linked to its file, and records a structural map of the repository (file paths only) if the project has none yet. Re-running on unchanged code writes nothing. Available on Pro and higher plans.
- **vibemap_import_semantic** — Send the features, user stories and acceptance criteria you wrote for an imported repository. One feature per cluster (clusterId from vibemap_extract_repo_facts); every feature, story and criterion cites sourceFiles, which must be files listed in the facts. Only the spec text you write and those file paths are sent. Re-sending the same items updates them in place and never duplicates them. Call vibemap_import_facts first. Shape: features[{clusterId, name, description?, priority?, category?, complexity?, effort?, businessValue?, sourceFiles, stories[{slug?, userRole, iWantTo, soThat, description?, priority?, sourceFiles, acceptanceCriteria[{given, when, then, description?, scenarioCategory?, elementLabel?, sourceFiles}]}]}].
- **vibemap_finalize_import** — Finish an import. Every imported acceptance criterion becomes passed (unverified: no test has confirmed it yet), the result is locked as release MVP1, and MVP2 opens for new work. Criteria VibeMap flagged as hard to test stay in review instead. Calling it again reports the existing MVP1 and changes nothing. Sends only the project id.
- **vibemap_resync** — Bring an imported project up to date with the repository at its current commit. Extracts the facts locally and sends only the facts, so VibeMap applies the structural changes since the last import (added, changed and removed tables, policies and routes). It then reports the changed file paths, so specs whose code changed are flagged: a passed criterion whose files changed, or changed code that no spec covers, becomes a proposal the project owner reviews on the Codebase tab. Pass changedFiles (for example from `git diff --name-only <last synced commit>..HEAD`) to include edits that did not change the structure.
- **vibemap_resolve_drift** — Clear reported code drift once it is handled: after you updated the affected specs, or decided they need no change. Name the files, code map units (nodeIds) or criteria (criterionIds) to clear. The project's sync point moves to the new commit only when no drift is left.
- **vibemap_resolve_code_drift_proposal** — Apply or dismiss one staged code-drift proposal. Applying it on a passed criterion marks the criterion as possibly stale so it gets re-verified; dismissing it keeps the spec as it is. Either way the proposal's files are cleared from the drift report. The project owner normally decides this on the Codebase tab: only call it when the user asks you to.
- **vibemap_get_generation_status** — Poll the status of a VibeMap AI generation task (e.g., reverse engineering or spec generation). Use the sessionId returned by vibemap_analyze_codebase.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "vibemap-mcp": {
    "command": "npx",
    "args": ["-y","@vibemap.ai/mcp-server"],
    "env": {
      "VIBEMAP_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `VIBEMAP_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What vibemap-mcp does

vibemap-mcp connects an MCP-compatible coding agent with a VibeMap project through the VibeMap API. It supports both directions of the workflow: an agent can load structured product context into an IDE, and it can send information from an existing repository back to VibeMap.

Project context includes features, user stories, acceptance criteria, personas, pages, database schema, and access rules. Agents can also retrieve generated page source for use in a codebase, inspect changesets, and view the project's kanban state. For whole-project work, the atomic blueprint provides a code-oriented representation with hydrated relationships, synthesized interactions, and entity state machines.

## How it works

The server runs as an MCP process launched with `npx` and authenticates requests with a VibeMap personal access token. Granular tools let the connected agent list, create, and update project assets directly. The hosted `vibemap_agent` tool provides conversational operations through VibeMap's own models and consumes the project owner's VibeMap token budget.

Implementation work follows an explicit criterion lifecycle. An agent can find the next ready acceptance criterion, claim it, report progress, submit changed files and tests for review, and block or unblock work when needed. CI or a human reviewer resolves the review; the agent that implemented the criterion cannot approve its own work. Destructive or sensitive requests made through `vibemap_agent` return a plan for approval before changes are applied, and longer generations run as background jobs that can be polled for status.

For repository imports, structural extraction happens locally. The server can collect tables, policies, routes, and file clusters, then send structural facts and agent-written specification text to VibeMap. Repository file contents are not sent during the local extraction step.

## Setup and configuration

The server requires Node.js 18 or newer, a VibeMap account, and a personal access token. Add it to an MCP client's server configuration with `npx -y @vibemap.ai/mcp-server`:

```json
{
  "mcpServers": {
    "vibemap": {
      "command": "npx",
      "args": ["-y", "@vibemap.ai/mcp-server"],
      "env": {
        "VIBEMAP_API_KEY": "vm_your_token_here",
        "VIBEMAP_BASE_URL": "https://vibemap.ai"
      }
    }
  }
}
```

`VIBEMAP_API_KEY` is required. `VIBEMAP_BASE_URL` selects the VibeMap instance and defaults to `http://localhost:3000`. API keys are generated from the VibeMap account's Developer and API Keys area. The setup is documented for Claude Desktop, Cursor, and Windsurf; restart the client after changing its configuration.

## Tools and capabilities

The toolset covers:

- Listing and creating projects, features, user stories, personas, pages, schemas, and acceptance criteria.
- Reading full project context, criterion-specific context, atomic blueprints, access rules, review plans, kanban boards, and generated page source.
- Managing feature, story, and acceptance-criterion progress through claim, progress, review, block, and unblock operations.
- Running VibeMap's metered conversational agent with approval and background-generation workflows.
- Scanning, analyzing, importing, and resynchronizing an existing codebase, including code maps and structural drift.
- Reviewing changesets, specification deltas, release work, and synchronization history.

Schema creation supports tables, columns, relationships, foreign keys, constraints, and many-to-many junction tables. Access rules are handled separately for page authorization and table-level policies such as row-level security.

## Limitations and notes

The atomic blueprint can be very large on sizeable projects, so criterion-specific context is preferred during ticket implementation. Acceptance-criterion status is controlled by the lifecycle and review tools rather than by the content-update tool. The legacy kanban status operation is deprecated in favor of typed lifecycle transitions. The hosted conversational agent is metered, while the granular create and list tools run on the connected agent and are unmetered.

_Full upstream README: https://allmcps.com/mcp/vibemap-mcp/readme_

