Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
MCP-native CEP for durable agents: event-time patterns, semantic predicates, derived events.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
DATA_DIR, MCP_WRITE_ENABLED, RUNTIME_WAKE_TARGETS_JSON, TYPESAFE_API_KEY, TYPESAFE_MODEL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"event-intelligence": {
"command": "npx",
"args": [
"-y",
"mcp-event-intelligence",
"mcp"
],
"env": {
"DATA_DIR": "your-value",
"MCP_WRITE_ENABLED": "your-value",
"RUNTIME_WAKE_TARGETS_JSON": "your-value",
"TYPESAFE_API_KEY": "your-value",
"TYPESAFE_MODEL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add event-intelligence --env DATA_DIR=your-value --env MCP_WRITE_ENABLED=your-value --env RUNTIME_WAKE_TARGETS_JSON=your-value --env TYPESAFE_API_KEY=your-value --env TYPESAFE_MODEL=your-value -- npx -y mcp-event-intelligence mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"event-intelligence": {
"command": "npx",
"args": [
"-y",
"mcp-event-intelligence",
"mcp"
],
"env": {
"DATA_DIR": "your-value",
"MCP_WRITE_ENABLED": "your-value",
"RUNTIME_WAKE_TARGETS_JSON": "your-value",
"TYPESAFE_API_KEY": "your-value",
"TYPESAFE_MODEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"event-intelligence": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-event-intelligence",
"mcp"
],
"env": {
"DATA_DIR": "your-value",
"MCP_WRITE_ENABLED": "your-value",
"RUNTIME_WAKE_TARGETS_JSON": "your-value",
"TYPESAFE_API_KEY": "your-value",
"TYPESAFE_MODEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
DATA_DIR envMCP_WRITE_ENABLED envTYPESAFE_MODEL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 sarooo17 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:RUNTIME_WAKE_TARGETS_JSON, TYPESAFE_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.11.0)于32天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Tools MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Durable temporal event intelligence for sleeping agents.
MCP Event Intelligence is an experimental event runtime for agents that need to react to future conditions over multiple event sources without keeping an LLM or agent loop alive.
The primary integration model is embedded and host-owned: the agent host keeps its existing MCP clients, transports, OAuth sessions and provider credentials. Event Intelligence receives a reference to the host's MCP registry, discovers the already-connected clients automatically, and uses only the Events-capable ones.
An agent can express an intent such as:
When this PR is merged, the production deploy succeeds, and no error is observed for 10 minutes, wake this task and review the release.
Event Intelligence persists the future condition independently of the model, waits for the world to satisfy it, and wakes the host only when the condition has an activation target. Conditions may also exist without an agent continuation; higher-level facts are composed separately through derived-event triggers.
If you use Codex, Cursor, Copilot, Claude Code or another coding agent to add EI to an existing application, start with the [agent integration guide](docs/AI-AGENT-INTEGRATION.md) or the portable integration skill. Coding agents working on this repository should also read AGENTS.md. The LLM documentation index is a lightweight discovery aid, not an automatically installed agent plugin.
These guides use public SDK exports, keep MCP credentials and continuations host-owned, and explain how to prove durable receipt/replay behavior. The skill is stored in this GitHub repository; a consumer must explicitly make it available to their own agent environment according to that client's support.
Install from npm:
npm install mcp-event-intelligence
npm install --save-exact mcp-event-intelligence@0.12.0-next.1
Published package: npm · Official MCP Registry
Pre-v1 upgrades: the current SDK preview is 0.12.0-next.1 (published under npm next; the npm versions page and both dist-tags were confirmed in a 2026-11-02 screenshot). See the versioned breaking-change and storage migration matrix and release notes. Plain npm install mcp-event-intelligence follows npm latest, not next; neither install command changes an already pinned host or migrates persisted data. Stable 1.0.0 has not been released.
For most runtimes, start with the runtime-neutral integration surface:
import {
createEmbeddedRuntimeIntegration, createEventSourceRegistry, } from 'mcp-event-intelligence/embedded';
const ei = await createEmbeddedRuntimeIntegration({ dataDir: './data/event-intelligence',
// The host owns transports, auth and connection lifecycle. eventSources: createEventSourceRegistry({ list: () => runtime.events.connections(), subscribe: (refresh) => runtime.events.onConnectionsChanged(refresh), }),
// EI emits an activation. The host decides what "resume" means. activation: { resolveTarget: (target) => runtime.resolveContinuation(target), hasReceipt: (receiptId) => runtime.hasWakeReceipt(receiptId), deliver: ({ activation, target, receiptId }) => runtime.resumeFromEvent({ activation, target, receiptId }), },
// Optional. Runtimes without an agent-tool surface can omit tooling entirely. tooling: { resolveContext: (ctx) => ({ target: runtime.currentContinuation(ctx), actor: runtime.currentActor(ctx), owner: runtime.currentOwner(ctx), }),
// Host-owned control. EI does not reduce authorization/approval/interrupt // semantics to a boolean. control: (request) => runtime.policy.control(request),
// Optional host-owned result projection. Large results may be externalized // behind a runtime-specific reference instead of entering model context. projectResult: (request) => runtime.results.project(request), }, });
The continuation target is intentionally opaque to EI apart from { runtime, kind, id }. A host may map it to a Turn, Execution, thread, graph checkpoint, workflow, Case, or any other durable continuation primitive.
The returned tools are neutral descriptors with EI-neutral capability metadata:
for (const tool of ei.toolCatalog.all) {
// The host translates this descriptor into its own tool/capability system. runtime.tools.register(tool); }
The embedded catalog includes source discovery plus the complete durable trigger lifecycle: trigger_create, trigger_list, trigger_inspect, trigger_pause, trigger_resume, trigger_update and trigger_delete. Trigger reads are owner-scoped through the identity returned by resolveContext(); durable mutations still pass through the host's control() boundary.
EI intentionally ships no per-runtime adapter matrix such as toOpenAI(), toAnthropic(), toMuffin() or toArtemis(). There are too many runtimes, and adding one runtime must never require changing EI core. The host consumes the same neutral contract and performs the final translation at its own boundary.
Tool exposure is also host-owned. toolCatalog.list({ capabilityIds }) can project only the capabilities the host has decided to expose. EI supplies metadata such as read vs durable mutation; it does not decide the host's RBAC, risk tiers, approval flow or interrupt UX.
For durable mutations, tooling.control() returns either:
{ action: 'execute', execution?: ... } — proceed, optionally attaching host policy/approval provenance; or{ action: 'return', result: ... } — stop and return an opaque host-owned outcome. That outcome may mean denied, approval required, interrupted, deferred, or anything else the host runtime supports.EI never interprets the second case. This keeps authorization, human approval and interrupt semantics entirely outside the event engine.
Result handling follows the same boundary. projectResult() may keep a small value inline or replace it with a host-owned reference. EI does not become a blob store, artifact system or model-context manager.
The package contains no named-runtime dispatch such as if (runtime === "muffin"), "artemis", "openai" or "anthropic". A new runtime should require only host-boundary code outside EI core.
The lower-level host API remains available when a runtime needs direct control:
Pass the harness-level MCP registry once — not every MCP one by one:
import {
createEventIntelligenceHost, createMcpRegistryAdapter, } from 'mcp-event-intelligence/host';
const ei = await createEventIntelligenceHost({ dataDir: './data', mcpRegistry: createMcpRegistryAdapter({ listConnections: () => host.mcp.listConnections(), subscribe: (refresh) => host.mcp.onConnectionsChanged(refresh), }), wake: async (packet, activation) => { const receipt = await host.resume(packet.target, { packet, activation, }); return { runtimeReceiptId: receipt.id }; }, });
Event Intelligence enumerates the host registry automatically. GitHub, Gmail, private/company MCPs and future connections do not need to be configured again inside EI. Tools-only MCPs remain available to the agent and are ignored by the Events layer; Events-capable MCPs are attached automatically.
Agents do not need a second DSL or a model-specific planner. The public authoring path is:
event_sources_list
↓ trigger_language_describe (only when grammar discovery is useful) ↓ trigger_plan ↓ Pattern AST definition ↓ trigger_create
planTrigger() is deterministic: it resolves live event sources, fills serverId, validates subscription arguments and predicate/pattern field paths against advertised schemas, and returns the canonical trigger definition plus the required connection IDs.
For a simple condition, omitting pattern produces an allOf Pattern over the declared events:
const plan = await ei.planTrigger({
events: [{ id: 'invoice', event: 'erpnext.sales_invoice.submitted', where: [ { path: 'grand_total', op: 'gt', value: 10000 }, ], }], withinMs: 60 * 60 * 1000, target: { runtime: 'agent', kind: 'conversation', id: 'chat-42', }, continuation: { instruction: 'Check the submitted invoice for anomalies and report back in this conversation.', }, });
For advanced CEP, author the same canonical pattern directly:
const language = ei.describeTriggerLanguage({ category: 'pattern' });
const plan = await ei.planTrigger({ events: [ { id: 'order', event: 'erpnext.sales_order.created' }, { id: 'failure', event: 'payments.failed' }, { id: 'ticket', event: 'support.ticket.created' }, ], withinMs: 30 * 60 * 1000, pattern: { version: '2', partitionBy: [{ key: 'customer', fields: [ { ref: 'order', path: 'customer' }, { ref: 'failure', path: 'customer' }, { ref: 'ticket', path: 'customer' }, ], }], root: { kind: 'aggregate', function: 'sum', ref: 'order', path: 'grand_total', op: 'gte', value: 10000, child: { kind: 'sequence', contiguity: 'followedBy', children: [ { kind: 'event', ref: 'order' }, { kind: 'repeat', child: { kind: 'event', ref: 'failure' }, min: 2, max: 5, mode: 'greedy', }, { kind: 'optional', child: { kind: 'event', ref: 'ticket' }, mode: 'greedy', }, ], }, }, }, target: { runtime: 'agent', kind: 'conversation', id: 'chat-42', }, continuation: { instruction: 'Review this customer payment-risk pattern.', }, });
Pattern AST is the single canonical trigger execution model. It covers nested boolean and sequence patterns, contiguity, repeat/optional quantifiers, bounded negative patterns, calendar/absence/debounce/rate/distinct semantics, event-time windows, cross-event comparisons and arithmetic, aggregates, state transitions, partitioning, match-selection policy and deterministic derived measures.
The wire schema currently identifies this grammar as version: "2"; that is a schema version, not a second execution architecture.
The runtime is deterministic first. A first-class semantic node is available only when structural data cannot express the condition reliably. It is vendor-neutral and calls the configured SemanticEvaluator; the bundled TypeSafe Jev adapter is optional when TYPESAFE_API_KEY is present. Semantic
只显示了开头部分;其余内容请在仓库中阅读