
Runframe Mcp Server
io.github.runframe由 GitHub 账号 runframe 发布v0.1.5更新于 Oct 24, 2026
MCP server for Runframe incident management covering incidents, on-call, postmortems, and more.
概览
Runframe MCP 服务器让 AI 助手在编辑器内管理事件响应、值班查询、服务、复盘、团队和人员查找。
- 可以做什么
- 列出、读取、创建和更新事件,变更状态、确认事件、添加时间线记录、升级事件,并通过 Slack 或邮件呼叫响应人。查询当前值班人员,并按严重级别读取升级策略。列出服务并按公开服务键获取服务详情。创建复盘并获取某个事件的复盘。列出团队,按姓名或邮箱搜索用户,包括用于历史查询的非活跃用户。
- 适用场景
- 适合已使用 Runframe 的工程团队,希望不离开 IDE 或智能体就能分诊、确认、升级或记录事件,并查看值班安排。也适合起草复盘,以及在筛选事件前解析人员或团队名称。
- 运行要求
- 通过 npx 以 stdio 本地进程运行,需要 Node.js 20+。需要 Runframe 账户和 API 密钥,通过 RUNFRAME_API_KEY 提供(以 rf_ 开头);RUNFRAME_API_URL 可覆盖 API 基础地址。HTTP 传输模式还需 MCP_ACCESS_TOKEN。需要能访问 Runframe API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Runframe Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
runframe-mcp-server
[CI] [npm] [License: MIT] [Node 20+]
Runframe is the complete incident lifecycle platform for engineering teams, covering incident response, on-call, and status pages. This MCP server lets you manage those workflows from your IDE or AI agent.
17 tools covering incidents, on-call, services, postmortems, teams, and people lookup. Requires Node.js 20+.
Why Use This
- Stay in your editor — acknowledge incidents, page responders, and write postmortems without switching to a browser
- Let agents handle the routine — AI agents can triage, escalate, and update incidents autonomously using scoped API keys
- Zero infrastructure — runs via
npx, no server to deploy for local use
How It Works
The server is stateless. It translates MCP tool calls into Runframe API requests, scoped by your API key permissions. No data is stored locally.
Examples
Ask your agent:
- "Acknowledge incident INC-2026-001" → calls
runframe_acknowledge_incident - "Who is on call right now?" → calls
runframe_get_current_oncall - "Create a postmortem for the database outage" → calls
runframe_create_postmortem - "Page the backend team lead about the API latency spike" → calls
runframe_page_someone - "List all open SEV1 incidents" → calls
runframe_list_incidentswith severity filter - "Find Alex so I can check their open incidents" → calls
runframe_find_user
Install
Get your API key from settings inside Runframe.io, then add to your agent:
Claude Code:
Cursor (~/.cursor/mcp.json) · VS Code (.vscode/mcp.json) · Claude Desktop (claude_desktop_config.json):
Other MCP clients: Add the JSON config above to your client's MCP config file.
Interactive setup wizard:
Environment Variables
Transports
stdio (default) — used by MCP clients like Claude Code and Cursor. No network exposure. This is what the install commands above configure.
Streamable HTTP — for containerized or remote deployments. Requires MCP_ACCESS_TOKEN for bearer auth:
Security Model
Responsibility is split across three boundaries:
- Runframe API handles authorization and scopes via
RUNFRAME_API_KEY. - This MCP server handles process isolation (stdio) and bearer-token validation (HTTP). It also enforces method filtering, Host/Origin checks on localhost, declared Content-Length validation (1 MB limit), 8 KB header limit, and 15s upstream timeout.
- Your reverse proxy handles TLS, rate limiting, and streamed-body enforcement if you expose HTTP mode to a network.
The server stores nothing. It is a pass-through to the Runframe API.
Tools
Incidents (9)
On-call (1)
Services (2)
Postmortems (2)
Teams (2)
Users (1)
Direct API alignment
This MCP server follows the public Runframe direct API contract.
- Incident create requires
service_idscontaining public service keys likesvc_K7M4Q9TZ2H, not internal UUIDs. runframe_get_servicenow looks up services by publicservice_key, not UUID.- Incident tools now follow the latest V1 contract: use incident numbers like
INC-2026-001in path parameters. - Incident update and list filters now use the latest public identifiers where V1 does: assignee/resolver email and
team_name. runframe_create_incidentaccepts an optionalidempotency_key, which is forwarded as theIdempotency-Keyheader for retry-safe creates.runframe_create_incidentdefaultsseveritytoSEV2when omitted, matching the V1 API.- Incident create now mirrors the V1 API limits:
titlemust be 1-200 chars,descriptionmaxes at 10000 chars, andservice_idsallows at most 50 items. - Incident creation depends on valid SLA configuration for the requested severity. If acknowledge or closure deadlines are missing, the API rejects the create.
- Use
runframe_list_servicesto discover validservice_keyvalues before creating incidents. runframe_page_someonenow uses the latest V1 delivery contract:email,channels, and optionalmessage.- Postmortem tools now follow the latest V1 contract: use
incident_numberand snake_case nested fields likeusers_affected,owner_email, andtime_to_acknowledge. - Use
runframe_find_userto resolve a person name to an email address before filtering incidents byassigned_toorresolved_by. - Set
include_inactive=trueonrunframe_find_userwhen you need to resolve former employees in historical incident queries. - Set
is_active=trueoris_active=falseonrunframe_find_userwhen you need an explicit V1 active-state filter. - Use
runframe_list_teamswithsearchto resolve the exactteam_namebefore filtering incidents.
Docker
The Docker image runs HTTP transport by default on port 3100:
Deploying HTTP Mode
HTTP mode is meant for private networks. If you put it on the internet:
- Run behind TLS (nginx, Caddy, cloud LB). This server does not do TLS.
- Use a reverse proxy for rate limiting and request buffering.
- Prefer private subnets or VPNs over public exposure.
- Rotate
MCP_ACCESS_TOKENregularly. Pass old and new tokens comma-separated for zero-downtime swaps.
Rate limiting
The Runframe API enforces rate limits server-side. If you hit a limit, tools return a 429 error with a retry hint. For HTTP transport deployments, your reverse proxy can add additional request-level throttling.
Token rotation
MCP_ACCESS_TOKEN accepts comma-separated tokens:
- Set
MCP_ACCESS_TOKEN=new_token,old_token - Update clients to
new_token - Drop the old one:
MCP_ACCESS_TOKEN=new_token
Limitations
- Read-only for schedules — you can query on-call and escalation policies but not modify them via MCP
- Requires a Runframe account and API key
Contributing
Issues and PRs welcome at github.com/runframe/runframe-mcp-server.
License
来源:README.md,提交 f7d76b6
工具
0版本历史
1- v0.1.5最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分