FixMap MCP server
2026년 11월 13일 커밋AI 코딩 에이전트가 특정 작업에 필요한 관련 파일, 테스트 및 리스크를 식별할 수 있도록 결정론적인 로컬 우선 컨텍스트와 영향력 지도를 제공합니다.
다른 이름 aryamthecodebreaker/FixMap, @aryam/fixmap
- 스타
- 21
- Tools
- —
- 다운로드, 30일
- 367
- 최신 버전
- 0.9.0
- 마지막 커밋
- 2026년 11월 13일
- 라이선스
- MIT
FixMap MCP란?
FixMap은(는) MCP server입니다. AI 코딩 에이전트가 특정 작업에 필요한 관련 파일, 테스트 및 리스크를 식별할 수 있도록 결정론적인 로컬 우선 컨텍스트와 영향력 지도를 제공합니다.
프로젝트 README에서 생성된 요약
FixMap MCP server 정보
FixMap은 AI 코딩 에이전트가 특정 버그나 작업과 관련된 정확한 파일, 테스트 및 리스크를 식별할 수 있도록 돕습니다. Claude Code, Cursor, GitHub Copilot과 같은 도구가 코드베이스의 가장 관련성 높은 부분으로 향할 수 있도록 결정론적이고 로컬 우선인 컨텍스트 지도를 제공합니다. import, 역의존성(reverse dependents), Git 공동 변경 이력을 분석하여 계정, API key 또는 외부 모델 호출 없이도 검토해야 할 파일과 실행해야 할 테스트의 순위 목록을 생성합니다.
개발자는 CLI를 사용하여 GitHub issue URL이나 일반 텍스트 설명으로부터 계획을 생성할 수 있습니다. 이 도구는 로컬 저장소 또는 공개 저장소의 격리된 체크아웃본을 스캔할 수 있으며, 소스 코드가 절대 업로드되지 않도록 보장합니다. 주요 컨텍스트와 라우팅된 테스트 및 의존성 체인과 같은 예상 영향 영역을 구분합니다. 사용자는 watch 명령을 사용하여 작업 트리(working tree)가 변경됨에 따라 영향 범위를 자동으로 재계산하거나, context 명령을 사용하여 정의된 토큰 예산 내에서 특정 소스 범위를 추출할 수 있습니다.
활용 사례
- 1버그 관련 파일 식별특정 이슈 설명을 기반으로 AI 에이전트가 조사해야 할 파일 및 테스트의 우선순위 목록을 제공합니다.
- 2토큰 제한 내 컨텍스트 추출설정된 소스 토큰 예산 내에서 주요 파일 및 영향 파일로부터 특정 코드 스니펫을 요청합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
FixMap MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 FixMap MCP 설치
$ claude mcp add fixmap -- npx -y @aryam/fixmapCursor에 FixMap MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"fixmap": {
"command": "npx",
"args": [
"-y",
"@aryam/fixmap"
]
}
}
}VS Code에 FixMap MCP 설치
.vscode/mcp.json
{
"servers": {
"fixmap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aryam/fixmap"
]
}
}
}VS Code CLI에 FixMap MCP 설치
$ code --add-mcp '{"name":"fixmap","type":"stdio","command":"npx","args":["-y","@aryam/fixmap"]}'Claude Desktop에 FixMap MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"fixmap": {
"command": "npx",
"args": [
"-y",
"@aryam/fixmap"
]
}
}
}Codex에 FixMap MCP 설치
$ codex mcp add fixmap -- npx -y @aryam/fixmapCodex config.toml에 FixMap MCP 설치
~/.codex/config.toml
[mcp_servers.fixmap] command = "npx" args = ["-y", "@aryam/fixmap"]
Gemini CLI에 FixMap MCP 설치
$ gemini mcp add -s user fixmap npx -- -y @aryam/fixmapGemini settings.json에 FixMap MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"fixmap": {
"command": "npx",
"args": [
"-y",
"@aryam/fixmap"
]
}
}
}자동 검사
2026년 11월 12일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)통과
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음@aryam/fixmap looks like finmap-mcp결함 발견
- 원격 엔드포인트가 HTTPS 사용검사되지 않음
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 모델에 대한 숨겨진 지침 없음통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음통과
README
GitHub에서 보기FixMap
Tell AI coding tools which files to check first.
Describe what is broken. FixMap checks the project and gives tools like Codex, Claude Code, and Cursor a short list of files to open, tests to run, and other code to review. It includes reasons and says when it is unsure—without an account, API key, or model call.
Website · Use cases · Live demo · Documentation · Evidence · Changelog
Try a task in the homepage sample. It runs the real FixMap Plan engine in the tab against the bundled sample-api project. It does not inspect your repository or upload the task text. Use Get started for your own repository, or open the full browser demo for advanced workflows.
Install
Requires Node.js 20.11 or newer.
npm install --global @aryam/fixmap@latest
fixmap plan --issue https://github.com/chalk/chalk/issues/624
For a one-off trial:
npx -y @aryam/fixmap@latest plan --issue https://github.com/chalk/chalk/issues/624
Install a discoverable /fixmap command for Claude Code, Cursor, GitHub Copilot, and Agent Skills:
fixmap setup
Type /fixmap with no task to see the full feature menu, or run fixmap features in a terminal. Use fixmap setup --agent <name> to install one integration, and --force only after reviewing an existing customized command.
FixMap fetches a public task, infers its repository, scans a temporary isolated checkout, and removes it when the report is complete. Local repository analysis never uploads source.
Everyday workflow
Save a plan before editing:
fixmap plan --issue "password reset emails fail" --format json --output plan.json
The plan separates primary context from likely impact: imports, reverse dependents, routed tests, and repeated Git co-change relationships. Impact files are places to inspect, not assumed edits.
Measure BM25, FixMap, and Impact Graph on your own repository's history:
fixmap benchmark --repo . --last 50
Keep the saved plan beside an agent while it edits. Watch emits a new verification only when the working tree changes and recalculates impact around the actual diff:
fixmap watch --report plan.json --repo . --include-untracked
Give an agent the relevant source ranges instead of only file names. Context draws from primary and impact files and stays within an estimated source-token budget:
fixmap context --issue "password reset emails fail" --budget 10000
Export the evidence graph for a pull request, issue, or design note:
fixmap graph --issue "password reset emails fail" --format mermaid
Use compact headings in an agent context window:
fixmap plan --issue "password reset emails fail" --format agent
Ask why an expected path is missing:
fixmap plan --issue "password reset emails fail" --explain src/auth/token.ts
Refine the task and compare the ranking:
fixmap plan --issue "sendMail throws during password reset" --compare plan.json
Verify the completed diff against the saved plan:
fixmap verify --report plan.json --diff main...HEAD
Validate a saved report before another tool consumes it:
fixmap validate plan.json
Use --working-tree for staged and unstaged tracked edits, --include-untracked when new files should count as changes, --exclude or .fixmapignore to focus the map, and --no-cache to force a fresh scan. Add --fail-on warning to Verify when advisory findings must fail CI. Run fixmap --help for the complete command reference.
Complete feature catalog
Inputs and repository mapping
- Accepts a public GitHub issue or pull-request URL, plain task text, a UTF-8 or UTF-16
--issue-file(including common BOM-less Windows UTF-16 files), or task text from stdin. - Normalizes supported browser and GitHub API issue URLs, including
www, query strings, and fragments, while rejecting credentials, lookalike hosts, ports, and unsafe encoded paths. - Scans the current checkout, another local path, a
file://URL, or an isolated checkout of a public GitHub repository. - Maps
--diff <spec>,--base/--head, or the current--working-tree; untracked changes remain opt-in with--include-untracked. - Reuses raw repository scans only when the repository root, commit, status, and binary diff are identical. Task text,
--limit, and exclusion rules are applied after that scan, so changing them can safely reuse the same cached files while still producing a newly ranked and filtered report; Compare scans the current plan, while Verify validates its supplied report against a fresh or exact-state repository map.cache-hitreports reuse and scan age, entries expire after seven days, andFIXMAP_CACHE_DIRmoves the OS cache. Force a fresh scan with CLI--no-cache, MCPnoCache: true, or Actionno-cache: true. - Keeps the current
--issue-file,--compare,--report, and--outputartifacts out of repository ranking, change detection, and cache invalidation, so FixMap never recommends its own report as the fix site. - Detects npm, pnpm, Yarn, and Bun projects and reads the scripts declared by each workspace package. When the root is silent it can infer an agreed nested lockfile, while conflicting root declarations produce a diagnostic instead of silently choosing.
Plan and ranking
- Ranks source, test, configuration, documentation, and other files from path terms, source content, identifiers, quoted fragments (including smart quotes and guillemets), file mentions, and real diff content.
- Recognizes JavaScript/TypeScript declaration tests, Go
_test.go, Pythontest_*.pyand*_test.py, common test directories, and framework single-file components. - Deprioritizes lockfiles, sync-client backups, bundled output, examples, and generated counterparts when maintained source exists, while keeping ordinary modules such as
deep-copy.tsand tracked first-partyvendor/source rankable. - Routes reachable test commands from real package scripts and pairs them with the nearest related test files. It warns when routed JavaScript, Python, Go, or Rust tests are skipped, ignored, conditional, or gated.
- Reports six bounded risk areas: authentication, billing, automation, data, public API, and dependencies.
- Explains task grounding, ranking shape, unresolved or partially matched identifiers, exclusions, scan limits, unread content, skipped submodules, empty diffs, and Git failures.
- Supports a strict decimal
--limit, repeatable--exclude, and ordered.fixmapignorepatterns with negation. Root-leading patterns are repository-relative, pasted absolute paths inside the repository are normalized, and patterns that match nothing produce a warning. Limits change only how many rows are shown, never confidence or ranking-shape analysis.
Impact Graph and repository benchmark
- Builds a separate likely-impact view from direct imports, reverse dependents, routed tests, and Git files that repeatedly changed with a primary ranked file.
- Reads at most 1,000 non-merge commits, excludes commits touching more than 30 files, requires at least two co-occurrences, and marks shallow or unavailable history instead of inventing evidence.
- Recalculates impact around files actually changed during Verify and identifies high-evidence dependents outside the original plan as inspection notes, never mandatory edits.
fixmap benchmark --repo . --last 50evaluates BM25-over-code, ordinary FixMap context, and Impact Graph against historical parent snapshots. Every case's history stops before its target change, all arms see one scanned corpus, generated twins are not scored as primary answers, and mentioned/unmentioned tasks are reported separately.fixmap watch --report plan.json --repo .monitors a local working tree, re-runs Verify, and recalculates impact only when edits change. It never executes repository code;--format jsonproduces one JSON object per update.- Benchmark Markdown and versioned JSON include Wilson intervals, excluded-case counts, secondary-file recall, safeguards, and raw per-case outcomes. Historical commit messages are a repository-specific backtest, never proof of agent savings.
Context packs and graph export
fixmap contextselects deterministic line ranges from primary and impact files, labels each snippet as primary or impact, and records its reason, confidence, line range, estimated token cost, source truncation, and omitted-file reason.- The budget counts source using the stable estimate
ceil(UTF-8 bytes / 4); metadata is excluded. This is a reproducible planning estimate, not a tokenizer-specific exact count. - Context may use FixMap's bounded scanner sample rather than an entire large file.
sourceTruncatedmakes that boundary explicit in JSON and Markdown. fixmap graphexports the same Impact Graph as Mermaid or versioned JSON, preserving imports, imported-by, test-route, and co-change direction and evidence.
Exclusion pattern syntax
--exclude and .fixmapignore use repository-relative gitignore-style patterns. /docs/** anchors at the repository root, docs/** matches the same root directory and nested occurrences, !docs/keep.md re-includes a path after an earlier exclusion, and trailing / targets a directory. *, ?, and ** are supported; brace groups such as {src,test} are literal text, not alternation. Pass repeated --exclude flags or put one pattern per .fixmapignore line so commas in literal names stay unambiguous.
- Produces Markdown for people, versioned JSON for tools, or
--format agentfor compactEDIT CANDIDATE/INSPECT/TEST/RISK/AVOID/UNCERTAINTYsections; writes any format with--output.
Explain, Compare, Verify, Validate, and Doctor
- Explain tells you whether a path ranked, fell below the cutoff, was excluded, resolves through a submodule, or was never scanned—and uses the same task and diff evidence as Plan.
- Compare shows files that entered, left, moved, or changed confidence after the task was refined, plus changes in task grounding.
- Verify compares a saved JSON plan with a diff or working tree, recalculates impact, and flags generated edits, unmapped changes, an untouched leading file, source changes without tests, newly reached risk areas, and plan/repository mismatches. It fails on errors by default;
--fail-on warningand the Action'sfail-on: warningturn advisory findings into an opt-in CI gate. - Validate checks any saved JSON report with the structural compatibility validator shared by Compare, Verify, the Action, and MCP.
- Doctor prints the running version and executable path and diagnoses project, global, PATH, and npm-exec version shadows.
FIXMAP_PROGRESScontrols remote clone/scan progress, andFIXMAP_VERBOSE_USAGErestores full usage text after argument errors.
Agent and automation interfaces
fixmap setupinstalls/fixmapdiscovery for Claude Code, Cursor, GitHub Copilot prompt files, and the open Agent Skills layout; the no-argument command lists every FixMap workflow before making changes.- The MCP server exposes
fixmap_plan,fixmap_context,fixmap_graph,fixmap_explain,fixmap_compare,fixmap_verify, andfixmap_doctorover local stdio and is published in the official MCP Registry. - The GitHub Action runs Plan or Verify on pull requests, appends within the job summary's remaining 1 MiB budget, bounds its report output and comment, and creates or updates one FixMap comment instead of posting duplicates.
- The Action accepts explicit task input or pull-request context, uses the same report validator as the CLI and MCP server, and fails clearly when a requested diff cannot be resolved.
- The homepage task mapper runs real Plan logic against the bundled
sample-apirepository and preserves the engine's uncertainty state instead of inventing fallback results. - The full browser demo runs the real core Plan, Explain, Compare, and Verify logic against the same sample repository without uploading the task.
TypeScript library
@aryam/fixmap-coreexposes repository scanning, exclusion resolution, ranking, Context Pack and Impact Graph construction, BM25 retrieval, task grounding, language/import analysis, test/risk routing, report validation, and Markdown/JSON/agent/Mermaid rendering.- Its public API also exposes Explain, Compare, and Verify builders and result types, so another tool can compose the same workflow without shelling out to the CLI.
- The
@aryam/fixmap-core/browserentry runs the filesystem-free report, comparison, explanation, verification, and rendering logic in a browser bundle.
Trust, compatibility, and evidence
- The core is deterministic and local-first: no account, API key, hosted model, source upload, dependency install, repository script, test execution, or Git hook.
- Public-repository analysis uses a temporary shallow checkout with credentials, inherited Git config, hooks, LFS smudging, symlinks, and submodule traversal disabled.
reportVersion: 1defines the JSON compatibility boundary; additive fields are allowed, legacy unmarked reports remain accepted, and unsupported versions fail with an actionable message.- Checked-in self, external, held-out, adversarial, and performance records power the evidence page; CI checks empty cohorts, confidence gates, generated-asset drift, Action bundle drift, and the 1,000-file benchmark.
- The documentation site includes the live demo, install paths, evidence with misses, release changelog, responsive navigation, keyboard focus, AA contrast, and a persistent system-aware light/dark theme.
What the report contains
- Ranked context files with scores, confidence, and evidence.
- Likely impact files with relationship-specific evidence, confidence, history coverage, and inspection order.
- Test routes that correspond to commands the repository actually declares.
- Six bounded risk areas: authentication, billing, automation, data, public API, and dependencies.
- Diagnostics for uncertainty, unread content, scan boundaries, excluded matches, and unresolved diffs.
- A grounded next action that avoids generated counterparts when maintained source exists.
FixMap is deterministic. It narrows investigation; it does not prove that a ranking or change is correct.
MCP server
Expose Plan, Context, Graph, Explain, Compare, Verify, and Doctor over local stdio:
fixmap mcp
Example client configuration:
{
"mcpServers": {
"fixmap": {
"command": "fixmap",
"args": ["mcp"]
}
}
}
See the MCP setup guide for client-specific instructions.
GitHub Action
name: FixMap
on: pull_request
permissions:
contents: read
issues: write
pull-requests: write
jobs:
fixmap:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: aryamthecodebreaker/FixMap@v0.9.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
The Action writes a bounded report to the job summary and maintains one pull-request comment. If GitHub's limits require truncation, the notice points to a local --output plus artifact upload for the complete report. Set no-cache: true when a workflow must bypass the exact-state scan cache, or fail-on: warning when advisory Verify findings must fail the job. Its checked-in bundle and metadata are release-gated.
JSON compatibility
New plans include "reportVersion": 1. Within a report version, fields may be added, but existing fields are not removed or retyped; consumers should ignore unknown fields. Breaking output changes require a new report version. Compare and Verify continue to accept legacy plans without a marker and reject unsupported marker values.
Evidence
The evidence page is generated from the checked-in held-out, regression, baseline, performance, and adversarial records. It publishes misses and confidence intervals alongside hits. CI rejects empty evaluation files, stale rendered artifacts, adversarial regressions, Action bundle drift, and benchmark drift.
Safety boundary
FixMap reads and ranks. It does not install dependencies, run repository scripts, execute tests, invoke git hooks, upload local source, or call a hosted model. Remote clones disable credential helpers, inherited git configuration, hooks, submodules, symlinks, and LFS smudging.
See SECURITY.md for the trust model and reporting process.
Develop locally
npm ci
npm run ci
The workspace contains the deterministic core, CLI/MCP server, GitHub Action, Next.js website, benchmarks, examples, and release scripts. Start with CONTRIBUTING.md; architecture and full usage details live in the documentation site.
Releases
Release notes live in CHANGELOG.md and on the generated website changelog. The publish workflow verifies internal versions, npm packages, MCP Registry metadata, Action metadata and bundle, the GitHub release, and a clean installed CLI before a release is complete.
License
FixMap MCP 질문
FixMap MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add fixmap -- npx -y @aryam/fixmap를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
FixMap MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
FixMap을 사용하려면 계정이나 API key가 필요한가요?
아니요, FixMap은 계정, API key 또는 모델 호출 없이 작동합니다.
FixMap이 소스 코드를 업로드하나요?
아니요, 로컬 저장소 분석은 로컬에서 수행되며 소스 코드를 절대 업로드하지 않습니다.
FixMap이 Cursor 또는 Claude Code와 같은 AI 코딩 도구에 어떻게 도움이 되나요?
작업이나 이슈를 기반으로 열어야 할 파일 목록, 실행해야 할 테스트 및 검토가 필요한 다른 코드 목록을 제공합니다.
FixMap으로 공개된 GitHub issue를 분석할 수 있나요?
네, 공개된 GitHub issue 또는 pull-request URL을 입력으로 사용할 수 있습니다.
