Skip to main content
Glama
README.md
# Dev MCP

Standalone local development intelligence for humans, scripts and AI agents. One installation, multiple projects. The Cyclopts CLI and FastMCP stdio server share typed Pydantic services. No project needs to vendor this code.

## Install and inspect

During development, from this repository:

```sh
uv sync
uv run dev-mcp --help
uv run dev-mcp doctor --json
uv run dev-mcp discover ~/projects --register --json
uv run dev-mcp projects list --json
uv run dev-mcp project context ./ --json
```

After the first release is published, install from its Git tag with `uv tool install "git+https://github.com/RuchirChawdhry/dev-mcp.git@v0.1.0"`. The package is not yet published to PyPI.

## Agent integration

Configure your client to run `dev-mcp serve` as a local stdio MCP server. Use the absolute installed executable path if the client's PATH differs.

```json
{
  "mcpServers": {
    "dev-mcp": {
      "command": "dev-mcp",
      "args": ["serve"]
    }
  }
}
```

Discover projects, then pass their returned ID or explicit path to tools. Never switch a global active project. Omitted selectors resolve from the server's startup working directory, not from an agent's terminal after it changes directory. Registration stores a snapshot; inspection refreshes metadata from disk. Same-name projects and worktrees remain distinct.

See [configuration](docs/configuration.md), [commands and tools](docs/commands.md) and [architecture](docs/architecture.md).

## Development

Install the repository's Git pre-commit hook once per checkout:

```sh
uv sync
uv run pre-commit install
```

The hook runs `uv run ruff check --fix --force-exclude` on staged Python files. If Ruff changes files, review and stage the fixes, then retry the commit. Unfixable lint errors block commits. CI still runs non-mutating lint checks.

Run the hook manually across tracked files with `uv run pre-commit run --all-files`.

```sh
uv run ruff check .
# Format changes with: uv run ruff format .
uv run pytest --ctrf report.json --benchmark-json=benchmarks.json
uv build
```

The benchmark suite measures synthetic project discovery and context lookup, not agentic throughput yet.

## Scope of v0.1

Static discovery and metadata, YAML configuration, SQLite WAL registry, Git status, Task inventory, typed project context, CLI/MCP parity. No task execution, arbitrary shell tool, project source rewriting, indexing, FastAPI runtime imports or forge network operations yet. Dev MCP is development infrastructure, not application code.

TDQS

B3.2/5.0

Scored across 12 tools

Disambiguation4/5

Most tools clearly target distinct resources or actions, such as project registration, structure, capabilities, tasks, and git status. However, context_summary versus project_context and discover_projects versus list_projects could still be confused by an agent, though descriptions provide some separation.

Naming Consistency3/5

All names use snake_case, but the convention mixes imperative verb_noun names like discover_projects and list_tasks with noun phrases like doctor, project_context, context_summary, and git_status. The set remains readable, but the pattern is not predictable.

Tool Count5/5

Twelve tools fit the broad scope of project discovery, registry management, context recovery, workspace configuration, structure inspection, tasks, and git status. Each tool appears to serve a distinct role without obvious filler.

Completeness3/5

Project lifecycle coverage is fairly strong with discover, register, list, unregister, and context tools. However, workspace configuration only supports adding a root, tasks are limited to listing, and git support is limited to status, leaving notable gaps around workspace removal/listing, task execution, and richer git inspection.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues