Skip to main content
Glama

WorkOS MCP Server

by zueai

workos-mcp

这是一个轻量级模型控制协议 (MCP) 服务器,由create-mcp引导,并部署在 Cloudflare Workers 上。

该 MCP 服务器允许代理(如 Cursor Agents)与WorkOS API进行交互。

可用工具

当前的工具列表请参阅src/index.ts 。该类中的每个方法都是一个 MCP 工具。

安装

  1. 运行自动安装脚本来克隆此 MCP 服务器并将其部署到您的 Cloudflare 帐户:
bun create mcp --clone https://github.com/zueai/workos-mcp
  1. 打开Cursor Settings -> MCP -> Add new MCP server并将复制的命令粘贴到剪贴板。
  2. 将您的 WorkOS API 密钥和客户端 ID 作为机密上传:
bunx wrangler secret put WORKOS_API_KEY bunx wrangler secret put WORKOS_CLIENT_ID

部署变更

  1. 运行部署脚本:
bun run deploy
  1. 然后重新加载“光标”窗口以使用更新的工具。

如何创建新的 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标签指定返回值和类型

了解更多

查看以下资源以了解更多信息:

-
security - not tested
A
license - permissive license
-
quality - not tested

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 操作。

  1. 可用工具
    1. 安装
      1. 部署变更
        1. 如何创建新的 MCP 工具
          1. 了解更多

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              A high-performance MCP server that integrates Notion into AI workflows, enabling interaction with Notion pages, databases, and comments through a standardized protocol.
              Last updated -
              8
              10
              13
              TypeScript
            • -
              security
              A
              license
              -
              quality
              An MCP server that enables interaction with the Vercel API to manage deployments, DNS records, domains, projects, and environment variables through natural language commands.
              Last updated -
              65
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              An MCP server that connects to Backlog API, providing functionality to search, retrieve, and update issues through natural language commands.
              Last updated -
              53
              1
              JavaScript
              • Apple
            • -
              security
              A
              license
              -
              quality
              An MCP server that allows AI assistants to interact with Foundry datasets, ontology objects, and functions through natural language queries and commands.
              Last updated -
              2
              Python
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/zueai/workos-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server