workos-mcp
これは、 create-mcpでブートストラップされ、Cloudflare Workers にデプロイされた軽量の Model Control Protocol (MCP) サーバーです。
この MCP サーバーにより、エージェント (カーソル エージェントなど) は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
タグは戻り値と型を指定します
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.
カーソル エージェントが WorkOS API と対話できるようにし、エディター内から直接 WorkOS 機能にアクセスできるようにする軽量の MCP サーバーです。
Related MCP Servers
- -securityAlicense-qualityEnables the creation and deployment of API-based MCP tools for Cursor Agent using Cloudflare Workers, streamlining development and integration of custom functionalities.Last updated -1541TypeScriptMIT License
- -securityAlicense-qualityA lightweight MCP server allowing agents to interact with the WorkOS API for streamlined WorkOS operations through natural language commands.Last updated -4TypeScriptMIT License
- -securityFlicense-qualityAn MCP server that integrates with AI editors like Cursor to maximize agentic capabilities while solving context window limitations, providing a Svelte UI for task planning and implementation tracking.Last updated -18TypeScript
- -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 -1TypeScript