io.github.Alele496/bsv-specmate is an MCP server that BSV coding knowledge engine for AI agents — pre-compile traps and post-compile diagnosis. Its tool list has not been published yet over stdio, requires no API key, and scores 52/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"bsv-specmate": {
"args": [
"bsv-specmate"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
BSV coding knowledge engine for AI agents — pre-compile traps and post-compile diagnosis.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'bsv-specmate' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked bsv-specmate against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ai-ml / health
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
Unified real-time search engine skill for AI agents.
The official MCP server implementation for the Perplexity API Platform
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
MCP Security Weekly
Get CVE alerts and security updates for io.github.Alele496/bsv-specmate and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
BSV 终于有个 mate 了——一个懂 BSV、记得住你的翻车现场、会在编译前喊你看路的编码搭子。
AI 写 Python 很顺手。写 BSV?一编译满屏红——不是 AI 笨,是 BSV 太冷门,训练数据全是老版本。specmate 不替 Agent 写代码,它在 Agent 落笔之前先把坑指出来。
.bsv,方法顺序、Bool 运算符误用、SV 保留字冲突、字面量溢出。不调 bsc,秒出结果。specmate 有两个发布渠道,根据你的需求选择:
GitHub Packages(推荐) — 主力发布渠道,每个版本都第一时间发布,始终最新:
npm install @Alele496/bsv-specmate@0.2.0
npm — 稳定发行版,仅在经过充分验证后发布,版本更新可能滞后:
npm install -g bsv-specmate
如何选择? 追求新功能和最新陷阱知识选 GitHub Packages;在关键项目中使用、优先稳定性选 npm。两者功能完全一致,区别仅在于发布节奏。
需要 Node.js >= 18。使用 GitHub Packages 前需要先配置 npm registry,见 新手指南。
在 BSV 项目根目录创建 .mcp.json:
{
"mcpServers": {
"bsv-specmate": {
"command": "npx",
"args": ["bsv-specmate"]
}
}
}
启动 AI 客户端(Claude Code / OpenCode 等),Agent 自动发现 specmate 工具。
📡 通过 MCP Registry 发现:specmate 已注册到 MCP Registry(
Developer Tools类别)。在支持 Registry 的客户端中,可通过mcp add bsv-specmate一键安装,无需手动编写配置文件。
🎚️ 三级干预强度:
模式 行为 verify社恐模式零推送,默默旁观。code review 定稿前再出声 develop日常模式(默认)编码前主动推送陷阱,该提醒的时候绝不含糊 tapeout话痨模式全量守护,交付前不留死角,每个检查项都过一遍
让 Agent 写一段 BSV 代码,specmate 会自动介入。有返回结果就说明配置成功。详细步骤和常见问题见 新手指南。
specmate 通过 8 个 MCP 工具供 AI Agent 调用。
| 工具 | 用途 | 何时调用 |
|---|---|---|
specmate_scan ⭐ | 统一入口:陷阱预测 + AST 预扫描 + 设计建议 | 拿到新任务时,编码前 |
specmate_check | 19 条规则静态扫描 .bsv 文件 | 写完一段代码后,编译前 |
specmate_diagnose | 传入完整 BSC 编译输出,批量诊断所有错误 | 编译结果一屏幕红 |
specmate_capture | 解析 BSC 编译错误,入库新知识 | 编译报错时 |
specmate_resolve | 固化修复方案,标记错误已解决 | 错误修好之后 |
specmate_analyze | tree-sitter 深度解析 BSV 语法树 | 排查调度冲突、依赖问题时 |
specmate_diff | 对比编译结果快照,追踪 warning 变化 | 重构后对比编译变化 |
specmate_guide | 分阶段指导(pre_code / on_error / continue / decide / pattern) | 需要分步引导时 |
specmate_scan 是推荐统一入口,替代旧的多次分步调用。完整集成说明(AGENTS.md 模板、OpenCode 配置、角色提示词)见 Agent 集成手册。
拿到 BSV 任务
│
├─ specmate_scan({ task: "你的任务" })
│ └→ 陷阱预测 + 设计建议 + 推荐范式
│
├─ 写代码
│
├─ specmate_check({ files: ["绝对路径/文件.bsv"] })
│ └→ 19 条规则快速扫描
│
├─ bsc 编译
│ ├─ 通过 → specmate_resolve 固化经验 ✅
│ └─ 报错 → specmate_diagnose 诊断 + specmate_capture 捕获
│ └→ 修复 → 回到编译 → 通过 → resolve ✅
Agent 不知道 specmate?你不是第一个。 第一场实验里 Agent 全程 0 次调 specmate——不是工具不好,是它不知道有这个 mate。在对话里说一句"试试用
specmate_scan扫一下你的任务"就够了。
不是随口说的——我们做了五场对照实验。Agent 完成同一个 BSV 项目,唯一区别是带了 specma