npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-probe-kit

v3.6.11

Published

AI-Powered Development Toolkit - MCP Server with 30 tools covering code quality, development efficiency, project management, and UI/UX design. Features: Structured Output, Workflow Orchestration, MCP Skill auto-sync, UI/UX Pro Max, and Requirements Interv

Readme

mcp-probe-kit — Know the Context, Feed the Moment


Talk is cheap, show me the Context.

mcp-probe-kit is a protocol-level toolkit designed for developers who want AI to truly understand their project's intent. It's not just a collection of 30 tools—it's a context-aware system that helps AI agents grasp what you're building.

Languages: English | 简体中文 | 日本語 | 한국어 | Español | Français | Deutsch | Português (BR)

npm version npm downloads License: MIT GitHub stars Verified on MseeP

🚀 AI-Powered Complete Development Toolkit - Covering the Entire Development Lifecycle

A powerful MCP (Model Context Protocol) server providing 30 tools covering the complete workflow from product analysis to final release (Requirements → Design → Development → Quality → Release), all tools support structured output.

🎉 v3.0 Major Update: Streamlined tool count, focus on core competencies, eliminate choice paralysis, let AI do more native work

Supports All MCP Clients: Cursor, Claude Desktop, Cline, Continue, and more

Protocol Version: MCP 2025-11-25 · SDK: @modelcontextprotocol/sdk 1.27.1


📚 Complete Documentation

👉 https://mcp-probe-kit.bytezonex.com


✨ Core Features

📦 30 Tools

  • 🔄 Workflow Orchestration (6 tools) - One-click complex development workflows
    • start_feature, start_bugfix, start_onboard, start_ui, start_product, start_ralph
  • 🔍 Code Analysis (4 tools) - Code quality, refactoring, and graph insight
    • code_review, code_insight, fix_bug, refactor
  • 📝 Git Tools (2 tools) - Git commits and work reports
    • gencommit, git_work_report
  • ⚡ Code Generation (1 tool) - Test generation
    • gentest
  • 📦 Project Management (7 tools) - Project initialization, requirements, and spec validation
    • init_project, init_project_context, add_feature, check_spec, estimate, interview, ask_user
  • 🎨 UI/UX Utilities (3 tools) - Design systems and UI data synchronization
    • ui_design_system, ui_search, sync_ui_data
  • 🧠 Memory (6 tools) - Reusable asset memory
    • search_memory, read_memory_asset, memorize_asset, update_memory_asset, delete_memory_asset, scan_and_extract_patterns

🛡️ Quality Constraints (single source of truth)

