Yapay zeka agent'larının bağlam olarak kullanabilmesi için kod tabanlarını analiz ederek rotalar, özellikler ve akışlar hakkında yapılandırılmış haritalar oluşturur.
Ayrıca bilinen adı itsflaid/devmap, @flaid/devmap
- Yıldızlar
- 11
- Araçlar
- —
- İndirmeler, 30 gün
- 2.579
- En son sürüm
- 0.9.0
- Son commit
- 14 Kas 2026
- Lisans
- MIT
devmap MCP nedir?
devmap bir MCP sunucusudur. Yapay zeka agent'larının bağlam olarak kullanabilmesi için kod tabanlarını analiz ederek rotalar, özellikler ve akışlar hakkında yapılandırılmış haritalar oluşturur.
Özet, projenin README dosyasından oluşturuldu
devmap MCP sunucusu hakkında
devmap, yapay zeka agent'larına kod tabanınız hakkında yapılandırılmış bir anlayış kazandırmanızı sağlar. Statik analiz ve isteğe bağlı AI yorumlaması gerçekleştirerek rotalar, özellikler ve kritik dosyalar için yeniden kullanılabilir haritalar oluşturan bir CLI aracı olarak çalışır. Bu sayede geliştiriciler, .devmap/index.json ve DEVMAP.md gibi oluşturulan dosyaları kalıcı bir bağlam katmanı olarak kullanarak, her yeni AI sohbet oturumunda proje yapılarını tekrar açıklamak zorunda kalmazlar.
Kullanıcılar sunucuyu npx aracılığıyla yerel olarak çalıştırabilir veya npm kullanarak global olarak yükleyebilirler. AI destekli yorumlamayı etkinleştirmek için başlatma işlemi sırasında Groq, OpenRouter veya OpenAI uyumlu özel bir endpoint için API anahtarı sağlamanız gerekir. Araç, gizlilik odaklı tasarlanmıştır; tüm depo kaynak kodunun yerel kalmasını ve AI modellerine toplu halde gönderilmemesini sağlar. devmap mcp komutu ile bir MCP server olarak çalıştırıldığında, agent'ların yapılandırılmış JSON yanıtları aracılığıyla projenizde gezinmelerine yardımcı olmak için devmap_overview, devmap_map ve devmap_flow gibi özel araçlar sunar.
Neler yapabilirsiniz
- 1Agent'lar için proje mimarisini haritalandırınBir AI agent, her dosyayı okumak zorunda kalmadan bir deponun giriş noktalarını ve kritik dosyalarını anlamak için bu sunucuyu kullanabilir.
- 2Belirli kod özelliklerini analiz edinBir geliştirici, bir modele kesin bağlam sağlamak için tek bir özelliğin veya dosyanın kapsamlı haritasını talep edebilir.
- 3Uygulama mantığı akışlarını izleyinAI'dan uygulamanız içindeki en önemli küratörlü akışları tanımlamasını ve açıklamasını isteyebilirsiniz.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
devmap MCP nasıl yüklenir
Biçimler 10 Kas 2026 tarihinde doğrulandıCursor'a ekleGoose'a ekledevmap MCP'yi Claude Code içine yükleyin
$ claude mcp add devmap -- npx -y @flaid/devmapdevmap MCP'yi Cursor içine yükleyin
~/.cursor/mcp.json
{
"mcpServers": {
"devmap": {
"command": "npx",
"args": [
"-y",
"@flaid/devmap"
]
}
}
}devmap MCP'yi VS Code içine yükleyin
.vscode/mcp.json
{
"servers": {
"devmap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@flaid/devmap"
]
}
}
}devmap MCP'yi VS Code CLI içine yükleyin
$ code --add-mcp '{"name":"devmap","type":"stdio","command":"npx","args":["-y","@flaid/devmap"]}'devmap MCP'yi Claude Desktop içine yükleyin
claude_desktop_config.json
{
"mcpServers": {
"devmap": {
"command": "npx",
"args": [
"-y",
"@flaid/devmap"
]
}
}
}devmap MCP'yi Codex içine yükleyin
$ codex mcp add devmap -- npx -y @flaid/devmapdevmap MCP'yi Codex config.toml içine yükleyin
~/.codex/config.toml
[mcp_servers.devmap] command = "npx" args = ["-y", "@flaid/devmap"]
devmap MCP'yi Gemini CLI içine yükleyin
$ gemini mcp add -s user devmap npx -- -y @flaid/devmapdevmap MCP'yi Gemini settings.json içine yükleyin
~/.gemini/settings.json
{
"mcpServers": {
"devmap": {
"command": "npx",
"args": [
"-y",
"@flaid/devmap"
]
}
}
}Yapılandırma
GROQ_API_KEYOPENROUTER_API_KEY
| Ad | Açıklama | Sunucu |
|---|---|---|
| GROQ_API_KEY | — | |
| OPENROUTER_API_KEY | — |
Otomatik kontroller
Çalıştırıldı 13 Kas 2026Tam rapor →Otomatik kontrollerimizden geçti. Bu bir güvenlik denetimi değildir: kodu okuyun ve sunucuya ihtiyaç duyduğu en dar erişimi verin. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirGeçti
- Açık kaynak lisansı (OSI)Geçti
- Son bir yıl içinde commit veya sürüm mevcutGeçti
- Paket adı popüler bir pakete yakın değilGeçti
- Uzak uç nokta HTTPS kullanıyorKontrol edilmedi
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Modele yönelik gizli talimat yokGeçti
- Pakette veya bağımlılıklarında kritik uyarı yokGeçti
DevMap
Analyze once. Reuse context everywhere. A CLI that maps your codebase for developers and AI agents: entry points, critical files, features and routes.
Documentation · Website · GitHub
Every new AI chat about your code starts from zero — you re-explain the same codebase every time. DevMap fixes that.
It's a CLI that combines static analysis with optional AI
interpretation to build a structured, reusable understanding layer
of your project — once. That layer (.devmap/index.json, feature
maps, DEVMAP.md) is what you and any AI agent read afterward,
instead of re-scanning or re-pasting the whole repo. Full repo
source stays local — nothing gets sent wholesale to the AI model.
Install
npm install --global @flaid/devmap
Or run without a global install:
npx @flaid/devmap --help
Requirements
- Node.js 22.12 or newer
- An API key for an AI provider: Groq, OpenRouter, or any custom OpenAI-compatible endpoint
Static analysis still works when AI is not configured.
Quick Start
Run these commands from the root of the project you want to understand:
devmap init
devmap analyze
devmap onboarding
devmap doctor
devmap init selects a provider, validates its key, stores configuration locally, prepares
.devmap/, generates DEVMAP.md, and integrates with AGENTS.md safely.
AI Provider Setup
Choose Groq, OpenRouter, or a custom OpenAI-compatible endpoint with the arrow keys during:
devmap init
Groq keys are available at https://console.groq.com/keys. OpenRouter keys are available at https://openrouter.ai/keys.
For custom endpoints, DevMap asks for the base URL (prefilled with
http://localhost:20128/v1) and lists the models your server exposes, so any
OpenAI-compatible self-hosted gateway works out of the box.
For OpenRouter, DevMap prompts:
OpenRouter model [openrouter/free]:
Press Enter to use the free router, or type any free or paid OpenRouter model ID. The selected model is saved and used as the primary choice.
For non-interactive Groq setup:
GROQ_API_KEY="your-key" devmap init
On PowerShell:
$env:GROQ_API_KEY="your-key"
devmap init
Remove-Item Env:GROQ_API_KEY
For non-interactive OpenRouter setup:
OPENROUTER_API_KEY="your-key" devmap init
The key is stored locally in ~/.devmap/config.json. Requests go directly from
your machine to the selected provider. DevMap does not send the key to a
DevMap-owned server.
Commands
devmap init
devmap analyze
devmap analyze --fresh
devmap map # full project map
devmap map <feature-or-file> # scoped to one feature or file
devmap flow # curated top flows
devmap flow <feature-or-route>
devmap explain <target> # file, feature, or function
devmap onboarding --write
devmap onboarding --write --language id
devmap doctor
devmap config model auto
devmap mcp # run as an MCP server
Groq and OpenRouter use the model selected during init. Change either provider's model with:
devmap config model <model-id>
devmap config model auto
MCP Server
devmap mcp runs DevMap as a Model Context Protocol
server over stdio. An AI agent asks the project map questions with tool calls and
gets structured JSON back, instead of reading a whole context file up front.
devmap analyze
claude mcp add devmap -- npx -y @flaid/devmap mcp
Other clients launch the same command (npx -y @flaid/devmap mcp) as a stdio server:
{
"mcpServers": {
"devmap": {
"command": "npx",
"args": ["-y", "@flaid/devmap", "mcp"]
}
}
}
Tools: devmap_overview, devmap_map, devmap_flow, devmap_routes,
devmap_impact, devmap_find, devmap_analyze and, only with --allow-ai,
devmap_explain.
The server is read-only and static by default: no AI provider is contacted unless
you start it with --allow-ai, and it only writes inside .devmap/ when the agent
calls devmap_analyze or you start it with --auto-refresh. Every answer reports
whether the snapshot is stale. See the
MCP guide for client
setup and tool inputs.
Generated Context
DevMap generates:
.devmap/index.jsonfor lightweight AI-agent navigation.devmap/features/*.jsonfor focused feature maps and source priority.devmap/snapshot.jsonfor the full structured project analysis archiveDEVMAP.mdfor human and AI-agent usage guidance- a small DevMap block in
AGENTS.mdonly after confirmation when the file already exists
Existing AGENTS.md and DEVMAP.md files are never overwritten.
For AI Agents
Read .devmap/index.json first, open the relevant feature map, and inspect its
sourcePriority files. Use .devmap/snapshot.json only when the lightweight
navigation layer is insufficient.
Use --json for scripts, editors, CI, or AI agents:
devmap analyze --json
devmap onboarding --json
devmap doctor --json
JSON mode writes one parseable JSON document to stdout without ANSI colors, terminal decoration, or streamed partial output.
Supported Stacks
- Frontend: Next.js, Astro, SvelteKit, Nuxt, Remix, React Router v7, TanStack Router/Start, Expo Router, SolidStart, Qwik City, Angular, React, Vue, Svelte
- Backend: Express, NestJS, Fastify, Hono, Elysia, Koa, AdonisJS
Detection covers the full list above; Next.js and Express receive the deepest analysis. Multi-package workspaces are classified per project type, so a monorepo containing a CLI and a web app is reported as both.
Privacy
- Project analysis runs locally before AI interpretation.
- Full repository source is not sent to the selected provider.
.envfiles and common generated directories are ignored.- API keys are stored locally and should never be committed.
Links
- Repository: https://github.com/itsflaid/devmap
- Issues: https://github.com/itsflaid/devmap/issues
- Changelog: https://github.com/itsflaid/devmap/blob/main/CHANGELOG.md
License
MIT
devmap MCP soruları
devmap MCP'yi Claude Code'a nasıl eklerim?
Terminalinizde claude mcp add devmap -- npx -y @flaid/devmap komutunu çalıştırın. Her projede kullanılabilir olması için --scope user ekleyin.
devmap MCP'yi Cursor'a nasıl eklerim?
~/.cursor/mcp.json dosyasını açın ve yukarıdaki yükleme bölümünde gösterilen Cursor yapılandırmasını kullanarak sunucuyu mcpServers altına ekleyin.
DevMap tüm kod tabanımı bir AI sağlayıcısına gönderir mi?
Hayır, tüm depo kaynak kodu yerel olarak kalır ve toplu halde AI modeline gönderilmez.
Hangi AI sağlayıcıları destekleniyor?
DevMap; Groq, OpenRouter veya OpenAI uyumlu herhangi bir özel endpoint'i destekler.
DevMap'i bir AI sağlayıcısı olmadan kullanabilir miyim?
Evet, bir AI yapılandırılmamış olsa bile statik analiz çalışmaya devam eder.