workos-mcp
这是一个轻量级模型控制协议 (MCP) 服务器,由create-mcp引导,并部署在 Cloudflare Workers 上。
该 MCP 服务器允许代理(如 Cursor Agents)与WorkOS API进行交互。
可用工具
当前的工具列表请参阅src/index.ts 。该类中的每个方法都是一个 MCP 工具。
安装
运行自动安装脚本来克隆此 MCP 服务器并将其部署到您的 Cloudflare 帐户:
打开
Cursor Settings -> MCP -> Add new MCP server
并将复制的命令粘贴到剪贴板。将您的 WorkOS API 密钥和客户端 ID 作为机密上传:
部署变更
运行部署脚本:
然后重新加载“光标”窗口以使用更新的工具。
如何创建新的 MCP 工具
要创建新的 MCP 工具,请在src/index.ts
中的MyWorker
类中添加方法。每个函数都会自动成为代理可以使用的 MCP 工具。
例子:
JSDoc 注释很重要:
第一行成为工具的描述
@param
标签定义工具的参数类型和描述@return
标签指定返回值和类型
了解更多
查看以下资源以了解更多信息:
create-mcp 文档- 了解 create-mcp CLI
模型控制协议文档- 了解模型控制协议
workers-mcp - 为 Cloudflare Workers 实现 MCP 协议的软件包
Cloudflare Workers 文档- 了解 Cloudflare Workers 平台
WorkOS 文档- 了解 WorkOS API
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
轻量级 MCP 服务器允许代理通过自然语言命令与 WorkOS API 进行交互,以简化 WorkOS 操作。
Related Resources
Related MCP Servers
- -securityAlicense-qualityA lightweight MCP server that enables Cursor Agents to interact with the WorkOS API, providing access to WorkOS functionality directly from within the editor.Last updated -14MIT License
- -securityFlicense-qualityAn 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.Last updated -1
- -securityFlicense-qualityAn MCP (Multi-Agent Conversation Protocol) Server that enables interaction with Google Workflows API, allowing management of workflow executions and definitions through natural language commands.Last updated -
- -securityFlicense-qualityAn MCP server that enables interaction with Google Cloud's Workload Manager API, allowing users to manage workloads through natural language commands.Last updated -