project-mcp

v3.3.0
project-mcp Checked 2 days ago Published 11 months ago

Intent-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).

ParameterTypeDescription
query *stringSearch query. Can be a single word, multiple words, or a phrase. The search is semantic and will find relevant content even with partial matches.
intentstringIntent 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…
maxResultsnumberMaximum 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.

ParameterTypeDescription
query *stringSearch query. Can be a single word, multiple words, or a phrase. The search is semantic and will find relevant content even with partial matches.
categorystringOptional: Filter by documentation category. Options: product, architecture, operations, api, guides, reference, or leave empty for all.
maxResultsnumberMaximum 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.

ParameterTypeDescription
path *stringPath 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.

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

ParameterTypeDescription
action *stringThe action being performed: "planning" (creates/updates ROADMAP), "task" (creates/updates TODO), "status_change" (creates/updates STATUS), "decision" (creates/updates DECISIONS), "contract" (creates/u…
content *stringThe content to add or update. For "auto" mode, describe what you're doing and the tool will determine the appropriate file.
fileTypestringOptional: 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.

ParameterTypeDescription
content *stringThe roadmap content to add. Can be a new section, milestone, or phase. The tool will merge with existing content if the file exists.
replacebooleanIf true, replaces the entire file. If false (default), merges with existing content.
sectionstringOptional: 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).

ParameterTypeDescription
content *stringThe task or todo item to add. Can be a single task or multiple tasks. Use markdown checkbox format: "- [ ] Task description".
markCompletestringOptional: Task description to mark as complete. Will move from current section to "Completed" section.
replacebooleanIf true, replaces the entire file. If false (default), merges with existing content.
sectionstringOptional: 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.

ParameterTypeDescription
content *stringThe status update content. Can include current phase, health status, recent changes, metrics, risks, or next milestone.
replacebooleanIf true, replaces the entire file. If false (default), merges with existing content.
updateTypestringOptional: 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.

ParameterTypeDescription
content *stringThe contract content to add. Should define source mappings and how agents should interpret different queries.
replacebooleanIf 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.

ParameterTypeDescription
content *stringThe decision content to add. Should include the decision, context, trade-offs, and rationale.
decisionTitlestringOptional: Title for the decision entry. If not provided, will extract from content or use a timestamp.
replacebooleanIf 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.

ParameterTypeDescription
decision *stringThe decision that was made.
title *stringTitle of the decision (e.g., "Use PostgreSQL for primary database").
consequencesstringThe positive and negative consequences of the decision.
contextstringThe context and problem statement that led to this decision.
statusstringStatus of the decision. Default: "accepted".
tagsarrayTags for categorization (e.g., ["database", "infrastructure"]).

list_decisions

Lists all architecture decisions from DECISIONS.md with optional filtering by status or tag.

ParameterTypeDescription
statusstringFilter by status.
tagstringFilter 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.

ParameterTypeDescription
status *stringCurrent status summary (e.g., "On track", "Blocked by API issues").
blockersarrayCurrent blockers or risks.
changesarrayList of recent changes or updates.
healthstringProject health indicator.
next_milestonestringNext 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.

ParameterTypeDescription
title *stringMilestone title (e.g., "v1.0 Release", "Q1 2025").
deliverablesarrayList of deliverables for this milestone.
descriptionstringDescription of the milestone.
statusstringStatus of the milestone. Default: "planned".
target_datestringTarget 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.

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

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

ParameterTypeDescription
project *stringProject/Epic identifier used in the task ID (e.g., "AUTH", "API", "FRONTEND"). Will be uppercased. The task ID will be {PROJECT}-{NNN}.
title *stringThe title of the task (e.g., "Implement OAuth authentication", "Fix login bug").
blocked_byarrayArray 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_onarrayArray of task IDs this task depends on (e.g., ["AUTH-001", "AUTH-002"]). Task cannot start until dependencies are done.
descriptionstringDetailed description of the task. Can include markdown formatting.
duestringDue date in YYYY-MM-DD format (e.g., "2025-01-15").
estimatestringTime estimate (e.g., "2h", "1d", "3d", "1w"). Use h=hours, d=days, w=weeks.
ownerstringWho is responsible for this task (e.g., "cursor", "john-doe", "backend-team").
prioritystringPriority level: "P0" (critical/blocker), "P1" (high), "P2" (medium/default), "P3" (low).
statusstringCurrent status: "todo" (not started), "in_progress" (being worked on), "blocked" (waiting on something), "review" (needs review), "done" (completed).
subtasksarrayArray of subtask descriptions. Will be rendered as a checklist in the task.
tagsarrayArray 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.

ParameterTypeDescription
id *stringThe task ID to update (e.g., "AUTH-001").
add_subtaskstringAdd a new subtask to the task.
blocked_byarrayNew blocked_by list.
complete_subtaskstringMark a subtask as complete (partial match on subtask text).
depends_onarrayNew dependency list. Use "add:ID" or "remove:ID" to modify existing.
descriptionstringNew description. Use "append:TEXT" to append to existing description.
duestringNew due date (YYYY-MM-DD).
estimatestringNew time estimate.
ownerstringNew owner for the task.
prioritystringNew priority level.
statusstringNew status. Transitioning to "done" will set completed date.
tagsarrayNew tags list. Use "add:TAG" or "remove:TAG" to modify existing.
titlestringNew title for the task.

