vibemap-mcp
v2.14.0Load & create VibeMap product specs from your coding agent; sync build progress.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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.
| Parameter | Type | Description |
|---|---|---|
description * | string | Detailed project description (50+ characters). The more detail, the better the AI analysis. |
name * | string | Project name (3-100 characters) |
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.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The VibeMap project ID |
includeFeatures | boolean | |
includePages | boolean | |
includePersonas | boolean | |
includeSchema | boolean | |
includeStories | boolean |
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. Designed for LLM coders building the application end-to-end. Prefer this over vibemap_get_project_context when generating code; the blueprint omits PM narrative and process metadata to maximise signal-per-token.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The VibeMap project ID |
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.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The VibeMap project ID |
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).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The VibeMap project ID |
includeOps | boolean | Inline each changeset's individual ops + diffs (default false) |
limit | number | Max changesets to return (1-200, default 50) |
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.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | The page ID to export |
projectId * | string | The VibeMap project ID |
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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Persona's first name |
projectId * | string | |
avatarDescription | string | Brief visual description |
communicationPreferences | object | How to reach them |
demographics | object | Who they are |
goalsAndNeeds | object | What they are trying to achieve |
narrative | object | Their voice |
painPoints | object | What frustrates or blocks them |
productSpecific | object | How they relate to this product |
psychographics | object | What drives them |
tagline | string | Brief one-line descriptor |
userRole | string | Canonical role this persona represents (e.g. 'admin', 'diver'). User stories reference this role. |
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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Page name (e.g. 'Dashboard') |
projectId * | string | |
description | string | What this page is for |
path | string | Route path (e.g. '/dashboard') |
status | string |
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). Exist…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
tables * | array | One entry per table (snake_case, plural names). |
relationships | array | Optional — foreign keys on columns auto-derive relationships. Provide only for relationships not expressed by a column FK. |
vibemap_list_features
List features for a VibeMap project. Supports filtering by status, priority, category, and search. Returns paginated results.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
category | string | |
limit | number | |
offset | number | |
priority | string | |
search | string | |
status | string |
vibemap_create_feature
Create a new feature in a VibeMap project. Use this when reverse-engineering a codebase to register discovered capabilities.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
projectId * | string | |
business_value | string | |
category | string | |
complexity | string | |
description | string | |
effort | string | |
priority | string |
vibemap_update_feature
Update an existing feature's fields or status in VibeMap.
| Parameter | Type | Description |
|---|---|---|
featureId * | string | |
business_value | string | |
category | string | |
complexity | string | |
description | string | |
effort | string | |
name | string | |
priority | string | |
status | string |
vibemap_list_user_stories
List user stories for a project or feature. Filter by status, priority. Returns paginated results with full story detail.
| Parameter | Type | Description |
|---|---|---|
featureId | string | Filter by specific feature |
limit | number | |
offset | number | |
priority | string | |
projectId | string | Filter by project (use featureId for more specific results) |
search | string | |
status | string |
vibemap_create_user_story
Create a new user story inside a VibeMap feature. Provide the user role, action, and expected outcome.
| Parameter | Type | Description |
|---|---|---|
description * | string | |
featureId * | string | |
title * | string | |
estimatedEffort | number | |
iWantTo | string | What the user wants to do |
priority | string | |
soThat | string | The benefit / outcome |
userRole | string | e.g., 'admin', 'developer', 'guest' |
vibemap_update_user_story
Update an existing user story's fields or status in VibeMap.
| Parameter | Type | Description |
|---|---|---|
storyId * | string | |
description | string | |
estimatedEffort | number | |
iWantTo | string | |
priority | string | |
soThat | string | |
status | string | |
title | string | |
userRole | string |
vibemap_list_acceptance_criteria
List acceptance criteria for a story, feature, or project. Returns BDD-formatted criteria (Given/When/Then) with status.
| Parameter | Type | Description |
|---|---|---|
featureId | string | |
limit | number | |
offset | number | |
projectId | string | |
status | string | |
storyId | string |
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.
| Parameter | Type | Description |
|---|---|---|
givenCondition * | string | Precondition / context ('Given …') |
storyId * | string | ID of the user story this criterion belongs to |
thenOutcome * | string | Expected result ('Then …') |
whenAction * | string | Action performed ('When …') |
description | string | Optional plain-text summary |
scenarioCategory | string | |
status | string |
vibemap_update_acceptance_criterion
Update an acceptance criterion's status or content. Use status 'passed' when your code satisfies the criterion, 'failed' when it does not.
| Parameter | Type | Description |
|---|---|---|
criterionId * | string | |
description | string | |
givenCondition | string | |
scenarioCategory | string | |
status | string | |
thenOutcome | string | |
whenAction | string |
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, user story, or acceptance criterion. Validates allowed state transitions and prevents invalid moves. Call this when you start or finish implementing something. Feature stages: draft → open → in_progress → completed Story stages: draft → has_criteria → open → in_progress → completed Criterion stages: draft → pending → passed | failed
| Parameter | Type | Description |
|---|---|---|
entityId * | string | ID of the feature, story, or criterion |
entityType * | string | Type of item to update |
newStatus * | string | Target kanban status |
notes | string | Optional context about why this transition was made |
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.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
includeCriteria | boolean | Include acceptance criteria counts per story |
vibemap_get_next_ready_criterion
Get the highest-priority acceptance criterion in `ready` status for the given project. Returns the criterion to work on next, or null if nothing is ready.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project UUID |
vibemap_claim_criterion
Atomically claim an acceptance criterion for implementation. Transitions ready → in_progress. Returns 409 (race) if another agent already claimed it.
| Parameter | Type | Description |
|---|---|---|
criterionId * | string | Acceptance criterion UUID |
vibemap_report_progress
Append a progress event to the criterion timeline without changing its status. Used to surface intermediate work for visibility.
| Parameter | Type | Description |
|---|---|---|
criterionId * | string | |
summary * | string | Short progress note (1-2000 chars) |
vibemap_submit_for_review
Submit completed work for review. Transitions in_progress → in_review. Requires a git SHA and a diff URL as evidence.
| Parameter | Type | Description |
|---|---|---|
criterionId * | string | |
diffUrl * | string | URL to view the diff (PR link or compare URL) |
gitSha * | string | 7+ char commit SHA |
notes | string | Optional notes for the reviewer (max 2000 chars) |
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.
| Parameter | Type | Description |
|---|---|---|
criterionId * | string | |
outcome * | string | |
notes | string | |
testRunUrl | string |
vibemap_block_criterion
Mark a criterion as blocked. Transitions any-active-status → blocked. Use this when external dependency, ambiguity, or environmental issue prevents progress.
| Parameter | Type | Description |
|---|---|---|
category * | string | |
criterionId * | string | |
reason * | string | Human-readable explanation (1-2000 chars) |
vibemap_unblock_criterion
Unblock a criterion. Transitions blocked → prior_status (recorded when block was set; defaults to ready).
| Parameter | Type | Description |
|---|---|---|
criterionId * | string | |
resolution * | string | How the blocker was resolved (1-2000 chars) |
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).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
limit | number | Max events to return (default 200, max 1000) |
since | string | ISO timestamp; only events strictly after this are returned |
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.
| Parameter | Type | Description |
|---|---|---|
localPath * | string | Absolute path to the local project directory |
depth | number | Max directory depth to traverse |
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.
| Parameter | Type | Description |
|---|---|---|
localPath * | string | Absolute path to the local project directory |
projectId * | string | The VibeMap project to populate with discovered specs |
depth | number | |
taskTitle | string |
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.
| Parameter | Type | Description |
|---|---|---|
map * | object | { nodes: [{id,label,kind,path,layer,summary?}], edges: [{source,target,kind}], stats?: {totalFiles,scannedAt} } |
projectId * | string | VibeMap project to attach the map to |
anchor | object | Optional sync anchor: { commitSha?, scannedAt? } (git rev-parse HEAD) |
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.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
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), then re-submit the code map with vibemap_submit_code_map to clear the drift.
| Parameter | Type | Description |
|---|---|---|
changedFiles * | array | Repo-relative paths changed since anchor.commitSha (max 2000) |
projectId * | string | VibeMap project id |
headSha | string | Current HEAD commit sha (git rev-parse HEAD) |
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.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID from vibemap_analyze_codebase |