ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Wisegit

โดย Sandip124รุ่น 0.1.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.Sandip124/wisegit

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Extracts decision intent from git history and protects intentional code from AI modification.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "wisegit": {
      "command": "npx",
      "args": [
        "-y",
        "@sandip124/wisegit"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add wisegit -- npx -y @sandip124/wisegit

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "wisegit": {
      "command": "npx",
      "args": [
        "-y",
        "@sandip124/wisegit"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "wisegit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sandip124/wisegit"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub Sandip124 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 1384 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 11% ของอีก 1384 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1384 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Wisegit ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry 7 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 15 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

wisegit

*"Don't take a fence down until you know the reason it was put up."*

— G.K. Chesterton

wisegit is a local MCP server that extracts decision intent from git history and protects intentional code from AI modification.

When Claude Code (or any MCP-compatible agent) is about to edit a file, wisegit injects a decision manifest showing which functions are frozen, stable, or open — so the AI respects what was intentional, not just what compiles.

Zero config. Zero external services. Everything local.

Install
# Set up any repo (one command)

npx @sandip124/wisegit setup

Or add as MCP server globally

claude mcp add wisegit -- npx @sandip124/wisegit serve

Published on

The Problem

LLMs have no concept of intentional code. A manually-tested fix and a broken stub look identical — both are just text. Real scenario:

  1. You fix a Stripe race condition with sleep(350) — manually tested, committed.
  2. Next session: "find bugs." Claude removes sleep(350) — looks like dead code.
  3. Production incident.

Root cause: git history contains proof of intention. Nobody extracts it.

How It Works

Git History → Tree-sitter AST → Intent Extraction → SQLite Event Store → MCP Tools
  1. Indexes your git history — walks every commit, parses diffs at the AST level (function boundaries, not line counts)
  2. Classifies commits — STRUCTURED (fix:, feat:), DESCRIPTIVE (plain sentences), or NOISE (wip, x)
  3. Extracts intent — rule-based for structured/descriptive commits, LLM for noise (Phase 2)
  4. Computes freeze scores — 0–1 per function, derived from protection signals (git, issue, code structure, test, structural, Naur, Aranda) minus adaptive obsolescence penalty (8 signals, entropy-calibrated). Age uses Weibull survival [18]; expertise uses DOE model [19]
  5. Serves decision manifests via MCP — Claude Code calls get_file_decisions before editing any file

What the AI Sees

[DECISION MANIFEST: payment.service.cs]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FROZEN: ProcessPayment() [score: 0.89] [Recovery: L1]

  • sleep(350) → Stripe race condition. Won't Fix. HIGH — commit a3f19b2

STABLE: ValidateOrder() [score: 0.55] [Recovery: L2]

  • Fixed null reference on Safari iOS WebKit. MEDIUM — commit 7c14694

OPEN: FormatReceipt() [score: 0.12] [Recovery: L3] ← safe to modify ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  • FROZEN (score >= 0.80): Do not modify without explicit user approval
  • STABLE (score 0.50-0.79): Proceed with caution, review intent first
  • OPEN (score < 0.50): Safe to modify freely

Quick Start

Prerequisites
  • Node.js >= 20

That's it. No Docker, no PostgreSQL, no external services.

1. Set Up a Repository (one command)
cd /path/to/your/repo

npx @sandip124/wisegit setup

This single command:

  • Creates a local SQLite database at ~/.wisegit/wisegit.db
  • Indexes your entire git history (462 commits in ~13 seconds)
  • Creates .mcp.json for Claude Code auto-discovery
  • Creates CLAUDE.md rules that instruct AI to check before editing
  • Adds .mcp.json to .gitignore
2. Enrich with Issue Context (optional)
# Fetch issue/PR details from GitHub/GitLab

GITHUB_TOKEN=ghp_... npx @sandip124/wisegit enrich

This fetches referenced issues (e.g., #134 in commit messages), detects Won't Fix / By Design decisions, and boosts freeze scores for functions linked to those issues.

3. Done

Open the repo in Claude Code. It will automatically:

  1. Start the wisegit MCP server (via .mcp.json)
  2. Read the protection rules (via CLAUDE.md)
  3. Call get_file_decisions before editing any file

MCP Tools

ToolDescription
get_file_decisionsDecision manifest for a file — freeze scores, intent history, recovery levels, override status
get_freeze_scoreScore + signal breakdown for a specific function
get_function_historyFull chronological decision timeline for a function
get_theory_gapsFunctions with unrecoverable rationale (inactive authors, timeline gaps)
get_branch_contextBranch merge history — what was migrated and why
search_decisionsSearch past decisions by keyword across the entire repo
create_overrideOverride a frozen function (user approves in Claude Code UI)
extract_intentExtract intent for NOISE commits using the host LLM — no Ollama needed
find_similar_functionsSearch for existing functions that solve a similar problem before writing new code
predict_impactPredict what functions will break if a given function is modified
get_codebase_conventionsExtract coding conventions for a file's neighborhood

MCP Resource: wisegit://manifest/{filePath} — decision manifest as auto-discoverable resource

MCP Prompt: check_before_edit — mandatory workflow prompt that returns the decision manifest before editing any file

LLM Intent Extraction Strategy

wisegit uses a smart fallback chain for extracting intent from NOISE commits:

ContextLLM UsedHow
Inside Claude CodeHost LLM (Claude)MCP sampling — asks Claude to analyze the diff. Zero setup.
CLI with OllamaOllama (llama3)wisegit init --ollama — uses local Ollama instance
CLI without OllamaNoneRule-based extraction only, NOISE commits get no intent

Inside Claude Code, call extract_intent to retroactively recover intent for NOISE commits — uses Claude itself, no Ollama installation needed.

CLI Commands

wisegit setup [--path <dir>] [--global]         # One-command repo setup

wisegit init [--full-history] [--path ] # Index git history wisegit enrich [--path ] # Fetch issue/PR context from GitHub/GitLab wisegit audit # Show decision manifest wisegit history [--file ] # Show decision timeline wisegit recompute [--path ] # Recompute scores with PageRank + theory gaps wisegit override --file --reason "..." # Override a frozen function wisegit overrides # List active overrides wisegit sync # Rebuild local cache from git + .wisegit/ wisegit config list # View team configuration wisegit config set # Modify team policy wisegit team-status # Team overview: enrichments, overrides, contributors wisegit team-health # Theory health: healthy/fragile/critical functions wisegit branch-capture # Capture branch context from last merge wisegit branch-list # List all captured branch snapshots wisegit branch-recover # Recover context from old merge commit wisegit calibrate # Show adaptive obsolescence weights vs defaults wisegit report [--output ] # Generate HTML report with scores + insights wisegit serve # Start MCP server (stdio) wisegit hook install|uninstall # Manage git hooks (post-commit + post-merge)

Configure for Claude Code

Option A: Per-repo (recommended)

Run npx @sandip124/wisegit setup in any repo. It creates .mcp.json automatically.

Option B: Global registration
claude mcp add wisegit -- npx @sandip124/wisegit serve
Option C: Manual .mcp.json

Create .mcp.json in your repo root:

{

"wisegit": { "command": "npx", "args": ["@sandip124/wisegit", "serve"] } }

Supported Languages

LanguageExtensions
C#.cs
TypeScript.ts, .tsx
JavaScript.js, .jsx, .mjs, .cjs
Python.py
Go.go
Rust.rs

More languages can be added via Tree-sitter grammar configs in src/ast/languages/.

Issue Enrichment

A commit saying fix: handle null token #134 points to an issue containing reproduction steps, root cause, and explicit decision rationale — everything the commit message never says.

# Fetch issue context from GitHub/GitLab

wisegit enrich --path /path/to/repo

With auth (5000 req/hr instead of 60)

GITHUB_TOKEN=ghp_... wisegit enrich

Supported platforms: GitHub, GitLab (Azure DevOps, Jira, Bitbucket planned)

Auth tokens: GITHUB_TOKEN / GH_TOKEN for GitHub, GITLAB_TOKEN for GitLab. Never stored by wisegit.

Issue-derived freeze signals
SignalFreeze BoostWhen
Won't Fix / By Design+0.35Issue closed as not_planned, or has wontfix/by-design label, or comment says "intentional"
Reproduction steps+0.15Issue body contains "steps to reproduce"
Platform-specific label+0.10Issue labeled ios, safari, windows, etc.
Issue unreachable+0.10Issue ref exists but API returned 404 — absent context = protect more
PR review comments+0.15Linked PR had reviewer discussion

Freeze Score Signals

The freeze score is never stored directly — it's derived by replaying the event stream for each function. Signal categories:

CategoryWeightSource
Git History0.20Reverts, verified keywords, incident refs, contributor count, Weibull age [18]
Issue Enrichment0.20Won't Fix/By Design, reproduction steps, platform labels
Code Structure0.15Inline comments, magic numbers, defensive patterns
Test Signals0.15Dedicated tests, edge case labels, co-committed tests
Structural Importance0.15Call count (PageRank), public API, DOE expertise model [19]
Naur Theory0.10Global patterns, intentional contradictions, removal cost
Aranda Signals0.05Forgotten patterns, timeline gaps, broken issue links
Obsolescence (8 signals)adaptiveDead code, stale subgraph, migration leftover, obsolete deps, superseded, SAAD, change burst absence, co-change divergence

Freeze score formula:

freeze_score = base_score x (1 - obsolescence_penalty)

Protection signals produce the base score (weighted average of present signal categories, not additive sum); obsolescence signals produce the penalty. Obsolescence weights are adaptive — calibrated per-repository using Shannon entropy and Bayesian feedback. Falls back to hardcoded defaults when < 20 functions have signals. Age signal uses Weibull survival model [18] (k=0.7, lambda=2.4y); contributor expertise uses DOE model [19] (4 variables: contribution share, recency, duration, frequency).

Academic grounding: 24 published papers. See REFERENCE.md for full citations.

Cross-Repo Validation

Tested on 3 real-world open-source codebases:

RepoCommitsFunctionsFROZENSTABLEMax Score
pallets/flask5,5654,355722,2720.927
expressjs/express6,38240912470.811
zeeguu/api4,5153,2161120.583

Flask's core APIs (__init__, run, wsgi_app, url_for) c

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx