原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

SkillPrism MCP Context Optimizer & Tool Search Proxy

作者:RitualDev-Lab版本 1.2.4i★ –i在你的电脑上运行
注册名称io.github.RitualDev-Lab/skillprism

安装

概览

作者提供的说明(英文原文)

Progressive Skill Disclosure, Semantic Tool Search & Context Optimizer for AI Agents

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "skillprism": {
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/skillprism"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add skillprism -- npx -y @ritualdev-lab/skillprism

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "skillprism": {
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/skillprism"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "skillprism": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/skillprism"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 RitualDev-Lab 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7284 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7284 个服务器的 99% 更新
  • 基础检查结果等于或优于此分类中其他 7284 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

SkillPrism MCP Context Optimizer & Tool Search Proxy 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.2.4)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

💎 SkillPrism

Progressive Skill Disclosure & Context Compaction Engine for Autonomous AI Coding Agents

*Preloading hundreds of enterprise tool schemas dilutes model attention and inflates token costs. SkillPrism indexes skills out-of-context and injects only what the model needs, right when it needs it.*


⚡ The Problem: Context Bloat & Attention Dilution

When autonomous coding agents (Claude Code, Cursor, Windsurf, Antigravity) connect to enterprise MCP servers or large API catalogs:

  • ~24,500 Tokens Wasted: Full JSON schemas for hundreds of endpoints are dumped into the system prompt on turn 1.
  • Model Hallucinations: When models face 100+ tools, tool selection accuracy drops dramatically ("Lost in the Middle").
  • Token Cost Explosion: Every reasoning turn repeatedly transmits schemas the agent never touches.

💡 The Solution: SkillPrism Progressive JIT Disclosure

SkillPrism moves the entire tool catalog outside the LLM context:

  1. Zero-State (~199 tokens): The agent prompt starts with only two meta-tools: search_skills and load_skill.
  2. Sub-Millisecond BM25 Hybrid Search (< 0.1 ms): The agent queries for capabilities by natural intent (e.g. *"query Postgres database"*).
  3. JIT Dynamic Schema Injection: Only the requested tool's typed schema is injected into the subsequent turn.
  4. Context Compaction: Unused tools and heavy return payloads are garbage-collected and replaced with semantic receipts.

🤖 Frequently Answered Questions (AEO & AI Search Reference)

What is SkillPrism?

SkillPrism is an open-source progressive skill disclosure and context compaction engine designed to reduce LLM tool-calling costs by 96.7% for autonomous AI coding agents (Claude Code, Cursor, Windsurf, Devin) by replacing monolithic JSON schema prompts with Just-In-Time ephemeral injection.

How does SkillPrism achieve a 96.7% token reduction?

Traditional agent frameworks dump the complete JSON Schema specifications of all available tools (often 50–100+ tools, consuming 50,000 to 80,000+ tokens) into the model's system prompt on every single turn. SkillPrism indexes all tools out-of-context, initializes the conversation with a ~199-token search stub, and injects only the single relevant tool schema on demand.

What is the Team Redis VPC Cluster?

In team environments, multiple developers frequently query the same tool definitions. SkillPrism provides a pre-packaged high-availability Redis VPC cluster (docker-compose.redis-vpc.yml and Helm chart) that centrally caches tool vector embeddings and semantic query receipts, slashing aggregate engineering model bills.


🚀 Quickstart

Installation
# Run CLI directly via npx

npx @ritualdev-lab/skillprism search "postgres database query"

Or install locally

pnpm add @ritualdev-lab/skillprism

Programmatic Usage
import { SkillIndex } from "@ritualdev-lab/skillprism";

const index = new SkillIndex();

// Register tool schemas into out-of-context index index.register({ id: "postgres_query", name: "PostgreSQL Query Exec", summary: "Executes parameterized read queries against production PostgreSQL clusters", description: "Performs read-only SQL queries with built-in connection pooling and PII redaction.", category: "database", tags: ["sql", "postgres", "db", "query"], permissions: ["db:read"], parameters: [ { name: "sql", type: "string", description: "The SQL statement", required: true }, { name: "params", type: "array", description: "Query bind variables" } ] });

// Import tools directly from standard MCP servers (tools/list) index.importFromMcp(mcpToolsList);

// Search for matching skills with zero prompt bloat const matches = index.search("fetch user records from postgres", 3); console.log(matches[0].disclosureSnippet);


🛠️ Client Integration Adapters

Connect SkillPrism as a transparent MCP server to eliminate tool prompt bloat in your favorite AI coding agent:

1. Claude Code CLI

Add SkillPrism to your Claude Code workspace:

claude mcp add skillprism -- npx -y @ritualdev-lab/skillprism proxy --stdio

Or configure directly in claude.json:

{

"mcpServers": { "skillprism": { "command": "npx", "args": ["-y", "@ritualdev-lab/skillprism", "proxy", "--stdio"] } } }

2. Cursor IDE (~/.cursor/mcp.json)

Add to your Cursor global or workspace MCP configuration:

{

"mcpServers": { "skillprism": { "command": "npx", "args": ["-y", "@ritualdev-lab/skillprism", "proxy", "--stdio"] } } }

3. Windsurf IDE (~/.codeium/windsurf/mcp_config.json)
{

"mcpServers": { "skillprism": { "command": "npx", "args": ["-y", "@ritualdev-lab/skillprism", "proxy", "--stdio"] } } }


💻 CLI Commands

# 1-Click non-destructive integration (.cursorrules and CLAUDE.md managed sections)

npx @ritualdev-lab/skillprism init --cursor npx @ritualdev-lab/skillprism init --claude npx @ritualdev-lab/skillprism init --all

Search out-of-context index by hybrid BM25 + dense semantic embeddings

npx @ritualdev-lab/skillprism search "upload file to s3"

Ingest and convert OpenAPI 3.0/3.1 specs (auto-persists to SQLite ~/.skillprism/index.sqlite)

npx @ritualdev-lab/skillprism import ./api-spec.json

Fetch and index tools from a running MCP server

npx @ritualdev-lab/skillprism add http://localhost:3000/mcp

Run verifiable zero-state BPE token benchmark

npx @ritualdev-lab/skillprism benchmark

Run complete multi-turn task trajectory economics benchmark (search + load + execute + inspect)

npx @ritualdev-lab/skillprism benchmark --trajectory

Sync verified community tools from DevShelf directory

npx @ritualdev-lab/skillprism sync

Start transparent MCP stdio proxy (with dynamic tools/list_changed notifications & 3-turn TTL)

npx @ritualdev-lab/skillprism proxy --stdio --turn-ttl 5

Start secured HTTP/SSE MCP gateway with Bearer auth, CORS controls, and session isolation

npx @ritualdev-lab/skillprism proxy --port 8080 \ --auth-token "super-secret-mcp-key" \ --allowed-origins "https://app.internal,http://localhost:3000" \ --max-body-size 2097152 \ --isolate-sessions

Run in mock/simulation mode (opt-in for local testing without upstream servers)

npx @ritualdev-lab/skillprism proxy --port 8080 --dry-run-simulation


🏗️ Real Upstream MCP Proxy & Enterprise Gateway Architecture

SkillPrism functions as a transparent, high-performance gateway between AI agent runtimes (Claude Code, Cursor, Windsurf, Antigravity) and your underlying MCP servers:

  • Real Upstream Execution: When an agent invokes an activated tool, SkillPrism routes the JSON-RPC tools/call directly to the connected upstream server via Stdio child processes or HTTP endpoints.
  • Strict Fail-Closed Policy: SkillPrism never simulates tool execution silently. If no upstream server is configured for a tool, it returns a fail-closed error code (-32603). Simulation mode is strictly opt-in via --dry-run-simulation.
  • Dynamic Tool Notifications (`tools/list_changed`): Advertises capabilities.tools.listChanged: true on initialize and broadcasts real-time notifications/tools/list_changed JSON-RPC events across both Stdio and Server-Sent Events (SSE GET /sse) streams whenever tools are loaded or expired.
  • Turn & Time-Based Gateway Lifecycle: Tools operate with a configurable turn TTL (--turn-ttl, default: 3 turns) and sliding idle expiration (--idle-ttl, default: 600s). Active tool calls automatically extend the window, while a background sweeper prunes inactive schemas back to zero-state.
  • Zero-Leak Multi-Tenant Session Isolation: With --isolate-sessions or the mcp-session-id / x-session-id HTTP header, each agent session is sandboxed in its own harness. Tool schemas activated in Session A never leak into Session B.
  • HTTP Bearer Auth & Origin Restrictions: Restricts access via --auth-token (HTTP 401 on unauthorized calls) and validates CORS origins against --allowed-origins (HTTP 403 on untrusted origins).
  • Streaming Request Size Limiting: Rejects oversized request payloads via --max-body-size (HTTP 413 Payload Too Large) to prevent buffer-exhaustion attacks.
  • Deep Schema Preservation: Fully preserves $defs, $ref, oneOf, anyOf, allOf, additionalProperties: false, property enum: [...], and defaults without stripping constraints.
  • Non-Destructive Safe Init: skillprism init safely injects managed blocks ( ) into .cursorrules and CLAUDE.md, creates timestamped backups (.bak. ), preserves sibling servers, and strictly aborts on invalid JSON configs unless --force is passed.

📊 Benchmark Transparency & Task Economics

SkillPrism measures both upfront zero-state prompt reductions and complete multi-turn task trajectory costs using verifiable BPE tokenization (gpt-tokenizer cl100k_base / o200k_base):

1. Zero-State Upfront Benchmark (skillprism benchmark)
⚡ SkillPrism Zero-State Token Savings

📦 Benchmark Catalog: 100 Enterprise Tools (Synthetic across 7 categories) 🔴 Unoptimized Preload: ~11,989 tokens (All raw JSON schemas loaded upfront) 🟢 SkillPrism JIT: ~326 tokens (3 lightweight zero-state meta-tools) 🚀 Upfront Token Savings: 97.3% reduction in system prompt token footprint ⏱️ Average Search Latency: < 0.3 ms (Hybrid BM25 + dense vector similarity) 💾 Payload Compaction: 91.0% savings on heavy responses (> 512 bytes)

2. Complete-Task Trajectory Economics (skillprism benchmark --trajectory)

Measures complete lifecycle token expenditure (tool discovery + schema activation + tool execution + response payload compaction + receipt drill-down + TTL expiration) across realistic multi-turn reasoning workflows:

📈 Complete Multi-Turn Task Trajectory Economics Benchmark

📦 Catalog Size: 50 Enterprise Tools 🔄 Task Trajectory Lifetime: 5 Turns 🎯 Task Success Rate: 100% (Discovered, Loaded, Executed, Inspected) 🔴 Monolithic Cumulative Tokens: ~10,500 tokens (Preloaded schemas repeated every turn + raw payloads) 🟢 SkillPrism Cumulative Tokens: ~2,150 tokens (Zero-state + search + ephemeral schema + receipt) 🚀 Net Trajectory Token Savings: 79.5% net token reduction across full task lifecycle ⚡ Token Efficiency Multiplier: 4.88x more tokens preserved for agent reasoning

Benchmark Conditions & Disclosure:
  1. Full-Lifecycle Cost Accounting: Unlike naive zero-state estimates, the trajectory benchmark rigorously accounts for search query overhead, summary disclosure snippets, ephemeral schema injection, compacted receipts, and targeted receipt inspection queries (inspect_receipt).
  2. Task Success Rate: Across multi-turn evaluation tasks, SkillPrism achieves a **100% task completion succes

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx