Dev MCP

v2.2.0
io.github.pranjal2410719/dev-mcp Checked 1 day ago Published 25 days ago

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

ParameterTypeDescription
path *stringRelative or absolute path to the file.
end_line1-indexed end line inclusive (optional).
line_numbersbooleanIf True, prefixes lines with line numbers (e.g. '12 | code').
start_line1-indexed start line (optional).

write_file

Write content to a file with atomic commit or append mode.

ParameterTypeDescription
content *stringThe text content to write.
path *stringRelative or absolute path to the file.
appendbooleanIf True, appends to the file instead of overwriting.
atomicbooleanIf 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.

ParameterTypeDescription
new_string *stringThe replacement string.
old_string *stringThe exact string to find (case-sensitive, whitespace-sensitive).
path *stringRelative or absolute path to the file.
countintegerNumber of occurrences to replace (0 = replace all, 1 = first only).

batch_replace

Search and replace a string across multiple files matching a glob pattern.

ParameterTypeDescription
new_string *stringReplacement text.
old_string *stringExact text to search for.
pattern *stringGlob pattern matching files (e.g. 'src/**/*.py', '*.ts').
max_filesintegerSafety cap on modified files.
root_pathstringBase directory for search.

file_info

Get metadata, line count, permissions, and size for a file or directory.

ParameterTypeDescription
path *string

delete_path

Delete a file or an empty directory.

ParameterTypeDescription
path *stringRelative or absolute path to the file/directory.

delete_recursive

Recursively delete a file or directory tree. Use with caution.

ParameterTypeDescription
path *stringRelative or absolute path to the file/directory.

list_directory

List files and directories inside a given directory with size and clean filtering.

ParameterTypeDescription
path *stringRelative or absolute path to the directory.
include_hiddenbooleanIf 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.

ParameterTypeDescription
pattern *stringGlob pattern (e.g. '**/*.py', 'src/**/*.ts', '*.json').
base_pathstringDirectory to search from (default: current directory).
include_hiddenbooleanIf True, includes .git, node_modules, .venv files.

create_directory

Create one or more directories (like mkdir -p).

ParameterTypeDescription
path *stringRelative or absolute path to the directory.

search_code

Search for a text or regex pattern across codebase with ripgrep, noise exclusion, and context lines.

ParameterTypeDescription
pattern *stringThe text or regex pattern to search for.
case_sensitivebooleanIf True, enforces strict case sensitivity.
context_linesintegerNumber of surrounding context lines to show (0 = match line only).
glob_filterOptional file pattern filter (e.g. '*.py', '*.ts', '*.{ts,js}').
max_resultsintegerMaximum number of result lines to return.
pathstringDirectory 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.).

ParameterTypeDescription
command *stringThe shell command to run.
timeout_secondsintegerMaximum seconds to wait (default 60, max 300).
workdirWorking 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.

ParameterTypeDescription
pathstringProject root directory.

get_context

Get the full project context as formatted text. Optionally filter by dot path (e.g. 'tech_stack.languages').

ParameterTypeDescription
dot_pathstringOptional dot-notation path to get a specific field (e.g. 'project.name', 'tech_stack.languages'). Leave empty to get the entire context.
pathstringProject root directory.

update_context

Update a specific field in the project context using dot notation (e.g. 'project.description', 'conventions.code_style').

ParameterTypeDescription
dot_path *stringDot-notation path to the field (e.g. 'project.description').
value *stringThe value to set.
pathstringProject 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).

ParameterTypeDescription
dot_path *stringPath to the list field.
item *stringItem to add (string, or JSON for complex items).
pathstringProject root directory.

add_key_file

Register a key file with its purpose in the project context.

ParameterTypeDescription
file_path *stringPath to the file (relative to project root).
purpose *stringWhat this file does (one sentence).
detailsstringOptional extended notes about the file.
root_pathstringProject root directory.

add_task

Add an active task to the project context.

ParameterTypeDescription
description *stringWhat needs to be done.
task_id *stringUnique identifier (e.g. 'TASK-1', 'feat-auth').
branchstringOptional git branch name.
notesstringOptional notes.
pathstringProject root directory.
statusstringOne of: pending, in_progress, blocked, completed.

add_decision

Log an architecture decision record (ADR) in the project context.

ParameterTypeDescription
decision *stringWhat was decided.
reason *stringWhy this decision was made.
alternativesstringOther options that were considered.
pathstringProject root directory.

export_context_markdown

Export the project context as a Markdown document for sharing with other LLMs and AI tools.

ParameterTypeDescription
pathstringProject root directory.

remove_context_item

Remove an item from a list in the project context by index.

ParameterTypeDescription
dot_path *stringPath to the list (e.g. 'active_tasks', 'key_files').
index *integerZero-based index of the item to remove.
pathstringProject root directory.

reset_context

