WorkOS MCP Server
workos-mcp
这是一个轻量级模型控制协议 (MCP) 服务器,由create-mcp引导,并部署在 Cloudflare Workers 上。
该 MCP 服务器允许代理(如 Cursor Agents)与WorkOS API进行交互。
可用工具
当前的工具列表请参阅src/index.ts 。该类中的每个方法都是一个 MCP 工具。
Related MCP server: Remote MCP Server with WorkOS AuthKit
安装
运行自动安装脚本来克隆此 MCP 服务器并将其部署到您的 Cloudflare 帐户:
bun create mcp --clone https://github.com/zueai/workos-mcp打开
Cursor Settings -> MCP -> Add new MCP server并将复制的命令粘贴到剪贴板。将您的 WorkOS API 密钥和客户端 ID 作为机密上传:
bunx wrangler secret put WORKOS_API_KEY
bunx wrangler secret put WORKOS_CLIENT_ID部署变更
运行部署脚本:
bun run deploy然后重新加载“光标”窗口以使用更新的工具。
如何创建新的 MCP 工具
要创建新的 MCP 工具,请在src/index.ts中的MyWorker类中添加方法。每个函数都会自动成为代理可以使用的 MCP 工具。
例子:
/**
* A warm, friendly greeting from your MCP server.
* @param name {string} the name of the person we are greeting.
* @return {string} the contents of our greeting.
*/
sayHello(name: string) {
return `Hello from an MCP Worker, ${name}!`;
}JSDoc 注释很重要:
第一行成为工具的描述
@param标签定义工具的参数类型和描述@return标签指定返回值和类型
This server cannot be deployed
Maintenance
Related MCP Connectors
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
The official Upwork MCP server, letting AI agents connect to Upwork and act on your behalf.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceA lightweight MCP server allowing agents to interact with the WorkOS API for streamlined WorkOS operations through natural language commands.5-
- FlicenseNot gradedqualityDmaintenanceAn example MCP server that allows remote clients to connect and authenticate using WorkOS AuthKit, providing organization-centric authentication with permission-based access control for tools.2-
- AlicenseNot gradedqualityFmaintenanceA simple MCP server that provides access to Jira issues from Cursor AI, allowing users to reference and query Jira tickets directly in the chat panel.17MIT
- AlicenseNot gradedqualityDmaintenanceThis MCP server allows agents to interact with the WorkOS API.MIT