Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Integrates AI editors with Semantic Voxel Protocol projects, enabling project status queries, AI-driven compilation across levels, and block management through MCP tools and resources.

README.md

SVP-MCP

Semantic Voxel Protocol - MCP Server

SVP 的 Model Context Protocol 实现,让 AI 编辑器 (Cursor, Claude Code, Windsurf 等) 能够与 SVP 项目集成。

功能

  • 📊 项目状态查询 - 查看编译层级和文件状态
  • 🔧 AI 编译 - 从编辑器触发 L5→L1 编译
  • 📋 Block 列表 - 列出所有逻辑块
  • 🔍 Block 详情 - 查看特定块的实现代码
  • 📁 Resources - 暴露项目上下文作为 MCP Resources

安装

npm install -g @semanticvoxelprotocol/mcp-server

配置

Cursor

创建 .cursor/mcp.json:

{
  "mcpServers": {
    "svp": {
      "command": "npx",
      "args": ["@semanticvoxelprotocol/mcp-server", "--project", "."]
    }
  }
}

Claude Code

Claude Code 会自动发现 MCP servers,或手动添加:

# 在项目目录运行
npx @semanticvoxelprotocol/mcp-server --project .

其他编辑器

任何支持 MCP 的编辑器都可以使用 stdio 传输层连接:

svp-mcp --project /path/to/project

提供的 Tools

svp_status

获取项目编译状态

{
  "name": "svp_status",
  "arguments": {}
}

svp_compile

AI 编译指定层级

{
  "name": "svp_compile",
  "arguments": {
    "level": 5  // 5|4|3|2
  }
}

svp_compile_all

AI 编译所有层级 (L5→L1)

{
  "name": "svp_compile_all",
  "arguments": {}
}

svp_list_blocks

列出逻辑块

{
  "name": "svp_list_blocks",
  "arguments": {
    "level": 3  // 3|2|1, default: 3
  }
}

svp_get_block

获取特定块内容

{
  "name": "svp_get_block",
  "arguments": {
    "blockId": "validate_order_input",
    "level": 1  // 1|2, default: 1
  }
}

提供的 Resources

| URI | 描述 | |-----|------| | svp://{project}/context | 项目上下文和状态 | | svp://{project}/ir/5 | L5 蓝图 (YAML) | | svp://{project}/ir/4 | L4 架构流程 (YAML) | | svp://{project}/ir/3 | L3 领域模型 (YAML) | | svp://{project}/ir/1 | L1 实现代码 (TypeScript) |

使用示例

在 Cursor 或 Claude Code 中:

> 查看 SVP 项目状态
使用 svp_status 工具查询项目编译状态...

✅ L1 (6 files)
✅ L2 (6 files)  
✅ L3 (6 blocks)
✅ L4
✅ L5

> 列出所有逻辑块
使用 svp_list_blocks 工具...

L3 Logic Blocks (6):
  - validate_order_input: Validate Order Input
  - call_inventory_service: Call Inventory Service
  ...

> 查看 validate_order_input 的实现
使用 svp_get_block 工具...

// L1 Block: validate_order_input
export function validateOrderInput(request: OrderRequest): ValidationResult {
  // 完整实现代码...
}

> 重新编译 L5
使用 svp_compile 工具,level=5...

✅ Successfully compiled L5 → L4

开发

# 安装依赖
npm install

# 构建
npm run build

# 测试运行
node dist/server.js --project ../template-ts

架构

┌─────────────────┐     ┌─────────────┐     ┌─────────────────┐
│   AI Editor     │────▶│  MCP Client │────▶│  SVP MCP Server │
│ (Cursor/Claude) │     │   (stdio)   │     │  (this package) │
└─────────────────┘     └─────────────┘     └────────┬────────┘
                                                      │
                           ┌─────────────────────────┘
                           ▼
                    ┌─────────────┐
                    │  SVP Core   │
                    │ AICompiler  │
                    └─────────────┘

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Files & Docs servers.