# devmap MCP server

> Analyzes codebases to create structured maps of routes, features, and flows for AI agents to use as context.

- Repository: https://github.com/itsflaid/devmap
- Page: https://hostedmcp.org/servers/itsflaid/devmap
- Transport: stdio
- Stars: 11
- License: MIT
- Latest version: 0.9.0

## Install

### Claude Code

```sh
claude mcp add devmap -- npx -y @flaid/devmap
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "devmap": {
      "command": "npx",
      "args": [
        "-y",
        "@flaid/devmap"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "devmap": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@flaid/devmap"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"devmap","type":"stdio","command":"npx","args":["-y","@flaid/devmap"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "devmap": {
      "command": "npx",
      "args": [
        "-y",
        "@flaid/devmap"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add devmap -- npx -y @flaid/devmap
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.devmap]
command = "npx"
args = ["-y", "@flaid/devmap"]
```

### Gemini CLI

```sh
gemini mcp add -s user devmap npx -- -y @flaid/devmap
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "devmap": {
      "command": "npx",
      "args": [
        "-y",
        "@flaid/devmap"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `GROQ_API_KEY` | no | no |  |
| `OPENROUTER_API_KEY` | no | no |  |

## FAQ

### Does DevMap send my entire codebase to an AI provider?

No, the full repository source stays local and is not sent wholesale to the AI model.

### What AI providers are supported?

DevMap supports Groq, OpenRouter, or any custom OpenAI-compatible endpoint.

### Can I use DevMap without an AI provider?

Yes, static analysis still works even if an AI is not configured.
