project-mcp
v3.3.0Intent-based MCP server for project documentation search.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_project
Search across project sources with smart intent detection. IMPORTANT: "project docs" means APPLICATION documentation (docs/ + DECISIONS.md), NOT project management. Use intent "project_docs" when user says "project docs/documents/documentation" to search application documentation. Use intent "plan" for project management (status, todos, roadmap, backlog).
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query. Can be a single word, multiple words, or a phrase. The search is semantic and will find relevant content even with partial matches. |
intent | string | Intent type to map to sources. "project_docs" searches docs/ + DECISIONS.md (application documentation). "docs" searches only docs/. "plan/todos/roadmap/status/operational" searches .project/ (project… |
maxResults | number | Maximum number of results to return. Default is 10, maximum is 50. |
search_docs
Search only the docs/ directory for reference documentation. Use this when the user specifically asks for "docs" or "documentation". Returns relevant documentation chunks with file paths and content snippets.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query. Can be a single word, multiple words, or a phrase. The search is semantic and will find relevant content even with partial matches. |
category | string | Optional: Filter by documentation category. Options: product, architecture, operations, api, guides, reference, or leave empty for all. |
maxResults | number | Maximum number of results to return. Default is 10, maximum is 50. |
get_doc
Get the full content of a specific file. Supports files from .project/, root-level, or docs/. Use the path as returned from search results.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file. Can be relative to project root (e.g., ".project/index.md", "README.md", "docs/architecture/ARCHITECTURE_SPEC.md"). |
list_docs
List all available documentation files organized by category. Use this to discover what documentation is available or to get an overview of the documentation structure.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional: Filter by category. Options: product, architecture, operations, api, guides, reference, or leave empty for all. |
get_doc_structure
Get the complete documentation directory structure with file paths and descriptions. Useful for understanding the organization of documentation.
manage_project_file
Smart tool that automatically determines which project file to create or update based on context. Use this when making changes to the project - it will check project state and determine if index.md, ROADMAP.md, TODO.md, STATUS.md, or DECISIONS.md should be created/updated. This is the primary tool for managing project documentation during development.
| Parameter | Type | Description |
|---|---|---|
action * | string | The action being performed: "planning" (creates/updates ROADMAP), "task" (creates/updates TODO), "status_change" (creates/updates STATUS), "decision" (creates/updates DECISIONS), "contract" (creates/u… |
content * | string | The content to add or update. For "auto" mode, describe what you're doing and the tool will determine the appropriate file. |
fileType | string | Optional: Force a specific file type. If not provided and action is "auto", the tool will determine automatically. |
check_project_state
Checks the current state of project management files. Returns which files exist (.project/index.md, ROADMAP.md, TODO.md, STATUS.md, DECISIONS.md) and provides a summary of project state. Use this before making changes to understand what exists.
create_or_update_roadmap
Creates or updates the ROADMAP.md file in .project/ directory. Use this when planning future work, milestones, or phases. If the file exists, intelligently merges new content with existing roadmap.
| Parameter | Type | Description |
|---|---|---|
content * | string | The roadmap content to add. Can be a new section, milestone, or phase. The tool will merge with existing content if the file exists. |
replace | boolean | If true, replaces the entire file. If false (default), merges with existing content. |
section | string | Optional: The section to add to (e.g., "Q1 2025", "Phase 1", "Future Considerations"). If not provided, will append to appropriate section or create new. |
create_or_update_todo
Creates or updates the TODO.md file in .project/ directory. Use this when adding tasks, marking items complete, or updating task status. Intelligently organizes tasks into sections (In Progress, Next Up, Blocked, Completed).
| Parameter | Type | Description |
|---|---|---|
content * | string | The task or todo item to add. Can be a single task or multiple tasks. Use markdown checkbox format: "- [ ] Task description". |
markComplete | string | Optional: Task description to mark as complete. Will move from current section to "Completed" section. |
replace | boolean | If true, replaces the entire file. If false (default), merges with existing content. |
section | string | Optional: The section to add to: "in_progress", "next_up", "blocked", "completed". If not provided, defaults to "next_up". |
create_or_update_status
Creates or updates the STATUS.md file in .project/ directory. Use this when updating project health, recent changes, metrics, or current phase. Automatically updates the "Last Updated" timestamp.
| Parameter | Type | Description |
|---|---|---|
content * | string | The status update content. Can include current phase, health status, recent changes, metrics, risks, or next milestone. |
replace | boolean | If true, replaces the entire file. If false (default), merges with existing content. |
updateType | string | Optional: Type of update: "phase", "health", "changes", "metrics", "risks", "milestone", "general". Helps organize the update appropriately. |
create_or_update_index
Creates or updates the index.md file in .project/ directory. This is the contract file that defines how agents should interpret sources. Use this when setting up project structure or updating source mappings.
| Parameter | Type | Description |
|---|---|---|
content * | string | The contract content to add. Should define source mappings and how agents should interpret different queries. |
replace | boolean | If true, replaces the entire file. If false (default), merges with existing content. |
create_or_update_decisions
Creates or updates the DECISIONS.md file in .project/ directory. Use this when documenting architecture decisions, trade-offs, or rationale. Helps maintain a decision log for the project.
| Parameter | Type | Description |
|---|---|---|
content * | string | The decision content to add. Should include the decision, context, trade-offs, and rationale. |
decisionTitle | string | Optional: Title for the decision entry. If not provided, will extract from content or use a timestamp. |
replace | boolean | If true, replaces the entire file. If false (default), merges with existing content. |
add_decision
Adds a single architecture decision record (ADR) to DECISIONS.md. Creates a structured entry with title, context, decision, and consequences sections.
| Parameter | Type | Description |
|---|---|---|
decision * | string | The decision that was made. |
title * | string | Title of the decision (e.g., "Use PostgreSQL for primary database"). |
consequences | string | The positive and negative consequences of the decision. |
context | string | The context and problem statement that led to this decision. |
status | string | Status of the decision. Default: "accepted". |
tags | array | Tags for categorization (e.g., ["database", "infrastructure"]). |
list_decisions
Lists all architecture decisions from DECISIONS.md with optional filtering by status or tag.
| Parameter | Type | Description |
|---|---|---|
status | string | Filter by status. |
tag | string | Filter by tag. |
update_project_status
Quick status update for the project. Adds a timestamped entry to STATUS.md with the current status, changes, or notes.
| Parameter | Type | Description |
|---|---|---|
status * | string | Current status summary (e.g., "On track", "Blocked by API issues"). |
blockers | array | Current blockers or risks. |
changes | array | List of recent changes or updates. |
health | string | Project health indicator. |
next_milestone | string | Next milestone or goal. |
add_roadmap_milestone
Adds a milestone or phase to ROADMAP.md. Creates a structured entry with title, description, target date, and deliverables.
| Parameter | Type | Description |
|---|---|---|
title * | string | Milestone title (e.g., "v1.0 Release", "Q1 2025"). |
deliverables | array | List of deliverables for this milestone. |
description | string | Description of the milestone. |
status | string | Status of the milestone. Default: "planned". |
target_date | string | Target date (e.g., "2025-03-01", "Q1 2025"). |
get_decision
Reads a specific architecture decision by ADR ID. Returns the full decision content including context, decision, and consequences.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ADR ID to retrieve (e.g., "ADR-001", "001", or just "1"). |
get_roadmap
Reads the current roadmap content from ROADMAP.md. Returns milestones, phases, and planned work.
| Parameter | Type | Description |
|---|---|---|
section | string | Optional: Return only a specific section/milestone. |
create_task
Creates a new task with YAML frontmatter metadata. Uses Jira-like IDs (e.g., AUTH-001, API-042) for stable references. Supports dependencies, priorities, estimates, due dates, and tags. Agents can determine execution order by checking dependencies and priorities.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project/Epic identifier used in the task ID (e.g., "AUTH", "API", "FRONTEND"). Will be uppercased. The task ID will be {PROJECT}-{NNN}. |
title * | string | The title of the task (e.g., "Implement OAuth authentication", "Fix login bug"). |
blocked_by | array | Array of task IDs or external blockers (e.g., ["AUTH-003", "waiting-on-api-key"]). Different from depends_on - these are blockers that prevent progress. |
depends_on | array | Array of task IDs this task depends on (e.g., ["AUTH-001", "AUTH-002"]). Task cannot start until dependencies are done. |
description | string | Detailed description of the task. Can include markdown formatting. |
due | string | Due date in YYYY-MM-DD format (e.g., "2025-01-15"). |
estimate | string | Time estimate (e.g., "2h", "1d", "3d", "1w"). Use h=hours, d=days, w=weeks. |
owner | string | Who is responsible for this task (e.g., "cursor", "john-doe", "backend-team"). |
priority | string | Priority level: "P0" (critical/blocker), "P1" (high), "P2" (medium/default), "P3" (low). |
status | string | Current status: "todo" (not started), "in_progress" (being worked on), "blocked" (waiting on something), "review" (needs review), "done" (completed). |
subtasks | array | Array of subtask descriptions. Will be rendered as a checklist in the task. |
tags | array | Array of tags for categorization (e.g., ["security", "urgent", "tech-debt", "feature"]). |
update_task
Updates an existing task by ID. Can update any field including status, priority, owner, dependencies, etc. Use this to transition tasks through workflow states.
| Parameter | Type | Description |
|---|---|---|
id * | string | The task ID to update (e.g., "AUTH-001"). |
add_subtask | string | Add a new subtask to the task. |
blocked_by | array | New blocked_by list. |
complete_subtask | string | Mark a subtask as complete (partial match on subtask text). |
depends_on | array | New dependency list. Use "add:ID" or "remove:ID" to modify existing. |
description | string | New description. Use "append:TEXT" to append to existing description. |
due | string | New due date (YYYY-MM-DD). |
estimate | string | New time estimate. |
owner | string | New owner for the task. |
priority | string | New priority level. |
status | string | New status. Transitioning to "done" will set completed date. |
tags | array | New tags list. Use "add:TAG" or "remove:TAG" to modify existing. |
title | string | New title for the task. |
get_task
Reads and returns a specific task by ID. Shows all metadata including frontmatter, description, subtasks, and notes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The task ID to read (e.g., "AUTH-001"). |
delete_task
Permanently deletes a task from todos/. Use with caution - this cannot be undone. Consider using archive_task instead for completed tasks.
| Parameter | Type | Description |
|---|---|---|
id * | string | The task ID to delete (e.g., "AUTH-001"). |
confirm | boolean | Must be true to confirm deletion. Default: false. |
get_next_task
Returns the next task(s) that should be worked on. Considers: dependencies (only returns tasks whose dependencies are done), priority (P0 first), status (excludes done/blocked), and optionally filters by owner or project. This is the key tool for agentic execution - call this to know what to do next.
| Parameter | Type | Description |
|---|---|---|
include_blocked | boolean | Include blocked tasks in results. Default: false. |
limit | number | Maximum number of tasks to return. Default: 5. |
owner | string | Filter by owner. Only return tasks assigned to this owner. |
project | string | Filter by project. Only return tasks from this project. |
list_tasks
Lists all tasks with optional filtering. Returns a summary view of tasks organized by status and priority.
| Parameter | Type | Description |
|---|---|---|
owner | string | Filter by owner. |
priority | string | Filter by priority. |
project | string | Filter by project. |
status | string | Filter by status. |
tag | string | Filter by tag. |
search_tasks
Search tasks by keyword in title, description, or content. Returns matching tasks with relevance ranking.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (matches title, description, content). |
include_archived | boolean | Include archived tasks in search. Default: false. |
limit | number | Maximum results to return. Default: 10. |
project | string | Filter by project. |
status | string | Filter by status. |
sync_todo_index
Syncs the parent TODO.md file with all tasks. Generates a dashboard view with tasks organized by status, priority counts, dependency graph, and execution order. This provides a bird's eye view of all work.
| Parameter | Type | Description |
|---|---|---|
format | string | Output format: "dashboard" (default, visual overview), "table" (compact table), "kanban" (by status columns). |
import_tasks
Parses a plan document and imports tasks to BACKLOG.md (not individual files). Use this to populate the backlog from a roadmap or requirements doc. Tasks stay in BACKLOG until promoted to active work via promote_task.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project prefix for task IDs (e.g., "AUTH", "API"). Required. |
source * | string | Path to the source file to parse (e.g., "ROADMAP.md", ".project/ROADMAP.md"). Can also be raw markdown content if source_type is "content". |
default_priority | string | Default priority for tasks. Default: "P2". |
dry_run | boolean | If true, shows what would be imported without modifying BACKLOG.md. Default: false. |
phase | string | Optional: Only import tasks from a specific phase/section. |
source_type | string | Type of source: "file" (path to file) or "content" (raw markdown). Default: "file". |
promote_task
Promotes a task from BACKLOG.md to an active YAML task file in todos/. Use this when starting work on a backlog item. Creates a full task file with YAML frontmatter, dependencies, and metadata.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task ID to promote from backlog (e.g., "AUTH-001"). |
depends_on | array | Task IDs this depends on (e.g., ["AUTH-002"]). Only active tasks can be dependencies. |
due | string | Due date in YYYY-MM-DD format. |
estimate | string | Time estimate (e.g., "2h", "1d", "3d"). |
owner | string | Who will work on this task. Default: "unassigned". |
priority | string | Priority override. If not set, uses priority from backlog. |
archive_task
Archives a completed task by moving it from todos/ to archive/. Keeps the active task queue small and focused. Archived tasks are preserved for history but excluded from get_next_task.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task ID to archive (e.g., "AUTH-001"). Must have status "done". |
force | boolean | Archive even if not marked done. Default: false. |
add_to_backlog
Adds a single item to BACKLOG.md. Use this for quick task creation without bulk import. Items are added to the specified priority section and can later be promoted to active work.
| Parameter | Type | Description |
|---|---|---|
project * | string | Project prefix for the task ID (e.g., "AUTH", "API"). |
title * | string | The task title/description. |
phase | string | Optional phase/milestone this task belongs to. |
priority | string | Priority level. Default: "P2". |
subtasks | array | Optional subtasks to include. |
tags | array | Optional tags for categorization. |
get_backlog
Reads and returns the current backlog contents with optional filtering. Shows tasks organized by priority with counts and summary.
| Parameter | Type | Description |
|---|---|---|
include_promoted | boolean | Include already-promoted items. Default: false. |
priority | string | Filter by priority level. |
project | string | Filter by project prefix. |
update_backlog_item
Updates an item in BACKLOG.md. Can change priority, title, tags, or phase without promoting to active work.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task ID to update (e.g., "AUTH-001"). |
phase | string | New phase/milestone. |
priority | string | New priority level (will move to new section). |
tags | array | New tags (replaces existing). |
title | string | New title for the task. |
remove_from_backlog
Removes an item from BACKLOG.md without promoting it. Use for tasks that are no longer needed or were added by mistake.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task ID to remove (e.g., "AUTH-001"). |
reason | string | Optional reason for removal (for logging). |
list_archived_tasks
Lists tasks in the archive/ directory. Shows completed work history with optional filtering by project or date.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of tasks to return. Default: 20. |
project | string | Filter by project prefix. |
unarchive_task
Restores a task from archive/ back to todos/ for further work. Use when a completed task needs to be reopened.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task ID to unarchive (e.g., "AUTH-001"). |
status | string | Status to set on restore. Default: "todo". |
lint_project_docs
Validates project documentation against standards. Checks for required files, valid frontmatter, broken dependencies, missing fields, and formatting issues. Can auto-fix common problems. Run this before commits to ensure documentation quality.
| Parameter | Type | Description |
|---|---|---|
fix | boolean | If true, automatically fix issues that can be auto-corrected (missing timestamps, formatting, etc.). Default: false (report only). |
scope | string | What to lint: "all" (everything), "tasks" (only task files), "docs" (only documentation files). Default: "all". |
strict | boolean | If true, enforce stricter rules (all tasks must have estimates, due dates, descriptions). Default: false. |
init_project
Initializes the .project/ directory with all standard files following strict templates. Creates index.md (contract), TODO.md (dashboard), BACKLOG.md (prioritized work queue), ROADMAP.md, STATUS.md, DECISIONS.md, and todos/ directory. Use this to bootstrap a new project with proper structure.
| Parameter | Type | Description |
|---|---|---|
project_name * | string | Name of the project. Used in headers and metadata. |
overwrite | boolean | If true, overwrites existing files. Default: false (skip existing). |
project_description | string | Brief description of the project. |
process_thoughts
Reads brain dump markdown files from .project/thoughts/todos/ and returns the content along with project context for analysis. This tool gathers: 1. **Raw thought content** - The unstructured brain dump as written 2. **Project context** - Existing tasks, roadmap milestones, decisions for reference 3. **Task format guide** - The YAML structure for creating tasks YOU (the LLM) should then analyze the content to: - Understand the user's intent (explicit, shadow/underlying, practical) - Identify logical task groupings (consolidate related items) - Determine appropriate priorities based on contex…
| Parameter | Type | Description |
|---|---|---|
project * | string | Project prefix for task IDs when you create tasks (e.g., "AUTH", "API"). |
file | string | Specific thought file to process (e.g., "my-ideas.md"). If not provided, processes all files in thoughts/todos/. |
archive_thought
Archives a processed thought file by moving it to .project/thoughts/todos/.archive/. Use this after you've created tasks from a thought file to keep the active thoughts folder clean. Also logs the archive action with timestamp and created task IDs.
| Parameter | Type | Description |
|---|---|---|
file * | string | The thought file to archive (e.g., "my-ideas.md"). |
created_tasks | array | Array of task IDs that were created from this thought (e.g., ["AUTH-001", "AUTH-002"]). |
notes | string | Optional notes about the processing (e.g., "Consolidated 5 items into 2 tasks"). |
list_thoughts
Lists all thought files in the .project/thoughts/ directory structure. Shows available brain dump files organized by category.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional: Filter by thought category. Currently supported: "todos". |
include_archived | boolean | Include archived thoughts in the listing. Default: false. |
list_archived_thoughts
Lists all archived thought files with their processing history. Shows what thoughts were processed, when, and what tasks were created.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of archived thoughts to show. Default: 20. |
get_thought
Reads a specific thought file and returns its raw content for review.
| Parameter | Type | Description |
|---|---|---|
file * | string | The thought file to read (e.g., "my-ideas.md"). |
category | string | The category/subdirectory. Default: "todos". |
from_archive | boolean | Read from archive instead of active thoughts. Default: false. |