All hard quality rules live in one module (src/lib/quality-constraints.ts) and are injected into code_review, the add_feature task templates, and the UI tools. Change once, apply everywhere — inspired by taste-skill and impeccable.

  • Code limits: single file ≤ 500 lines (split into modules/components when exceeded), function ≤ 50 lines, nesting ≤ 4, parameters ≤ 3.
  • Completeness blacklist: code_review flags placeholder/elision patterns (// ..., // TODO, // rest of code, bare ...) as CRITICAL — "a partial output is a broken output".
  • Anti-laziness task templates: add_feature tasks now carry a Scope-lock deliverable count, a mandatory evidence block (read code before writing), a per-file line budget, and a binary zero-tolerance rule for placeholders. check_spec validates these (missing Scope-lock = error, thin task without evidence = warning).
  • UI hard red lines: numeric, machine-checkable rules — 4pt spacing scale, WCAG contrast (4.5/3/3), type scale ≥ 1.25, hero font ≤ 6rem, OKLCH, eight interaction states, cognitive load ≤ 4, motion 150-300ms.
  • UI banned list + Pre-Flight checklist: match-and-refuse blacklist for AI slop (default Inter/Roboto, AI purple-blue gradients, gradient text, cookie-cutter card grids, em-dash, cream/beige body backgrounds, nested cards) plus a delivery-gate self-check matrix.

🧠 Code Graph Bridge (GitNexus)

  • code_insight bridges GitNexus by default for query/context/impact analysis
  • The bridge launches npx -y gitnexus@latest mcp by default to reduce stale package risk
  • init_project_context bootstraps baseline graph docs under docs/graph-insights/; if docs/project-context.md already exists, it preserves the old context docs and only backfills graph docs plus the index entry
  • start_feature refreshes the GitNexus index and runs task-level query/context/impact narrowing before spec generation to reduce over-scoping
  • start_bugfix refreshes the GitNexus index and runs task-level graph analysis before TBP RCA to constrain failure boundary and blast radius
  • Older projects that already have project-context.md but no graph docs are bootstrapped automatically through the init_project_context step
  • If GitNexus is unavailable, the server falls back automatically without breaking orchestration
  • Real graph queries read the .gitnexus index; docs/graph-insights/latest.md|json are readable snapshots for humans and AI agents
  • MCP resources in MCP client settings list 2 entries (probe://status, probe://project/bootstrap). Graph runtime snapshots (probe://graph/latest, etc.) and probe://project/skill|agents|context|graph remain readable via resources/read when tools expose URIs
  • Graph snapshots are persisted to .mcp-probe-kit/graph-snapshots (customizable via MCP_GRAPH_SNAPSHOT_DIR)
  • Tool responses include _meta.graph with snapshot URI and local JSON/Markdown file paths

🐛 SRC-8 Bug Root-Cause Workflow (TBP-Inspired)

  • SRC-8 Methodology (中文: src8-methodology.zh-CN.md) — Software Root-Cause 8-step protocol inspired by Toyota TBP / PDCA, adapted for code and AI agents
  • start_bugfix runs graph narrowing, then delegated SRC-8 plan (metadata.plan.steps src8-1~8) before repair and tests
  • fix_bug returns delegated plan (src8-1~8), src8Checklist, rootCauseWorksheet (Step 4 core), and hard gates (no code change until root-cause worksheet is closed)
  • Highlights vs manufacturing TBP: repro contract, attribution layers (including agent_behavior), contributing factors, memorize_asset for cross-repo learning

Inherited from Toyota TBP: gap thinking, Plan-before-Do, no skipping to root-cause analysis, fact-based investigation, countermeasures over symptoms, evaluate then standardize.

Our elevation: genchi-genbutsu → read code/logs/repro; Step 4 worksheet; guidance-only MCP that forces discipline while the Agent executes.

🧠 Memory Retrieval

  • Memory tools use Qdrant as the vector database backend
  • Embedding service supports two modes:
    • ollama
    • openai-compatible

Memory tools:

  • search_memory - Semantic search across the shared memory pool (optionally prefer type / tags); text output includes id, score, summary, description, and a --- content --- body (default up to 1500 chars via MEMORY_SEARCH_CONTENT_MAX_CHARS)
  • memorize_asset - Persist reusable code/spec/pattern assets into vector memory
  • read_memory_asset - Read full asset content by asset_id (text output includes the full content body)
  • update_memory_asset - Update an existing asset by asset_id (preserves ID; content changes re-embed)
  • delete_memory_asset - Delete an asset by asset_id from the shared pool
  • scan_and_extract_patterns - Extract reusable patterns from code/file/directory before deciding whether to persist

Cross-repo memory pools: do not rely on source_project / source_path for shared retrieval; put file paths in content instead. Search injection hides foreign sourcePath unless MEMORY_REPO_ID matches or MEMORY_SEARCH_SHOW_SOURCE=true.

Memory backend and embedding configuration:

  • Vector database: Qdrant
  • Recommended local setup: Qdrant (port 50008) + Infinity / nomic-embed (port 50012) — lighter than Ollama; see Local Memory Stack guide (中文: memory-local-setup.zh-CN.md)
  • Supported embedding providers:
    • ollama
    • openai-compatible (Infinity, OpenAI, etc.)
  • Required environment variables for memory write/search:
    • MEMORY_QDRANT_URL
    • MEMORY_EMBEDDING_URL
    • MEMORY_EMBEDDING_MODEL
  • Optional environment variables:
    • MEMORY_QDRANT_API_KEY
    • MEMORY_QDRANT_COLLECTION (default: mcp_probe_memory)
    • MEMORY_EMBEDDING_API_KEY
    • MEMORY_EMBEDDING_PROVIDER (ollama by default)
    • MEMORY_SEARCH_LIMIT (default: 3)
    • MEMORY_SUMMARY_MAX_CHARS (default: 280)
    • MEMORY_SEARCH_MIN_SCORE (default: 0 = disabled; try 0.72 for noisy pools)
    • MEMORY_SEARCH_SHOW_SOURCE (default: false)
    • MEMORY_REPO_ID (optional; show sourcePath only when sourceProject matches)
    • MEMORY_INJECTION_CONTENT_MAX_CHARS (default: 1500; max content per hit injected into start_* guides)
  • Behavior notes:
    • Read-only memory access only requires MEMORY_QDRANT_URL
    • Memory write is enabled only when MEMORY_QDRANT_URL, MEMORY_EMBEDDING_URL, and MEMORY_EMBEDDING_MODEL are all configured
    • The Qdrant collection is auto-created on first write, and vector dimension is inferred from the first embedding response

Recommended local memory setup (Qdrant + Nomic Embed / Infinity):

Full Docker Compose, ports, and troubleshooting: docs/memory-local-setup.md

{
  "mcpServers": {
    "mcp-probe-kit": {
      "command": "npx",
      "args": ["-y", "mcp-probe-kit@latest"],
      "env": {
        "MEMORY_QDRANT_URL": "http://127.0.0.1:50008",
        "MEMORY_QDRANT_API_KEY": "your-qdrant-api-key",
        "MEMORY_QDRANT_COLLECTION": "mcp_probe_memory",
        "MEMORY_EMBEDDING_PROVIDER": "openai-compatible",
        "MEMORY_EMBEDDING_URL": "http://127.0.0.1:50012/embeddings",
        "MEMORY_EMBEDDING_MODEL": "nomic-ai/nomic-embed-text-v1.5",
        "MEMORY_EMBEDDING_API_KEY": "your-infinity-api-key",
        "MEMORY_SEARCH_LIMIT": "3",
        "MEMORY_SUMMARY_MAX_CHARS": "280"
      }
    }
  }
}

Alternative: Qdrant + Ollama (if you already run Ollama):

docker run -d --name mcp-qdrant -p 6333:6333 qdrant/qdrant
ollama pull nomic-embed-text
"MEMORY_QDRANT_URL": "http://127.0.0.1:6333",
"MEMORY_EMBEDDING_PROVIDER": "ollama",
"MEMORY_EMBEDDING_URL": "http://127.0.0.1:11434/api/embeddings",
"MEMORY_EMBEDDING_MODEL": "nomic-embed-text"

OpenAI-compatible embedding (hosted API):

{
  "mcpServers": {
    "mcp-probe-kit": {
      "command": "npx",
      "args": ["-y", "mcp-probe-kit@latest"],
      "env": {
        "MEMORY_QDRANT_URL": "http://127.0.0.1:6333",
        "MEMORY_QDRANT_COLLECTION": "mcp_probe_memory",
        "MEMORY_EMBEDDING_PROVIDER": "openai-compatible",
        "MEMORY_EMBEDDING_URL": "https://your-embedding-endpoint/v1/embeddings",
        "MEMORY_EMBEDDING_API_KEY": "your-api-key",
        "MEMORY_EMBEDDING_MODEL": "text-embedding-3-small"
      }
    }
  }
}

🎯 Structured Output

Core and orchestration tools support structured output, returning machine-readable JSON data, improving AI parsing accuracy, supporting tool chaining and state tracking.

⏱️ Native Tasks, Progress, and Cancellation

  • Built on MCP SDK native task support (taskStore + taskMessageQueue)
  • Supports task lifecycle endpoints: tasks/get, tasks/result, tasks/list, tasks/cancel
  • Advertises capabilities.tasks.requests.tools.call so clients can create tasks for tools/call
  • Emits notifications/progress when client provides _meta.progressToken
  • Handles request cancellation via AbortSignal and returns a clear cancellation error
  • Long-running orchestration tools (start_*) and sync_ui_data support cooperative cancellation/progress callbacks

🔌 Extensions & UI Apps (Optional)

  • Trace metadata passthrough: request _meta.trace is preserved in tool responses (_meta.trace)
  • Optional extensions capability switch: enable with MCP_ENABLE_EXTENSIONS_CAPABILITY=1
  • Optional MCP Apps resource output for UI tools: enable with MCP_ENABLE_UI_APPS=1
  • UI tools can expose preview resources via ui://... and response _meta.ui.resourceUri

🧭 Delegated Orchestration Protocol

All start_* orchestration tools return an execution plan in structuredContent.metadata.plan.
AI needs to call tools step by step and persist files, rather than the tool executing internally.

Plan Schema (Core Fields):

{
  "mode": "delegated",
  "steps": [
    {
      "id": "spec",
      "tool": "add_feature",
      "args": { "feature_name": "user-auth", "description": "User authentication feature" },
      "outputs": ["docs/specs/user-auth/requirements.md"]
    }
  ]
}

Field Description:

  • mode: Fixed as delegated
  • steps: Array of execution steps
  • tool: Tool name (e.g. add_feature)
  • action: Manual action description when no tool (e.g. update_project_context)
  • args: Tool parameters
  • outputs: Expected artifacts
  • when/dependsOn/note: Optional conditions and notes

🧩 Structured Output Field Specification (Key Fields)

Both orchestration and atomic tools return structuredContent, common fields:

  • summary: One-line summary
  • status: Status (pending/success/failed/partial)
  • steps: Execution steps (orchestration tools)
  • artifacts: Artifact list (path + purpose)
  • metadata.plan: Delegated execution plan (only start_*)
  • specArtifacts: Specification artifacts (start_feature)
  • estimate: Estimation results (start_feature / estimate)

🧠 Requirements Clarification Mode (Requirements Loop)

When requirements are unclear, use requirements_mode=loop in start_feature / start_bugfix / start_ui.
This mode performs 1-2 rounds of structured clarification before entering spec/fix/UI execution.

Example:

{
  "feature_name": "user-auth",
  "description": "User authentication feature",
  "requirements_mode": "loop",
  "loop_max_rounds": 2,
  "loop_question_budget": 5
}

🧩 Template System (Regular Model Friendly)

add_feature supports template profiles, default auto auto-selects: prefers guided when requirements are incomplete (includes detailed filling rules and checklists), selects strict when requirements are complete (more compact structure, suitable for high-capability models or archival scenarios).

Example:

{
  "description": "Add user authentication feature",
  "template_profile": "auto"
}

Applicable Tools:

  • start_feature passes template_profile to add_feature
  • start_bugfix / start_ui also support template_profile for controlling guidance strength (auto/guided/strict)

Template Profile Strategy:

  • guided: Less/incomplete requirements info, regular model priority
  • strict: Requirements structured, prefer more compact guidance
  • auto: Default recommendation, auto-selects guided/strict

🔄 Workflow Orchestration

6 intelligent orchestration tools that automatically combine multiple basic tools for one-click complex development workflows:

  • start_feature - New feature development (Requirements → Design → Estimation)
  • start_bugfix - Bug fixing (SRC-8 RCA → Fix → Testing)
  • start_onboard - Project onboarding (Generate project context docs)
  • start_ui - UI development (Design system → Components → Code)
  • start_product - Product design (PRD → Prototype → Design system → HTML)
  • start_ralph - Ralph Loop (Iterative development until goal completion)

🚀 Product Design Workflow

start_product is a complete product design orchestration tool, from requirements to interactive prototype:

Workflow:

  1. Requirements Analysis - Generate standard PRD (product overview, feature requirements, page list)
  2. Prototype Design - Generate detailed prototype docs for each page
  3. Design System - Generate design specifications based on product type
  4. HTML Prototype - Generate interactive prototype viewable in browser
  5. Project Context - Auto-update project documentation

Structured Output Additions:

  • start_product.structuredContent.artifacts: Artifact list (PRD, prototypes, design system, etc.)
  • interview.structuredContent.mode: usage / questions / record

🎨 UI/UX Pro Max

4 UI/UX tools with start_ui as the unified entry point:

  • start_ui - One-click UI development (supports intelligent mode) (orchestration tool)
  • ui_design_system - Intelligent design system generation
  • ui_search - UI/UX data search (BM25 algorithm)
  • sync_ui_data - Sync latest UI/UX data locally

Note: start_ui automatically calls ui_design_system and ui_search, you don't need to call them separately.

Inspiration:

Skill Bridge for UI/PRD workflows:

  • start_ui and start_product now include a Skill Bridge section in guidance and structuredContent.metadata.skills.
  • Recommended skill call order: ui-ux-pro-maxinteraction-designfrontend-design.
  • If some skills are missing, workflow continues with MCP main plan and marks unavailable skills in metadata.

Why use sync_ui_data?

Our start_ui tool relies on a rich UI/UX database (colors, icons, charts, components, design patterns, etc.) to generate high-quality design systems and code. This data comes from npm package uipro-cli, including:

  • 🎨 Color schemes (mainstream brand colors, color palettes)
  • 🔣 Icon libraries (React Icons, Heroicons, etc.)
  • 📊 Chart components (Recharts, Chart.js, etc.)
  • 🎯 Landing page templates (SaaS, e-commerce, government, etc.)
  • 📐 Design specifications (spacing, fonts, shadows, etc.)

Data Sync Strategy:

  1. Embedded Data: Synced at build time, works offline
  2. Background Auto Sync: Downloads latest data to ~/.mcp-probe-kit/ui-ux-data/ without changing current session output
  3. Next-Start Activation: Newly downloaded data is applied on next process start (keeps current session deterministic)
  4. Manual Sync: Use sync_ui_data to force refresh cache immediately (still applies next start by default)

This ensures start_ui can generate professional-grade UI code even offline.

🎤 Requirements Interview

2 interview tools to clarify requirements before development:

  • interview - Structured requirements interview
  • ask_user - AI proactive questioning

🧭 Tool Selection Guide

When to use orchestration tools vs individual tools?

Use orchestration tools (start_*) when:

  • ✅ Need complete workflow (multiple steps)
  • ✅ Want to automate multiple tasks
  • ✅ Need to generate multiple artifacts (docs, code, tests, etc.)

Use individual tools when:

  • ✅ Only need specific functionality
  • ✅ Already have project context docs
  • ✅ Need more fine-grained control

Common Scenario Selection

| Scenario | Recommended Tool | Reason | |---------|-----------------|--------| | Develop new feature (complete flow) | start_feature | Auto-complete: spec→estimation | | Only need feature spec docs | add_feature | More lightweight, only generates docs | | Fix bug (complete flow) | start_bugfix | Delegated SRC-8 plan (src8-1~8) → fix → test → memorize | | Only need bug analysis | fix_bug | Delegated SRC-8 plan + root-cause worksheet (methodology: docs) | | Generate design system | ui_design_system | Directly generate design specs | | Develop UI components | start_ui | Complete flow: design→components→code | | Product design (requirements to prototype) | start_product | One-click: PRD→prototype→HTML | | One-sentence requirement analysis | init_project | Generate complete project spec docs | | Project onboarding docs | init_project_context | Generate tech stack/architecture/conventions |


🚀 Quick Start

Method 1: Use directly with npx (Recommended)

No installation needed, use the latest version directly.

Cursor / Cline Configuration

Config file location:

  • Windows: %APPDATA%\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
  • macOS: ~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • Linux: ~/.config/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Config content:

{
  "mcpServers": {
    "mcp-probe-kit": {
      "command": "npx",
      "args": ["-y", "mcp-probe-kit@latest"]
    }
  }
}

Skill & AGENTS auto-bootstrap (v3.6.3+): Every MCP tool call writes .agents/skills/mcp-probe-kit/SKILL.md and merges the mcp-probe:context block into AGENTS.md. Workspace root is auto-detected (Cursor injects WORKSPACE_FOLDER_PATHS; OpenCode project opencode.json sets cwd). No per-client MCP_PROJECT_ROOT unless global MCP cannot resolve the workspace — then set MCP_PROJECT_ROOT or pass project_root in tool args.

Multi-harness adapters (v3.6.8+): AGENTS.md and the canonical Skill stay the single rule source. If the project already has .trae/, .lingma/, .comate/, .codebuddy/, or .claude/, matching thin adapters (skill mirror or rules pointer) are written automatically — no env vars.

Claude Desktop Configuration

Config file location:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Config content:

{
  "mcpServers": {
    "mcp-probe-kit": {
      "command": "npx",
      "args": ["-y", "mcp-probe-kit@latest"]
    }
  }
}

OpenCode Configuration

Config file location:

  • Project-level: opencode.json (in project root)
  • Global: ~/.config/opencode/opencode.json

Config content:

{
  "mcp": {
    "mcp-probe-kit": {
      "type": "local",
      "command": ["npx", "-y", "mcp-probe-kit@latest"],
      "enabled": true
    }
  }
}

Note: OpenCode uses opencode.json with a different schema from Cursor/Claude Desktop. The key mcp replaces mcpServers, command is an array, type: "local" is required, and environment variables use environment instead of env. See OpenCode MCP docs for details.

Method 2: Global Installation

npm install -g mcp-probe-kit

Use in config file:

{
  "mcpServers": {
    "mcp-probe-kit": {
      "command": "mcp-probe-kit"
    }
  }
}

Optional Memory System Setup

If you want to use memorize_asset, update_memory_asset, read_memory_asset, delete_memory_asset, and scan_and_extract_patterns, configure as follows:

  • Qdrant only (MEMORY_QDRANT_URL): read_memory_asset, delete_memory_asset
  • Qdrant + embedding (all three MEMORY_* write/search vars): search_memory, memorize_asset, update_memory_asset
  • No memory backend: scan_and_extract_patterns (local scan only; persist via memorize_asset when ready)

For full write/search you need both:

  1. A Qdrant vector database
  2. An embedding service in either ollama or openai-compatible mode

Full guide (Docker Compose for Qdrant + Infinity, ports 50008 / 50012, MCP env, smoke tests):

Option A: Qdrant + Nomic Embed / Infinity (recommended)

Lightweight local stack; no Ollama. Deploy Qdrant and nomic-embed via Docker Compose (see guide), then:

{
  "mcpServers": {
    "mcp-probe-kit": {
      "command": "npx",
      "args": ["-y", "mcp-probe-kit@latest"],
      "env": {
        "MEMORY_QDRANT_URL": "http://127.0.0.1:50008",
        "MEMORY_QDRANT_API_KEY": "your-qdrant-api-key",
        "MEMORY_QDRANT_COLLECTION": "mcp_probe_memory",
        "MEMORY_EMBEDDING_PROVIDER": "openai-compatible",
        "MEMORY_EMBEDDING_URL": "http://127.0.0.1:50012/embeddings",
        "MEMORY_EMBEDDING_MODEL": "nomic-ai/nomic-embed-text-v1.5",
        "MEMORY_EMBEDDING_API_KEY": "your-infinity-api-key",
        "MEMORY_SEARCH_LIMIT": "3",
        "MEMORY_SUMMARY_MAX_CHARS": "280"
      }
    }
  }
}

Embedding URL must be /embeddings (not /v1/embeddings). Qdrant requires api-key when QDRANT__SERVICE__API_KEY is set.

Option B: Qdrant + Ollama

docker run -d --name mcp-qdrant -p 6333:6333 qdrant/qdrant
ollama pull nomic-embed-text
"MEMORY_QDRANT_URL": "http://127.0.0.1:6333",
"MEMORY_EMBEDDING_PROVIDER": "ollama",
"MEMORY_EMBEDDING_URL": "http://127.0.0.1:11434/api/embeddings",
"MEMORY_EMBEDDING_MODEL": "nomic-embed-text"

Option C: Qdrant + hosted OpenAI-compatible API

"MEMORY_QDRANT_URL": "http://127.0.0.1:50008",
"MEMORY_EMBEDDING_PROVIDER": "openai-compatible",
"MEMORY_EMBEDDING_URL": "https://your-embedding-endpoint/v1/embeddings",
"MEMORY_EMBEDDING_API_KEY": "your-api-key",
"MEMORY_EMBEDDING_MODEL": "text-embedding-3-small"

Memory Environment Variables

  • MEMORY_QDRANT_URL: Qdrant base URL, required for all memory features
  • MEMORY_QDRANT_API_KEY: Optional Qdrant API key
  • MEMORY_QDRANT_COLLECTION: Collection name, default mcp_probe_memory
  • MEMORY_EMBEDDING_PROVIDER: ollama or openai-compatible
  • MEMORY_EMBEDDING_URL: Embedding endpoint URL
  • MEMORY_EMBEDDING_API_KEY: Optional for Ollama, usually required for hosted OpenAI-compatible providers
  • MEMORY_EMBEDDING_MODEL: Default is nomic-embed-text
  • MEMORY_SEARCH_LIMIT: Default search result count is 3
  • MEMORY_SUMMARY_MAX_CHARS: Default summary truncation length is 280

Notes

  • Memory write capability is enabled only when MEMORY_QDRANT_URL, MEMORY_EMBEDDING_URL, and MEMORY_EMBEDDING_MODEL are configured
  • Memory read capability only requires MEMORY_QDRANT_URL
  • Qdrant collections are auto-created on first write with Cosine distance
  • Vector size is inferred from the first embedding response

Windows Notes for Graph Tools

Applies to code_insight, start_feature, start_bugfix, and init_project_context.

  • The GitNexus bridge uses npx -y gitnexus@latest mcp by default.
  • On Windows, the first cold start can take 20+ seconds because npx may check/download packages.
  • Some GitNexus dependencies use tree-sitter-* native modules. If your machine lacks Visual Studio Build Tools, the first install may fail with errors like gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use.

Recommended on Windows:

  1. Install Visual Studio Build Tools with the C++ workload if you use graph-aware tools regularly.
  2. Prefer stable local/global CLI usage for GitNexus when your MCP client supports env.
  3. Increase GitNexus connect/call timeouts on slower or first-run environments.

Quick install command (Windows):

winget install Microsoft.VisualStudio.2022.BuildTools

Example config using a preinstalled gitnexus CLI:

{
  "mcpServers": {
    "mcp-probe-kit": {
      "command": "mcp-probe-kit",
      "env": {
        "MCP_GITNEXUS_COMMAND": "gitnexus",
        "MCP_GITNEXUS_ARGS": "mcp",
        "MCP_GITNEXUS_CONNECT_TIMEOUT_MS": "30000",
        "MCP_GITNEXUS_TIMEOUT_MS": "45000"
      }
    }
  }
}

Restart Client

After configuration, completely quit and reopen your MCP client.

👉 Detailed Installation Guide


💡 Usage Examples

Daily Development

code_review @feature.ts    # Code review
gentest @feature.ts         # Generate tests
gencommit                   # Generate commit message

New Feature Development

start_feature user-auth "User authentication feature"
# Auto-complete: Requirements analysis → Design → Effort estimation

Bug Fixing

start_bugfix
# Then paste error message
# Auto-complete: Problem location → Fix solution → Test code

Product Design

start_product "Online Education Platform" --product_type=SaaS
# Auto-complete: PRD → Prototype → Design system → HTML prototype

UI Development

start_ui "Login Page" --mode=auto
# Auto-complete: Design system → Component generation → Code output

Project Context Documentation

# Single file mode (default) - Generate a complete project-context.md
init_project_context

# Modular mode - Generate 6 category docs (suitable for large projects)
init_project_context --mode=modular
# Generates: project-context.md (index) + 5 category docs

Git Work Report

# Generate daily report
git_work_report --date 2026-02-03

# Generate weekly report
git_work_report --start_date 2026-02-01 --end_date 2026-02-07

# Save to file
git_work_report --date 2026-02-03 --output_file daily-report.md
# Auto-analyze Git diff, generate concise professional report
# If direct command fails, auto-provides temp script solution (auto-deletes after execution)

👉 More Usage Examples


❓ FAQ

Q1: Tool not working or errors?

Check detailed logs:

Windows (PowerShell):

npx -y mcp-probe-kit@latest 2>&1 | Tee-Object -FilePath .\mcp-probe-kit.log

macOS/Linux:

npx -y mcp-probe-kit@latest 2>&1 | tee ./mcp-probe-kit.log

Q2: Client not recognizing tools after configuration?

  1. Restart client (completely quit then reopen)
  2. Check config file path is correct
  3. Confirm JSON format is correct, no syntax errors
  4. Check client developer tools or logs for error messages

Q2b: Cursor shows connected but 0 tools / Agent says No MCP servers available?

This is a known Cursor-side issue: stderr may log tools/list with 30 tools, while Mcp FileSystem Writer shows lease returned 0 tools and toolCount=0 — the Agent lease layer silently dropped the tool list.

Common causes:

| Symptom in logs | Likely cause | |-----------------|--------------| | tools/list ≈ 50+ KB then lease returned 0 tools | Cursor internal payload size limit (whole list dropped silently) | | latched shared-process MCP routing disabled + ipcReady timeout | Windows mcpProcess utility failed; legacy fallback discovers tools but Agent lease stays empty | | Settings green dot, Agent No MCP servers available | Renderer ↔ shared-process MCP routing not wired for this session |

What we do (v3.6.3+): tools/list omits outputSchema by default (~50 KB → ~23 KB). Structured output still works via structuredContent on tools/call. To restore full schemas: MCP_INCLUDE_OUTPUT_SCHEMA=1.

What you can try:

  1. Reload MCP or fully quit Cursor (not just close window) and reopen
  2. Check Output → MCP for lease returned 0 tools / ipcReady / MessagePort
  3. In Composer, open the tools panel — ensure the server toggle is on (some versions default off)
  4. Upgrade Cursor (3.7.36+ had Windows ipcReady regressions; try latest or roll back to a known-good build)
  5. If still broken after server update, report to Cursor with: connected=true, stderr tool count, lease toolCount=0, and shared-process MCP routing disabled

Diagnostic: .cursor/projects/<project>/mcps/user-mcp-probe-kit/

This folder is written by Cursor (Mcp FileSystem Writer), not by mcp-probe-kit. After a successful tool lease you should see:

mcps/user-mcp-probe-kit/
├── SERVER_METADATA.json
├── STATUS.md
├── tools/           ← one JSON per tool (~30); Agent reads these for CallMcpTool
│   ├── init_project.json
│   └── ...
└── resources/       ← from resources/list (may exist even when tools/ is empty)

| State | Meaning | |-------|---------| | resources/ exists, tools/ missing or empty | resources/list OK but tools lease failed (matches lease returned 0 tools) | | tools/ has some files but not 30 | Partial write or session interrupted; Reload MCP | | STATUS.md says server errored | Cursor marked the server unhealthy for Agent even if Settings is green |

Healthy session: tools/ should auto-populate within seconds of MCP connect — no manual setup, no repo config.

Q3: How to update to latest version?

npx method (Recommended): Use @latest tag in config, automatically uses latest version.

Global installation method:

npm update -g mcp-probe-kit

Q4: Why are graph-aware tools slow or timing out on Windows the first time?

This usually affects code_insight, start_feature, start_bugfix, and init_project_context.

Common causes:

  1. npx -y gitnexus@latest mcp performs a cold start and may spend 20+ seconds checking/downloading packages.
  2. GitNexus may need native tree-sitter-* modules, which can require Visual Studio Build Tools on Windows.

If you see logs like:

gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
gyp ERR! find VS - missing any VC++ toolset

Try this:

  1. Install Visual Studio Build Tools with the C++ workload.
  2. Retry once after dependencies finish installing.
  3. If your client supports env, switch the bridge to a preinstalled gitnexus CLI and raise: MCP_GITNEXUS_CONNECT_TIMEOUT_MS MCP_GITNEXUS_TIMEOUT_MS

👉 More FAQ


🤝 Contributing

Issues and Pull Requests welcome!

Improvement suggestions:

  • Add useful tools
  • Optimize existing tool prompts
  • Improve documentation and examples
  • Fix bugs

📄 License

MIT License


🔗 Related Links

Related Projects:


Made with ❤️ for AI-Powered Development