vibemap-mcp

v2.14.0
io.github.AshMet/vibemap-mcp Checked 2 days ago Published 14 hours ago

Load & 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.

ParameterTypeDescription
description *stringDetailed project description (50+ characters). The more detail, the better the AI analysis.
name *stringProject 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.

ParameterTypeDescription
projectId *stringThe VibeMap project ID
includeFeaturesboolean
includePagesboolean
includePersonasboolean
includeSchemaboolean
includeStoriesboolean

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.

ParameterTypeDescription
projectId *stringThe 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.

ParameterTypeDescription
projectId *stringThe 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).

ParameterTypeDescription
projectId *stringThe VibeMap project ID
includeOpsbooleanInline each changeset's individual ops + diffs (default false)
limitnumberMax 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.

ParameterTypeDescription
pageId *stringThe page ID to export
projectId *stringThe 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.

ParameterTypeDescription
name *stringPersona's first name
projectId *string
avatarDescriptionstringBrief visual description
communicationPreferencesobjectHow to reach them
demographicsobjectWho they are
goalsAndNeedsobjectWhat they are trying to achieve
narrativeobjectTheir voice
painPointsobjectWhat frustrates or blocks them
productSpecificobjectHow they relate to this product
psychographicsobjectWhat drives them
taglinestringBrief one-line descriptor
userRolestringCanonical 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.

ParameterTypeDescription
name *stringPage name (e.g. 'Dashboard')
projectId *string
descriptionstringWhat this page is for
pathstringRoute path (e.g. '/dashboard')
statusstring

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…

ParameterTypeDescription
projectId *string
tables *arrayOne entry per table (snake_case, plural names).
relationshipsarrayOptional — 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.

ParameterTypeDescription
projectId *string
categorystring
limitnumber
offsetnumber
prioritystring
searchstring
statusstring

vibemap_create_feature

Create a new feature in a VibeMap project. Use this when reverse-engineering a codebase to register discovered capabilities.

ParameterTypeDescription
name *string
projectId *string
business_valuestring
categorystring
complexitystring
descriptionstring
effortstring
prioritystring

vibemap_update_feature

Update an existing feature's fields or status in VibeMap.

ParameterTypeDescription
featureId *string
business_valuestring
categorystring
complexitystring
descriptionstring
effortstring
namestring
prioritystring
statusstring

vibemap_list_user_stories

List user stories for a project or feature. Filter by status, priority. Returns paginated results with full story detail.

ParameterTypeDescription
featureIdstringFilter by specific feature
limitnumber
offsetnumber
prioritystring
projectIdstringFilter by project (use featureId for more specific results)
searchstring
statusstring

vibemap_create_user_story

Create a new user story inside a VibeMap feature. Provide the user role, action, and expected outcome.

ParameterTypeDescription
description *string
featureId *string
title *string
estimatedEffortnumber
iWantTostringWhat the user wants to do
prioritystring
soThatstringThe benefit / outcome
userRolestringe.g., 'admin', 'developer', 'guest'

vibemap_update_user_story

Update an existing user story's fields or status in VibeMap.

ParameterTypeDescription
storyId *string
descriptionstring
estimatedEffortnumber
iWantTostring
prioritystring
soThatstring
statusstring
titlestring
userRolestring

vibemap_list_acceptance_criteria

List acceptance criteria for a story, feature, or project. Returns BDD-formatted criteria (Given/When/Then) with status.

ParameterTypeDescription
featureIdstring
limitnumber
offsetnumber
projectIdstring
statusstring
storyIdstring

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.

ParameterTypeDescription
givenCondition *stringPrecondition / context ('Given …')
storyId *stringID of the user story this criterion belongs to
thenOutcome *stringExpected result ('Then …')
whenAction *stringAction performed ('When …')
descriptionstringOptional plain-text summary
scenarioCategorystring
statusstring

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.

ParameterTypeDescription
criterionId *string
descriptionstring
givenConditionstring
scenarioCategorystring
statusstring
thenOutcomestring
whenActionstring

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

ParameterTypeDescription
entityId *stringID of the feature, story, or criterion
entityType *stringType of item to update
newStatus *stringTarget kanban status
notesstringOptional 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.

ParameterTypeDescription
projectId *string
includeCriteriabooleanInclude 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.

ParameterTypeDescription
projectId *stringProject UUID

vibemap_claim_criterion

Atomically claim an acceptance criterion for implementation. Transitions ready → in_progress. Returns 409 (race) if another agent already claimed it.

ParameterTypeDescription
criterionId *stringAcceptance criterion UUID

vibemap_report_progress

Append a progress event to the criterion timeline without changing its status. Used to surface intermediate work for visibility.

ParameterTypeDescription
criterionId *string
summary *stringShort 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.

ParameterTypeDescription
criterionId *string
diffUrl *stringURL to view the diff (PR link or compare URL)
gitSha *string7+ char commit SHA
notesstringOptional 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.

ParameterTypeDescription
criterionId *string
outcome *string
notesstring
testRunUrlstring

vibemap_block_criterion

Mark a criterion as blocked. Transitions any-active-status → blocked. Use this when external dependency, ambiguity, or environmental issue prevents progress.

ParameterTypeDescription
category *string
criterionId *string
reason *stringHuman-readable explanation (1-2000 chars)

vibemap_unblock_criterion

Unblock a criterion. Transitions blocked → prior_status (recorded when block was set; defaults to ready).

ParameterTypeDescription
criterionId *string
resolution *stringHow 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).

ParameterTypeDescription
projectId *string
limitnumberMax events to return (default 200, max 1000)
sincestringISO 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.

ParameterTypeDescription
localPath *stringAbsolute path to the local project directory
depthnumberMax 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.

ParameterTypeDescription
localPath *stringAbsolute path to the local project directory
projectId *stringThe VibeMap project to populate with discovered specs
depthnumber
taskTitlestring

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.

ParameterTypeDescription
map *object{ nodes: [{id,label,kind,path,layer,summary?}], edges: [{source,target,kind}], stats?: {totalFiles,scannedAt} }
projectId *stringVibeMap project to attach the map to
anchorobjectOptional 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.

ParameterTypeDescription
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.

ParameterTypeDescription
changedFiles *arrayRepo-relative paths changed since anchor.commitSha (max 2000)
projectId *stringVibeMap project id
headShastringCurrent 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.

ParameterTypeDescription
sessionId *stringSession ID from vibemap_analyze_codebase