Dev MCP
v2.2.0AI Engineering Operating System for developer workflows.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_file
Read the contents of a file with optional line-range slicing and line numbering.
| Parameter | Type | Description |
|---|---|---|
path * | string | Relative or absolute path to the file. |
end_line | 1-indexed end line inclusive (optional). | |
line_numbers | boolean | If True, prefixes lines with line numbers (e.g. '12 | code'). |
start_line | 1-indexed start line (optional). |
write_file
Write content to a file with atomic commit or append mode.
| Parameter | Type | Description |
|---|---|---|
content * | string | The text content to write. |
path * | string | Relative or absolute path to the file. |
append | boolean | If True, appends to the file instead of overwriting. |
atomic | boolean | If True, writes to a temp file and replaces atomically. |
edit_file
Replace target string with replacement text in a file with occurrence control and diff preview.
| Parameter | Type | Description |
|---|---|---|
new_string * | string | The replacement string. |
old_string * | string | The exact string to find (case-sensitive, whitespace-sensitive). |
path * | string | Relative or absolute path to the file. |
count | integer | Number of occurrences to replace (0 = replace all, 1 = first only). |
batch_replace
Search and replace a string across multiple files matching a glob pattern.
| Parameter | Type | Description |
|---|---|---|
new_string * | string | Replacement text. |
old_string * | string | Exact text to search for. |
pattern * | string | Glob pattern matching files (e.g. 'src/**/*.py', '*.ts'). |
max_files | integer | Safety cap on modified files. |
root_path | string | Base directory for search. |
file_info
Get metadata, line count, permissions, and size for a file or directory.
| Parameter | Type | Description |
|---|---|---|
path * | string |
delete_path
Delete a file or an empty directory.
| Parameter | Type | Description |
|---|---|---|
path * | string | Relative or absolute path to the file/directory. |
delete_recursive
Recursively delete a file or directory tree. Use with caution.
| Parameter | Type | Description |
|---|---|---|
path * | string | Relative or absolute path to the file/directory. |
list_directory
List files and directories inside a given directory with size and clean filtering.
| Parameter | Type | Description |
|---|---|---|
path * | string | Relative or absolute path to the directory. |
include_hidden | boolean | If True, includes hidden and build directories (.git, node_modules, etc.). |
glob_files
Find files matching a glob pattern (e.g. '**/*.ts', 'src/**/*.py') with automatic noise filtering.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Glob pattern (e.g. '**/*.py', 'src/**/*.ts', '*.json'). |
base_path | string | Directory to search from (default: current directory). |
include_hidden | boolean | If True, includes .git, node_modules, .venv files. |
create_directory
Create one or more directories (like mkdir -p).
| Parameter | Type | Description |
|---|---|---|
path * | string | Relative or absolute path to the directory. |
search_code
Search for a text or regex pattern across codebase with ripgrep, noise exclusion, and context lines.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | The text or regex pattern to search for. |
case_sensitive | boolean | If True, enforces strict case sensitivity. |
context_lines | integer | Number of surrounding context lines to show (0 = match line only). |
glob_filter | Optional file pattern filter (e.g. '*.py', '*.ts', '*.{ts,js}'). | |
max_results | integer | Maximum number of result lines to return. |
path | string | Directory to search in (default: current directory). |
run_command
Run a shell command and return its output. Always set a reasonable timeout. Avoid destructive commands (rm -rf, etc.).
| Parameter | Type | Description |
|---|---|---|
command * | string | The shell command to run. |
timeout_seconds | integer | Maximum seconds to wait (default 60, max 300). |
workdir | Working directory for the command (default: server CWD). |
init_context
Initialize or auto-detect project context. Scans project files to detect tech stack, languages, and frameworks.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
get_context
Get the full project context as formatted text. Optionally filter by dot path (e.g. 'tech_stack.languages').
| Parameter | Type | Description |
|---|---|---|
dot_path | string | Optional dot-notation path to get a specific field (e.g. 'project.name', 'tech_stack.languages'). Leave empty to get the entire context. |
path | string | Project root directory. |
update_context
Update a specific field in the project context using dot notation (e.g. 'project.description', 'conventions.code_style').
| Parameter | Type | Description |
|---|---|---|
dot_path * | string | Dot-notation path to the field (e.g. 'project.description'). |
value * | string | The value to set. |
path | string | Project root directory. |
add_to_context_list
Add an item to a list field in the context (e.g. tech_stack.languages, key_files, active_tasks, goals).
| Parameter | Type | Description |
|---|---|---|
dot_path * | string | Path to the list field. |
item * | string | Item to add (string, or JSON for complex items). |
path | string | Project root directory. |
add_key_file
Register a key file with its purpose in the project context.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to the file (relative to project root). |
purpose * | string | What this file does (one sentence). |
details | string | Optional extended notes about the file. |
root_path | string | Project root directory. |
add_task
Add an active task to the project context.
| Parameter | Type | Description |
|---|---|---|
description * | string | What needs to be done. |
task_id * | string | Unique identifier (e.g. 'TASK-1', 'feat-auth'). |
branch | string | Optional git branch name. |
notes | string | Optional notes. |
path | string | Project root directory. |
status | string | One of: pending, in_progress, blocked, completed. |
add_decision
Log an architecture decision record (ADR) in the project context.
| Parameter | Type | Description |
|---|---|---|
decision * | string | What was decided. |
reason * | string | Why this decision was made. |
alternatives | string | Other options that were considered. |
path | string | Project root directory. |
export_context_markdown
Export the project context as a Markdown document for sharing with other LLMs and AI tools.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
remove_context_item
Remove an item from a list in the project context by index.
| Parameter | Type | Description |
|---|---|---|
dot_path * | string | Path to the list (e.g. 'active_tasks', 'key_files'). |
index * | integer | Zero-based index of the item to remove. |
path | string | Project root directory. |
reset_context
Reset the project context to default values (clears all data).
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
project_info
Get information about the current project environment.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
desktop_status
Check desktop accessibility status, permissions, and supported surfaces.
desktop_list_apps
List all running GUI desktop applications.
desktop_list_windows
List all open windows with titles, dimensions, and window IDs.
| Parameter | Type | Description |
|---|---|---|
app | string |
desktop_snapshot
Capture the accessibility tree of an application with actionable @refs.
| Parameter | Type | Description |
|---|---|---|
app * | string | |
compact | boolean | |
interactive_only | boolean |
desktop_find
Search for UI elements matching a role, name, or text in an app.
| Parameter | Type | Description |
|---|---|---|
app * | string | |
name | string | |
role | string |
desktop_click
Click an element using its qualified snapshot reference (@snapshot_id:eN).
| Parameter | Type | Description |
|---|---|---|
ref_id * | string | |
headed | boolean |
desktop_type
Insert text into a text field target using its qualified ref.
| Parameter | Type | Description |
|---|---|---|
ref_id * | string | |
text * | string | |
headed | boolean |
desktop_press
Send a keyboard shortcut or key combo (e.g. 'ctrl+c', 'return', 'escape', 'tab').
| Parameter | Type | Description |
|---|---|---|
key_combo * | string | |
headed | boolean |
desktop_scroll
Scroll an element or page by direction (up, down, left, right).
| Parameter | Type | Description |
|---|---|---|
amount | integer | |
direction | string | |
headed | boolean | |
ref_id | string |
desktop_launch
Launch a desktop application and optionally wait for its window to appear.
| Parameter | Type | Description |
|---|---|---|
app * | string | |
activate | boolean |
desktop_close_app
Close an application gracefully or force terminate it.
| Parameter | Type | Description |
|---|---|---|
app * | string | |
force | boolean |
desktop_focus_window
Bring an application or window to the foreground and focus it.
| Parameter | Type | Description |
|---|---|---|
app | string | |
window_id | string |
desktop_clipboard
Read, write, or clear system clipboard ('get', 'set', or 'clear').
| Parameter | Type | Description |
|---|---|---|
action | string | |
text | string |
desktop_verify_element
Verify if a GUI element exists and assert its state (e.g. enabled, selected).
| Parameter | Type | Description |
|---|---|---|
app * | string | |
expected_state | string | |
name | string | |
role | string |
desktop_screenshot
Take a screenshot of an application window and save to target path.
| Parameter | Type | Description |
|---|---|---|
app * | string | |
output_path * | string |
desktop_action
Universal dispatcher executing ANY agent-desktop CLI command (hover, drag, wait, is, get, toggle, batch, etc.).
| Parameter | Type | Description |
|---|---|---|
command * | string | |
args | array | |
timeout | integer |
get_prd
Retrieve a PRD document (PRD, VISION, SCOPE, REQUIREMENTS). Returns the content of the specified document.
| Parameter | Type | Description |
|---|---|---|
document | string | Which document to read — PRD, VISION, SCOPE, or REQUIREMENTS. |
path | string | Project root directory. |
update_prd
Create or update a PRD document (PRD, VISION, SCOPE, REQUIREMENTS).
| Parameter | Type | Description |
|---|---|---|
content * | string | The full markdown content of the document. |
document * | string | Which document to write — PRD, VISION, SCOPE, or REQUIREMENTS. |
path | string | Project root directory. |
summarize_prd
Summarize key requirements from PRD documents into a concise bullet list.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
compare_work_to_prd
Compare current project context and tasks against PRD requirements to check alignment.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
get_current_phase
Get the current active phase and its status.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
set_phase
Set the current active development phase. Only tasks in this phase are considered 'in scope'.
| Parameter | Type | Description |
|---|---|---|
phase_name * | string | Name of the phase (e.g. 'Phase 4 — Activity Creation'). |
description | string | What this phase involves. |
path | string | Project root directory. |
complete_phase
Mark the current phase as completed and optionally advance to the next phase.
| Parameter | Type | Description |
|---|---|---|
notes | string | Summary of what was accomplished in this phase. |
path | string | Project root directory. |
next_phase
Mark current phase as complete and advance to the next phase in sequence.
| Parameter | Type | Description |
|---|---|---|
phase_name * | string | Name of the next phase. |
description | string | What the next phase involves. |
path | string | Project root directory. |
list_phases
List all phases and their status (completed, active, pending).
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
add_milestone
Define a milestone with a target date and associated features.
| Parameter | Type | Description |
|---|---|---|
name * | string | Milestone name (e.g. 'v1.0 Beta'). |
features | string | Comma-separated list of key features for this milestone. |
path | string | Project root directory. |
target_date | string | Target completion date. |
list_milestones
Show all milestones and their status.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
create_task
Create a new task with phase, priority, dependencies, and description.
| Parameter | Type | Description |
|---|---|---|
title * | string | Short task title. |
depends_on | string | Comma-separated task IDs that must be completed first. |
description | string | Longer description / acceptance criteria. |
path | string | Project root directory. |
phase | string | Which phase this task belongs to (leave empty for current phase). |
priority | string | One of: critical, high, medium, low. |
update_task
Update a task's status, priority, or description by ID.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task ID (e.g. TASK-0001). |
path | string | Project root directory. |
priority | string | One of: critical, high, medium, low. |
status | string | One of: pending, in_progress, blocked, completed, cancelled. |
title | string | New title (if changing). |
complete_task
Mark a task as completed with optional notes.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task ID to complete. |
notes | string | Completion notes. |
path | string | Project root directory. |
next_task
Get the highest-priority task that is ready to work on (dependencies met, current phase).
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
blocked_tasks
List all tasks that are blocked, either by dependencies or explicitly.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
list_tasks
List all active tasks, optionally filtered by phase or status.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
phase | string | Filter by phase name. |
priority | string | Filter by priority (critical, high, medium, low). |
status | string | Filter by status (pending, in_progress, blocked, completed). |
generate_handoff
Generate a session summary capturing what was done, what's next, and current project state for handoff to another AI.
| Parameter | Type | Description |
|---|---|---|
known_issues | string | Any bugs or issues the next session should know about. |
path | string | Project root directory. |
session_summary | string | Brief summary of what was accomplished this session. |
get_last_handoff
Retrieve the most recent AI handoff document so a new AI session has full context.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
list_handoffs
List all AI session handoffs with dates.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
generate_project_brain
Generate a complete aggregated Project Brain dashboard showing current status, phase, active/blocked tasks, recent changes, and recommendations.
| Parameter | Type | Description |
|---|---|---|
path | string |
next_best_action
Intelligently calculate and recommend the next best task to work on based on phase, priority, dependencies, and file hints.
| Parameter | Type | Description |
|---|---|---|
path | string |
start_session
Start a development session. Loads state, PRD, active tasks, and latest handoff to generate a detailed Session Brief for the AI.
| Parameter | Type | Description |
|---|---|---|
path | string |
end_session
End the current session, update progress, and generate a handoff file (does not auto-commit changes).
| Parameter | Type | Description |
|---|---|---|
session_summary * | string | |
known_issues | string | |
path | string |
prepare_commit
Analyze modified workspace files and generate a suggested conventional git commit message and summary for approval.
| Parameter | Type | Description |
|---|---|---|
session_summary * | string | |
path | string |
commit_changes
Stage all workspace changes and commit them to Git with the approved commit message.
| Parameter | Type | Description |
|---|---|---|
message * | string | |
path | string |
validate_architecture
Scan the codebase and validate imports/technologies against the project's architectural guidelines and forbidden tools.
| Parameter | Type | Description |
|---|---|---|
path | string |
build_dependency_graph
Scan files and construct a complete mapping of dependencies and references in the project.
| Parameter | Type | Description |
|---|---|---|
path | string |
impact_analysis
Calculate direct and transitive downstream files affected if a given file is modified.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
path | string |
sync_workspace
Scan the physical workspace (Git diff, new files, current branch, commits) and compare to the Todo plan to auto-detect finished work.
| Parameter | Type | Description |
|---|---|---|
path | string |
verify_work
Perform deep sanity, test, git diff, and architecture checks against a task to output a reality verification dossier.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | |
path | string |
project_dashboard
Generate a unified Project Manager Dashboard combining phase state, todo progress, git status, architecture violations, and a project health score.
| Parameter | Type | Description |
|---|---|---|
path | string |
extract_requirements
Parse PRD markdown files to extract structured requirements and save them into requirements.json.
| Parameter | Type | Description |
|---|---|---|
path | string |
verify_requirements
Scan codebase to map requirement keywords and verify their implementation status and feature coverage.
| Parameter | Type | Description |
|---|---|---|
feature_name | string | |
path | string |
verify_outcome
Perform outcome audits verifying user flows, business goals, and objective completion based on target tasks.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | |
path | string |
assess_project_readiness
Scan the workspace and evaluate its onboarding readiness score (0-100%) against required Project Brain documents.
| Parameter | Type | Description |
|---|---|---|
path | string |
project_readiness_report
Generate a formatted Markdown project readiness report showing missing files, scoring audit, and recommended actions.
| Parameter | Type | Description |
|---|---|---|
path | string |
bootstrap_project
Auto-generate template files and directories (PRD, milestones, active tasks, config yaml) to instantly onboard an unknown repository.
| Parameter | Type | Description |
|---|---|---|
path | string |
adopt_existing_project
Scan an existing legacy codebase (directories, package lists, readmes) and generate context, PRDs, milestones, and audit tasks.
| Parameter | Type | Description |
|---|---|---|
path | string |
doctor
Check the diagnostic health and configuration integrity of the Project Brain and MCP server.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
reset_project_brain
Wipe all Project Brain configuration, tasks, and context metadata inside the selected project. Leaves git and source code untouched.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
archive_project_brain
Archive current Project Brain settings and context files to .project_brain_archive/ before a reset or pivot, preserving history.
| Parameter | Type | Description |
|---|---|---|
path | string | Project root directory. |
create_project_workspace
Create a new isolated project workspace directory, initialize git, bootstrap the project context/brain, and set up first milestone.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the project directory to create. |
path | string | Parent directory path (default is '.'). |
template | string | Workspace template name ('blank', 'nextjs', or 'python'). |
get_dev_mcp_profile
Get the active dev-mcp tool profile and registered module count.