WorkOS MCP Server
workos-mcp
これは、 create-mcpでブートストラップされ、Cloudflare Workers にデプロイされた軽量の Model Control Protocol (MCP) サーバーです。
この MCP サーバーにより、エージェント (カーソル エージェントなど) は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-mcpCursor 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タグは戻り値と型を指定します
もっと詳しく知る
詳細については、次のリソースをご覧ください。
create-mcp ドキュメント- create-mcp CLI について学ぶ
モデル制御プロトコルドキュメント- モデル制御プロトコルについて学ぶ
workers-mcp - Cloudflare WorkersのMCPプロトコルを実装するパッケージ
Cloudflare Workers ドキュメント- Cloudflare Workers プラットフォームについて学ぶ
WorkOS ドキュメント- WorkOS API について学ぶ
This server cannot be deployed
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
The official Upwork MCP server, letting AI agents connect to Upwork and act on your behalf.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA lightweight MCP server that enables Cursor Agents to interact with the WorkOS API, providing access to WorkOS functionality directly from within the editor.14MIT
- 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-
- FlicenseNot gradedqualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) Server that enables interaction with Google Workflows API, allowing management of workflow executions and definitions through natural language commands.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with Google Cloud's Workload Manager API, allowing users to manage workloads through natural language commands.-