get_task

Reads and returns a specific task by ID. Shows all metadata including frontmatter, description, subtasks, and notes.

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

ParameterTypeDescription
id *stringThe task ID to delete (e.g., "AUTH-001").
confirmbooleanMust 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.

ParameterTypeDescription
include_blockedbooleanInclude blocked tasks in results. Default: false.
limitnumberMaximum number of tasks to return. Default: 5.
ownerstringFilter by owner. Only return tasks assigned to this owner.
projectstringFilter 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.

ParameterTypeDescription
ownerstringFilter by owner.
prioritystringFilter by priority.
projectstringFilter by project.
statusstringFilter by status.
tagstringFilter by tag.

search_tasks

Search tasks by keyword in title, description, or content. Returns matching tasks with relevance ranking.

ParameterTypeDescription
query *stringSearch query (matches title, description, content).
include_archivedbooleanInclude archived tasks in search. Default: false.
limitnumberMaximum results to return. Default: 10.
projectstringFilter by project.
statusstringFilter 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.

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

ParameterTypeDescription
project *stringProject prefix for task IDs (e.g., "AUTH", "API"). Required.
source *stringPath 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_prioritystringDefault priority for tasks. Default: "P2".
dry_runbooleanIf true, shows what would be imported without modifying BACKLOG.md. Default: false.
phasestringOptional: Only import tasks from a specific phase/section.
source_typestringType 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.

ParameterTypeDescription
task_id *stringThe task ID to promote from backlog (e.g., "AUTH-001").
depends_onarrayTask IDs this depends on (e.g., ["AUTH-002"]). Only active tasks can be dependencies.
duestringDue date in YYYY-MM-DD format.
estimatestringTime estimate (e.g., "2h", "1d", "3d").
ownerstringWho will work on this task. Default: "unassigned".
prioritystringPriority 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.

ParameterTypeDescription
task_id *stringThe task ID to archive (e.g., "AUTH-001"). Must have status "done".
forcebooleanArchive 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.

ParameterTypeDescription
project *stringProject prefix for the task ID (e.g., "AUTH", "API").
title *stringThe task title/description.
phasestringOptional phase/milestone this task belongs to.
prioritystringPriority level. Default: "P2".
subtasksarrayOptional subtasks to include.
tagsarrayOptional tags for categorization.

get_backlog

Reads and returns the current backlog contents with optional filtering. Shows tasks organized by priority with counts and summary.

ParameterTypeDescription
include_promotedbooleanInclude already-promoted items. Default: false.
prioritystringFilter by priority level.
projectstringFilter by project prefix.

update_backlog_item

Updates an item in BACKLOG.md. Can change priority, title, tags, or phase without promoting to active work.

ParameterTypeDescription
task_id *stringThe task ID to update (e.g., "AUTH-001").
phasestringNew phase/milestone.
prioritystringNew priority level (will move to new section).
tagsarrayNew tags (replaces existing).
titlestringNew 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.

ParameterTypeDescription
task_id *stringThe task ID to remove (e.g., "AUTH-001").
reasonstringOptional 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.

ParameterTypeDescription
limitnumberMaximum number of tasks to return. Default: 20.
projectstringFilter 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.

ParameterTypeDescription
task_id *stringThe task ID to unarchive (e.g., "AUTH-001").
statusstringStatus 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.

ParameterTypeDescription
fixbooleanIf true, automatically fix issues that can be auto-corrected (missing timestamps, formatting, etc.). Default: false (report only).
scopestringWhat to lint: "all" (everything), "tasks" (only task files), "docs" (only documentation files). Default: "all".
strictbooleanIf 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.

ParameterTypeDescription
project_name *stringName of the project. Used in headers and metadata.
overwritebooleanIf true, overwrites existing files. Default: false (skip existing).
project_descriptionstringBrief 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…

ParameterTypeDescription
project *stringProject prefix for task IDs when you create tasks (e.g., "AUTH", "API").
filestringSpecific 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.

ParameterTypeDescription
file *stringThe thought file to archive (e.g., "my-ideas.md").
created_tasksarrayArray of task IDs that were created from this thought (e.g., ["AUTH-001", "AUTH-002"]).
notesstringOptional 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.

ParameterTypeDescription
categorystringOptional: Filter by thought category. Currently supported: "todos".
include_archivedbooleanInclude 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.

ParameterTypeDescription
limitnumberMaximum number of archived thoughts to show. Default: 20.

get_thought

Reads a specific thought file and returns its raw content for review.

ParameterTypeDescription
file *stringThe thought file to read (e.g., "my-ideas.md").
categorystringThe category/subdirectory. Default: "todos".
from_archivebooleanRead from archive instead of active thoughts. Default: false.