pulse-mcp

pulse-mcp

Enforces build discipline for coding agents via a phase state machine, contract validation, and deterministic gate checks through MCP tools like pulse_next, pulse_submit, pulse_gate, and pulse_verify.

Category
访问服务器

README

@agentpulselabs/pulse

Portable, contract-enforced build discipline for coding agents.

Pulse is a discipline engine — a phase state machine (Discovery → Stories → Architecture → Build → Deliver)

  • a pluggable architecture contract + JSON schemas + a validator + a gate runner. It ships the brain; your coding agent (Claude Code, Cursor, Codex, Windsurf, Cline) provides the model, the UI, and the human.

The point: an AI agent driving Pulse produces code that is provably inside your platform's architectural rules — because "done" is a deterministic gate command (npm run check), and a proposal that breaks an invariant is rejected by code, not by review.

Formerly the Claude-Code-only "SEAP". Pulse ports the method to any host via MCP + a CLI plugin.


How it works — brain vs. nervous system

   @agentpulselabs/pulse (BRAIN, pure)          your coding agent (NERVOUS SYSTEM)
   · phase state machine                     · runs the LLM (its model)
   · contract (the rules)          ── MCP ──▶ · renders progress (native UI)
   · schemas + validator          ◀── CLI ── · holds the human gate
   · gate runner (npm run check)             · edits files · owns PM-tool MCPs

Pulse never calls an LLM. pulse_next emits a work-list (prompts + a JSON schema per task); your agent runs them on its model; pulse_submit validates the results against the schema and the contract; pulse_gate locks decisions and advances; pulse_verify runs the gate command. The discipline travels; the reasoning is the host's.

State lives in the repo (.pulse/)

Durable, git-tracked, travels across agents and humans, validatable offline:

.pulse/
  pulse.config.json     which contract governs + the gate command
  engagement.json       phase · status
  board.json            THE project board (machine truth)
  BOARD.md              rendered kanban (regenerated — don't hand-edit)
  STATUS.md             one-glance dashboard
  sync.json             optional PM-tool sync intent (Jira/GitHub/Asana)
  decisions/product/    human decisions
  decisions/architecture/  platform-dictated ADRs (each cites the invariant)
  design/               working design docs (graduate to docs/DESIGN_*.md on gate)

Two ways to drive it

1. MCP (primary — every agent): run the pulse-mcp stdio server. Requires the optional peer dep:

npm i @agentpulselabs/pulse @modelcontextprotocol/sdk

Register it with your agent (example — Claude Code .mcp.json):

{ "mcpServers": { "pulse": { "command": "npx", "args": ["pulse-mcp"] } } }

Tools: pulse_start · pulse_next · pulse_submit · pulse_gate · pulse_verify · pulse_status · pulse_board_update · pulse_claim · pulse_sync.

2. CLI plugin (fallback): the published agentpulse CLI can install a pulse topic:

agentpulse plugins install @agentpulselabs/cli-plugin-pulse
agentpulse pulse start --requirements "…"

(The plugin is a thin shim that imports this core — see the parent design doc §4b.)

The contract is pluggable

// .pulse/pulse.config.json
{ "contract": "agentpulse", "gates": "npm run check && npm run check:types" }
  • contract: "agentpulse" → the built-in reference contract (10 non-negotiables + 8 invariants + deep checks for table categories, migration-free schema, secrets-in-settings, no-DB-blobs).
  • contract: "generic" → point at your own pulse.contract.md + a gates command. Pulse enforces schema-validity + the DAG + your gate; add your own deep checks with a JS contract (advanced).

What Pulse guarantees (and what it doesn't)

Guarantees (deterministic): schema validity, contract-invariant compliance, an acyclic work-item DAG, and that "done" = your gate command exited 0. Never delegated to an LLM.

Does NOT guarantee: insight. Reasoning quality is your host model's. On a weak model, Discovery is shallow — Pulse keeps it correct, not brilliant.

Develop

npm test        # node --test — pure, no network, no MCP SDK needed

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选