frontdex MCP server
2026년 10월 21일 커밋Creates a living knowledge base of frontend source code to help developers and coding agents map components, pages, props, and impact analysis.
다른 이름 Prathmesh2000/frontdex
- 스타
- 2
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- —
- 마지막 커밋
- 2026년 10월 21일
- 라이선스
- Apache-2.0
frontdex MCP란?
frontdex은(는) MCP server입니다. Creates a living knowledge base of frontend source code to help developers and coding agents map components, pages, props, and impact analysis.
프로젝트 README에서 생성된 요약
자동 검사
2026년 11월 15일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능prathmesh2000/frontdex is public and reachablegithub.com/prathmesh2000/frontdex ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-10-21github.com/prathmesh2000/frontdex ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기frontdex
A living knowledge base of your frontend, for developers and coding agents. frontdex reads your source code and maps every component, page, route, prop, piece of state, API call, style, test and health issue, then keeps that map current as you code. Think Swagger/OpenAPI, but for your UI.
Works with React, Next.js, Remix, TanStack, Vue, Nuxt, Svelte, SvelteKit, Astro, Angular, Web Components and plain HTML. No runtime code, no model calls, nothing added to your production build.

Why
| Problem | What frontdex does |
|---|---|
| Nobody knows which page a component ends up on, or what breaks if its props change | Maps component → parents → pages, with impact analysis for any change |
Coding agents create the fifth Button, ignore existing stores and miss callers |
Gives agents always-on rules, an MCP server and per-edit feedback so they search, reuse and check impact first |
| PR reviews show file diffs, not what the UI change does | Posts a PR comment with changed components, the pages they reach and new issues |
| Leaks, render loops and dead code are found in production | Flags them statically with file:line and a fix |
What you get
- For developers: a UI (
npx frontdex serve) that starts from URLs: page → layouts → components → props, state, effects, API calls, styles, tests and docs, each linked tofile:line. Plusfrontdex.yaml, a reviewable spec of the whole frontend. - For coding agents:
.frontdex/agent/(Markdown cards and a JSON graph), rules for Claude Code, Cursor, OpenCode, Antigravity, Hermes, Copilot and anything that readsAGENTS.md, an MCP server with 23 tools, and hooks that report the impact of every edit. - For reviewers and CI:
frontdex diffand a GitHub Action that comment on PRs with an impact graph and field-by-field changes, and can fail on new high-severity issues.
How it works
flowchart LR
Src[Your source] -->|frontdex scan| Scan[Incremental scanner<br/>re-parses changed files only]
Watch["frontdex watch<br/>Next / Vite / webpack plugin"] --> Scan
Hooks[Agent hooks after each edit] --> Scan
Scan --> Yaml[frontdex.yaml<br/>human spec]
Scan --> KB[.frontdex/agent<br/>cards · graph · rules]
Scan --> Hist[.frontdex/history<br/>snapshots]
Yaml --> UI[frontdex serve<br/>UI + local API]
KB --> Agents[Coding agents<br/>rules · MCP · hooks]
Yaml --> CI[frontdex diff<br/>PR comment]
frontdex parses your code with Babel (and the project's own Vue, Svelte and Astro compilers), links imports, renders and routes into one graph, runs its analyzers, and writes the results. Details: docs/ARCHITECTURE.md.
Quick start
From your frontend's root:
npm install --save-dev frontdex frontdex-mcp # or pnpm add -D / yarn add -D / bun add -d
npx frontdex init --auto-update # writes frontdex.config.json
npx frontdex scan # builds the knowledge base
npx frontdex agents # wires your coding agents (rules, MCP, hooks)
npx frontdex serve # UI at http://localhost:4400
frontdex-mcp is only needed for agents that use MCP. Commit frontdex.config.json, frontdex.yaml and .frontdex/ (the cache and history stay git-ignored). npx frontdex doctor shows what was detected and what is missing.
Coming from react-catalogue? See docs/MIGRATING.md.
Coding agents
npx frontdex agents sets up every supported agent at once; --targets picks some. Prefer to do it by hand? docs/AGENTS.md has copy-paste rules and MCP config for each one.
| Agent | Rules | MCP | Hooks after edits |
|---|---|---|---|
| Claude Code | AGENTS.md / CLAUDE.md import |
.mcp.json |
yes |
| Cursor | .cursor/rules/frontdex.mdc |
.cursor/mcp.json |
yes |
| OpenCode | AGENTS.md |
opencode.json |
– |
| Antigravity | .agents/rules/frontdex.md |
.agents/mcp_config.json |
– |
| Hermes | AGENTS.md |
~/.hermes/config.yaml with --user-config |
– |
| Copilot, Codex, Gemini CLI, others | AGENTS.md, .github/copilot-instructions.md |
their MCP config | – |
The rules tell agents to search before creating a component, read its card before editing, check impact before changing props, reuse existing state, endpoints and styles, run the tests that cover the change, and keep component docs current.
Let your agent install it. Paste this into Claude Code, Cursor, Antigravity or any agent:
Set up frontdex in this project: install frontdex and frontdex-mcp as dev dependencies, run
`npx frontdex init --auto-update`, `npx frontdex scan`, then `npx frontdex agents --targets <your agent>`.
Then read .frontdex/agent/INDEX.md and follow its rules from now on.
Agents can also read llms.txt.
Features
| Feature | In short | Reference |
|---|---|---|
| Page-first UI | Site map, component pages, graph, state, health, design tokens, history, tests and docs views; Ctrl K search with a query language (uses:Button is:shared) |
The UI |
| Rendering and navigation | The condition each child renders under, screens switched by state, links between pages, routes from constants, params and static data | What gets detected |
| PR impact | frontdex diff origin/main and a GitHub Action comment: impact graph, before/after per field, new issues |
Pull requests and CI |
| Tests | Unit and E2E tests mapped to components and pages, runnable from the UI | Tests |
| Component docs | Your coding agent writes Storybook-style docs through MCP; stored in the repo, flagged when stale | Component docs |
| Health | Memory leaks, render loops, unsafe async updates, stale deps, dead code, accessibility, heavy imports | What gets detected |
| Design system | Duplicate components, design tokens, hard-coded values that should use them | Commands |
| Live updates | frontdex watch or the Next/Vite/webpack plugin: a save shows up in about 130 ms on a 20k-component repo |
Auto-update |
| History | Git-like snapshots of the catalogue with field-level changes | History |
To try it without your own project, clone this repo, run npm ci, then node bin/frontdex.js serve -C examples/next-app.
Documentation
| Doc | For |
|---|---|
| docs/USAGE.md | Every command, plugin, CI setup, configuration option, and what gets detected |
| docs/AGENTS.md | Setting up each coding agent, automatically or by hand |
| docs/SPEC.md | The frontdex.yaml format (CatalogueSpec) |
| docs/ARCHITECTURE.md | How frontdex works inside |
| docs/MIGRATING.md | Moving from react-catalogue |
| frontdex-mcp | The MCP server and its tools |
| CHANGELOG.md | Release notes |
Contributing
Issues and pull requests are welcome, especially detection gaps: a router, pattern or framework frontdex misses. Start with CONTRIBUTING.md and docs/ARCHITECTURE.md. Coding agents working on this repo should read AGENTS.md. Everyone follows the Code of Conduct; report security issues as described in SECURITY.md.
License and credit
frontdex is open source under the Apache License 2.0, created by Prathmesh Agrawal. You can use it, change it and ship it, commercially or not. If you redistribute frontdex or a modified version, keep the LICENSE and NOTICE files with it and mark the files you changed.
If frontdex helps your project, a mention is appreciated:
Frontend knowledge base by [frontdex](https://github.com/Prathmesh2000/frontdex).
Versions up to 0.3.x were published under the MIT license and remain available under it.
frontdex MCP 질문
What frameworks does frontdex support?
It works with React, Next.js, Remix, TanStack, Vue, Nuxt, Svelte, SvelteKit, Astro, Angular, Web Components, and plain HTML.
Does frontdex add any code to my production build?
No, it operates without adding any runtime code or model calls to your production build.
How can I set up frontdex for my coding agent?
You can use the command npx frontdex agents to wire up supported agents like Claude Code, Cursor, or Copilot.