Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
High-performance, modular MCP v2 server with safe profiles, worker pool, caching, and stdio.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"high-performance": {
"command": "npx",
"args": [
"-y",
"high-performance-mcp-server"
]
}
}
}在终端中运行这条命令
claude mcp add high-performance -- npx -y high-performance-mcp-server粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"high-performance": {
"command": "npx",
"args": [
"-y",
"high-performance-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"high-performance": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"high-performance-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 AnIayana 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.7.0)于4天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Signoff
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Five gates that make an agent's 'done' provable: run them, read the verdict, audit the record.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A high-performance, modular Model Context Protocol (MCP) server built with TypeScript and the modern MCP v2 SDK (@modelcontextprotocol/server). Features safe-by-default security profiles, profile-aware server instructions, modular MCP prompts, allowlisted workspace inspection with opt-in guarded text mutation, SSRF-hardened network access, Streamable HTTP, Stdio transport, reusable worker thread pooling, production LRU caching with single-flight stampede protection, and structured telemetry.
[!NOTE]
Status:
0.7.0Public Preview.
This package provides safe-by-default MCP tools, read-only workspace inspection, opt-in guarded workspace mutation and network access, programmatic Node.js library embedding with operator policies, loopback HTTP health probes (
/healthz) and opt-in observability dashboard (/dashboard), structured operational log levels, worker request cancellation, normalized progress reporting, and high-performance worker execution. Requires Node.js >= 22.0.0.
Compatibility: All v0.7 options (
includeSha256onfile_info,extensionsonsearch_files,excludeIgnoredonlist_directory) are additive. Existing callers that omit them retain their established default semantics.
@modelcontextprotocol/server with standard JSON Schema draft 2020-12 validation and full 2026-07-28 protocol support.stdio) or modern Streamable HTTP (node:http + /mcp).explore_workspace, find_and_explain, review_file, trace_symbol) exposed exclusively in workspace, workspace_write, and all profiles.rootId values for every workspace prompt and the workspace resource template without enumerating files or exposing host paths.safe profile exposes zero filesystem, network, or hardware inspection. Filesystem mutation and outbound network access require explicit workspace_write/network (or all) opt-in.root-1, root-2), bounded text operations, and binary file protection without exposing host absolute paths to clients or models. The workspace profile remains read-only; guarded mutation is isolated to workspace_write and all.search_files, search_text) with ignored directory defaults, bounded concurrency (SEARCH_CONCURRENCY = 8), coordinate mapping, optional bounded context lines (contextLines: 0..10), and client cancellation.list_directory with maxDepth: 1..5) using breadth-first search and normalized relative paths up to a global 500-entry cap.edit_text_file) and atomic no-clobber creation (write_text_file) with optional safe segment-by-segment parent creation (createParents), optimistic SHA-256 concurrency control, and optional client confirmation.fetch_url) protected by multi-layered SSRF defenses, DNS rebinding mitigation, port allowlists, conditional response caching, and lightweight HTTP HEAD metadata inspection.AbortSignal cancellation support, and prompt hard termination for running synchronous compute.stderr.Add to your MCP configuration (e.g. claude_desktop_config.json):
{
"mcpServers": { "high-performance-mcp": { "command": "npx", "args": [ "-y", "high-performance-mcp-server" ] } } }
{
"mcpServers": { "workspace-mcp": { "command": "npx", "args": [ "-y", "high-performance-mcp-server", "--profile=workspace", "--root=/path/to/project" ] } } }
For local testing and interactive debugging with @modelcontextprotocol/inspector, refer to the configuration template in examples/inspector-workspace.example.json.
# Clone and build
git clone https://github.com/AnIayana/high-performance-mcp-server.git cd high-performance-mcp-server npm install npm run build
node dist/cli.js
node dist/cli.js --profile=workspace --root=.
node dist/cli.js --transport=http --port=3000
The server can run over Streamable HTTP on loopback:
# Using CLI flag
node dist/cli.js --transport=http --port=3000
MCP_TRANSPORT=http PORT=3000 node dist/cli.js
When running with HTTP transport (--transport=http or MCP_TRANSPORT=http):
http://127.0.0.1:3000/mcp (Streamable HTTP protocol handler)http://127.0.0.1:3000/healthz (operational liveness probe)--dashboard or MCP_DASHBOARD=true)*: http://127.0.0.1:3000/dashboard (zero-dependency, read-only live telemetry UI and /dashboard/api/stats JSON snapshot)127.0.0.1. Remote binding, TLS termination, and external network exposures are not supported.localhostHostValidation) and browser CSRF (localhostOriginValidation) protections remain active across all routes, including /healthz.GET /healthz: Returns 200 OK with {"status":"ok"} (Content-Type: application/json; charset=utf-8, Cache-Control: no-store).HEAD /healthz: Returns 200 OK with identical headers and an empty body.POST, PUT, DELETE, etc.) return 405 Method Not Allowed with Allow: GET, HEAD./healthz performs a constant-time local check. It creates no MCP sessions, incurs no worker thread allocations, touches no filesystem or network resources, and mutates no metrics.HEALTHCHECK or Kubernetes probes), operators may point both liveness and readiness probes to /healthz (example command: curl -f -s http://127.0.0.1:3000/healthz). There is no separate /readyz endpoint because all server initialization is synchronous and in-memory upon successful port listen.The server can be embedded directly into Node.js applications (ESM-only, Node >=22):
import {
createServer, resolveWorkspaceConfig, createWorkspaceOperatorPolicy, createNetworkOperatorPolicy, createNetworkCachePolicy, } from "high-performance-mcp-server";
// 1. Safe default server (only 'echo' and 'ping' enabled) const safeServer = createServer();
// Connect to transport or execute within application...
// Gracefully close protocol sessions when done await safeServer.close();
// 2. Workspace write profile with canonicalized roots and operator policies const workspaceConfig = await resolveWorkspaceConfig(["/path/to/project"]); const workspaceServer = createServer({ profile: "workspace_write", workspaceConfig, workspacePolicy: createWorkspaceOperatorPolicy({ maxWriteBytes: 2 * 1024 * 1024, requireWriteConfirmation: true, }), networkPolicy: createNetworkOperatorPolicy({ allowedHostPatterns: ["example.com", "*.githubusercontent.com"], httpsOnly: true, }), networkCachePolicy: createNetworkCachePolicy({ enabled: true, }), });
await workspaceServer.close();
[!NOTE]
- Multiple server instances in the same Node.js process share process-global compute cache, worker pool, and metrics.
- Local
WorkspaceConfigobjects may contain canonical absolute filesystem paths for local host validation; physical host paths are never exposed over remote MCP client protocols.
To protect host machines and prevent unintended resource consumption or metadata leakage, tools, resources, instructions, and prompts are categorized into security profiles:
| Profile | Included Categories | Exposed Tools | Prompts | Use Case |
|---|---|---|---|---|
| `safe` *(Default)* | safe | echo, ping | *(none)* | Zero host inspection, zero filesystem access, zero mutation. Safe for public exposure. |
| `workspace` | safe, workspace | echo, ping, workspace_roots, list_directory, file_info, read_text_file, search_files, search_text | explore_workspace, find_and_explain, review_file, trace_symbol | Read-only file and directory inspection strictly limited to allowlisted --root directories. |
| `workspace_write` | safe, workspace, workspace_write | echo, ping, workspace_roots, list_directory, file_info, read_text_file, search_files, search_text, write_text_file, edit_text_file | explore_workspace, find_and_explain, review_file, trace_symbol | Guarded workspace text file creation, overwriting, and transactional editing with optimistic concurrency. |
| `network` | safe, network | echo, ping, fetch_url | *(none)* | SSRF-hardened, read-only HTTP/HTTPS web fetching for public resources. |
| `diagnostics` | safe, diagnostics | echo, ping, cache_stats, server_metrics, system_stats, worker_pool_stats | *(none)* | Process and system observability for monitoring health and event-loop lag. |
| `benchmark` | safe, benchmark | echo, ping, cached_prime_count, heavy_compute_main, heavy_compute_worker | *(none)* | CPU-intensive prime calculation benchmarks and worker pool tests. |
| `admin` | safe, diagnostics, admin | echo, ping, cache_stats, server_metrics, system_stats, worker_pool_stats, reset_cache, reset_metrics | *(none)* | Observability with administrative runtime state mutation (purging cache, resetting metrics). |
| `all` | safe, workspace, workspace_write, network, diagnostics, benchmark, admin | All 20 registered tools | All 4 workspace prompts | Complete tool and prompt catalog. |
When an MCP client connects, the server delivers concise, profile-tailored instructions via the MCP protocol:
workspace_roots -> search_files /只显示了开头部分;其余内容请在仓库中阅读