Reset the project context to default values (clears all data).

ParameterTypeDescription
pathstringProject root directory.

project_info

Get information about the current project environment.

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

ParameterTypeDescription
appstring

desktop_snapshot

Capture the accessibility tree of an application with actionable @refs.

ParameterTypeDescription
app *string
compactboolean
interactive_onlyboolean

desktop_find

Search for UI elements matching a role, name, or text in an app.

ParameterTypeDescription
app *string
namestring
rolestring

desktop_click

Click an element using its qualified snapshot reference (@snapshot_id:eN).

ParameterTypeDescription
ref_id *string
headedboolean

desktop_type

Insert text into a text field target using its qualified ref.

ParameterTypeDescription
ref_id *string
text *string
headedboolean

desktop_press

Send a keyboard shortcut or key combo (e.g. 'ctrl+c', 'return', 'escape', 'tab').

ParameterTypeDescription
key_combo *string
headedboolean

desktop_scroll

Scroll an element or page by direction (up, down, left, right).

ParameterTypeDescription
amountinteger
directionstring
headedboolean
ref_idstring

desktop_launch

Launch a desktop application and optionally wait for its window to appear.

ParameterTypeDescription
app *string
activateboolean

desktop_close_app

Close an application gracefully or force terminate it.

ParameterTypeDescription
app *string
forceboolean

desktop_focus_window

Bring an application or window to the foreground and focus it.

ParameterTypeDescription
appstring
window_idstring

desktop_clipboard

Read, write, or clear system clipboard ('get', 'set', or 'clear').

ParameterTypeDescription
actionstring
textstring

desktop_verify_element

Verify if a GUI element exists and assert its state (e.g. enabled, selected).

ParameterTypeDescription
app *string
expected_statestring
namestring
rolestring

desktop_screenshot

Take a screenshot of an application window and save to target path.

ParameterTypeDescription
app *string
output_path *string

desktop_action

Universal dispatcher executing ANY agent-desktop CLI command (hover, drag, wait, is, get, toggle, batch, etc.).

ParameterTypeDescription
command *string
argsarray
timeoutinteger

get_prd

Retrieve a PRD document (PRD, VISION, SCOPE, REQUIREMENTS). Returns the content of the specified document.

ParameterTypeDescription
documentstringWhich document to read — PRD, VISION, SCOPE, or REQUIREMENTS.
pathstringProject root directory.

update_prd

Create or update a PRD document (PRD, VISION, SCOPE, REQUIREMENTS).

ParameterTypeDescription
content *stringThe full markdown content of the document.
document *stringWhich document to write — PRD, VISION, SCOPE, or REQUIREMENTS.
pathstringProject root directory.

summarize_prd

Summarize key requirements from PRD documents into a concise bullet list.

ParameterTypeDescription
pathstringProject root directory.

compare_work_to_prd

Compare current project context and tasks against PRD requirements to check alignment.

ParameterTypeDescription
pathstringProject root directory.

get_current_phase

Get the current active phase and its status.

ParameterTypeDescription
pathstringProject root directory.

set_phase

Set the current active development phase. Only tasks in this phase are considered 'in scope'.

ParameterTypeDescription
phase_name *stringName of the phase (e.g. 'Phase 4 — Activity Creation').
descriptionstringWhat this phase involves.
pathstringProject root directory.

complete_phase

Mark the current phase as completed and optionally advance to the next phase.

ParameterTypeDescription
notesstringSummary of what was accomplished in this phase.
pathstringProject root directory.

next_phase

Mark current phase as complete and advance to the next phase in sequence.

ParameterTypeDescription
phase_name *stringName of the next phase.
descriptionstringWhat the next phase involves.
pathstringProject root directory.

list_phases

List all phases and their status (completed, active, pending).

ParameterTypeDescription
pathstringProject root directory.

add_milestone

Define a milestone with a target date and associated features.

ParameterTypeDescription
name *stringMilestone name (e.g. 'v1.0 Beta').
featuresstringComma-separated list of key features for this milestone.
pathstringProject root directory.
target_datestringTarget completion date.

list_milestones

Show all milestones and their status.

ParameterTypeDescription
pathstringProject root directory.

create_task

Create a new task with phase, priority, dependencies, and description.

ParameterTypeDescription
title *stringShort task title.
depends_onstringComma-separated task IDs that must be completed first.
descriptionstringLonger description / acceptance criteria.
pathstringProject root directory.
phasestringWhich phase this task belongs to (leave empty for current phase).
prioritystringOne of: critical, high, medium, low.

update_task

Update a task's status, priority, or description by ID.

ParameterTypeDescription
task_id *stringThe task ID (e.g. TASK-0001).
pathstringProject root directory.
prioritystringOne of: critical, high, medium, low.
statusstringOne of: pending, in_progress, blocked, completed, cancelled.
titlestringNew title (if changing).

