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 -6225TypeScriptMIT License
- -securityAlicense-qualityA lightweight MCP server allowing agents to interact with the WorkOS API for streamlined WorkOS operations through natural language commands.Last updated -3TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that converts Cursor agent plans into structured markdown task lists and organizes them in your repository, helping you track AI-generated plans and recommendations as actionable specifications.Last updated -3PythonMIT License
- -securityFlicense-qualityAn MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.Last updated -1Python