PagerDuty Workflow Automation MCP Server

PagerDuty Workflow Automation MCP Server

Connects Claude to PagerDuty Workflow Automation (formerly Catalytic), enabling discovery of workflows, triggering runs with inputs, and monitoring or aborting running instances.

Category
访问服务器

README

PagerDuty Workflow Automation MCP Server

Unofficial MCP server for PagerDuty Workflow Automation (formerly Catalytic). This project is not affiliated with, endorsed by, or supported by PagerDuty. It uses the legacy Catalytic v1 API that PagerDuty may change or remove at any time. Use at your own risk.

MCP server that connects Claude to PagerDuty Workflow Automation (formerly Catalytic). Lets Claude find processes (workflows), trigger runs with input fields, and check or abort running instances.

Requires username/password login. SSO teams are not supported. The v1 API authenticates with a user key obtained by posting a username and password, and there is currently no working way to get that key on a team that logs in through SSO. See Authentication for details.

Built against the Catalytic internal v1 API (swagger spec in the local legacy_api/ folder, which is gitignored since it is internal PagerDuty documentation). Base URL is https://<team>.pushbot.com/v1 and every request authenticates with an x-user-key header.

Setup

pip install -r requirements.txt
cp .env.example .env

Get your User Key:

python3 get_token.py

It POSTs your username and password to /v1/teams/<team>/auth (you type them locally, they go only to your team's endpoint) and prints the CATALYTIC_USER_KEY and CATALYTIC_TEAM lines to paste into .env, using vi .env.

Authentication

Every request carries an x-user-key header holding a 64-character user key. The only known way to obtain one is POST /v1/teams/<team>/auth with a username and password, which is what get_token.py does.

SSO teams do not work today. If your team logs in through an identity provider, that endpoint rejects your credentials and there is no substitute. Approaches that were tried and failed:

  • Access tokens created in the web UI. These are a different credential format (a ~180-character serialized token). They are rejected by the v1 API as an x-user-key, and rejected as a Bearer token by the newer /api surface.
  • The user-token request/approve/poll endpoints documented in the swagger spec (POST /teams/<team>/user-tokens, :approve, :poll). Only partially deployed: creation works, but polling returns 401 and approve/revoke/list return 404.
  • Copying the key out of the web app. The current web UI no longer uses the v1 API. It authenticates with a catalytic.sid session cookie against a GraphQL endpoint, so no x-user-key header ever appears in its traffic.
  • Reusing the browser session. The v1 API ignores session cookies and returns 403 without the header.
  • Capturing the key from the SAML exchange. The spec's saml-auth schema shows a userKey in the response to POST /saml/auth, but on current deployments that request returns a 302 with no key in the redirect.

If you find a working method on an SSO team, please open an issue.

Use with Claude Code

The included .mcp.json registers the server for this project automatically. To register it globally instead:

claude mcp add "PagerDuty Workflow Automation" -- python3 /path/to/pagerduty-wfa-mcp-server/server.py

Use with Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "PagerDuty Workflow Automation": {
      "command": "python3",
      "args": ["/path/to/pagerduty-wfa-mcp-server/server.py"]
    }
  }
}

Tools

Tool API call Purpose
list_workflows GET /teams/{team}/processes List processes, filter by category, owner, published
get_workflow GET /teams/{team}/processes/{id} Process details, including expected fields
start_workflow POST /teams/{team}/runs Trigger a run with optional name, description, and inputs
get_instance GET /teams/{team}/runs/{id} Status, tasks, and progress of a run
get_instance_fields GET /teams/{team}/runs/{id}/fields Field values of a run
find_instances GET /teams/{team}/runs Search runs by owner, status, or date range
stop_instance PUT /teams/{team}/runs/{id} Abort a running instance

start_workflow takes inputs as a plain dict of field names to values:

start_workflow(
    process_id="8bf3db91-a8b2-4e34-aade-38c08a49170e",
    name="Renewal for Acme",
    inputs={"customer-name": "Acme", "priority": "High"}
)

API notes

  • Run statuses: running, completed, failed, aborted.
  • The swagger spec does not formally define the POST /runs request body; the server sends {processID, displayName, description, fields: [{fieldName, value}]} based on the run schema's writable fields. If the API rejects it, compare against a request the web UI makes (browser dev tools, Network tab) and adjust start_workflow in server.py.

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选