complete_task

Mark a task as completed with optional notes.

ParameterTypeDescription
task_id *stringThe task ID to complete.
notesstringCompletion notes.
pathstringProject root directory.

next_task

Get the highest-priority task that is ready to work on (dependencies met, current phase).

ParameterTypeDescription
pathstringProject root directory.

blocked_tasks

List all tasks that are blocked, either by dependencies or explicitly.

ParameterTypeDescription
pathstringProject root directory.

list_tasks

List all active tasks, optionally filtered by phase or status.

ParameterTypeDescription
pathstringProject root directory.
phasestringFilter by phase name.
prioritystringFilter by priority (critical, high, medium, low).
statusstringFilter 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.

ParameterTypeDescription
known_issuesstringAny bugs or issues the next session should know about.
pathstringProject root directory.
session_summarystringBrief 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.

ParameterTypeDescription
pathstringProject root directory.

list_handoffs

List all AI session handoffs with dates.

ParameterTypeDescription
pathstringProject root directory.

generate_project_brain

Generate a complete aggregated Project Brain dashboard showing current status, phase, active/blocked tasks, recent changes, and recommendations.

ParameterTypeDescription
pathstring

next_best_action

Intelligently calculate and recommend the next best task to work on based on phase, priority, dependencies, and file hints.

ParameterTypeDescription
pathstring

start_session

Start a development session. Loads state, PRD, active tasks, and latest handoff to generate a detailed Session Brief for the AI.

ParameterTypeDescription
pathstring

end_session

End the current session, update progress, and generate a handoff file (does not auto-commit changes).

ParameterTypeDescription
session_summary *string
known_issuesstring
pathstring

prepare_commit

Analyze modified workspace files and generate a suggested conventional git commit message and summary for approval.

ParameterTypeDescription
session_summary *string
pathstring

commit_changes

Stage all workspace changes and commit them to Git with the approved commit message.

ParameterTypeDescription
message *string
pathstring

validate_architecture

Scan the codebase and validate imports/technologies against the project's architectural guidelines and forbidden tools.

ParameterTypeDescription
pathstring

build_dependency_graph

Scan files and construct a complete mapping of dependencies and references in the project.

ParameterTypeDescription
pathstring

impact_analysis

Calculate direct and transitive downstream files affected if a given file is modified.

ParameterTypeDescription
file_path *string
pathstring

sync_workspace

Scan the physical workspace (Git diff, new files, current branch, commits) and compare to the Todo plan to auto-detect finished work.

ParameterTypeDescription
pathstring

verify_work

Perform deep sanity, test, git diff, and architecture checks against a task to output a reality verification dossier.

ParameterTypeDescription
task_id *string
pathstring

project_dashboard

Generate a unified Project Manager Dashboard combining phase state, todo progress, git status, architecture violations, and a project health score.

ParameterTypeDescription
pathstring

extract_requirements

Parse PRD markdown files to extract structured requirements and save them into requirements.json.

ParameterTypeDescription
pathstring

verify_requirements

Scan codebase to map requirement keywords and verify their implementation status and feature coverage.

ParameterTypeDescription
feature_namestring
pathstring

verify_outcome

Perform outcome audits verifying user flows, business goals, and objective completion based on target tasks.

ParameterTypeDescription
task_id *string
pathstring

assess_project_readiness

Scan the workspace and evaluate its onboarding readiness score (0-100%) against required Project Brain documents.

ParameterTypeDescription
pathstring

project_readiness_report

Generate a formatted Markdown project readiness report showing missing files, scoring audit, and recommended actions.

ParameterTypeDescription
pathstring

bootstrap_project

Auto-generate template files and directories (PRD, milestones, active tasks, config yaml) to instantly onboard an unknown repository.

ParameterTypeDescription
pathstring

adopt_existing_project

Scan an existing legacy codebase (directories, package lists, readmes) and generate context, PRDs, milestones, and audit tasks.

ParameterTypeDescription
pathstring

doctor

Check the diagnostic health and configuration integrity of the Project Brain and MCP server.

ParameterTypeDescription
pathstringProject root directory.

reset_project_brain

Wipe all Project Brain configuration, tasks, and context metadata inside the selected project. Leaves git and source code untouched.

ParameterTypeDescription
pathstringProject root directory.

archive_project_brain

Archive current Project Brain settings and context files to .project_brain_archive/ before a reset or pivot, preserving history.

ParameterTypeDescription
pathstringProject root directory.

create_project_workspace

Create a new isolated project workspace directory, initialize git, bootstrap the project context/brain, and set up first milestone.

ParameterTypeDescription
name *stringName of the project directory to create.
pathstringParent directory path (default is '.').
templatestringWorkspace template name ('blank', 'nextjs', or 'python').

get_dev_mcp_profile

Get the active dev-mcp tool profile and registered module count.