get_workspace_members
Retrieve all members in the current workspace using the Plane MCP Server to manage collaboration and access within your projects.
Instructions
Get all members in the current workspace
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/user.ts:12-22 (handler)The inline handler function for the 'get_workspace_members' tool. It makes a GET request to the Plane API to fetch workspace members and returns the data as a JSON-formatted text content block.server.tool("get_workspace_members", "Get all members in the current workspace", {}, async () => { const members = await makePlaneRequest("GET", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/members/`); return { content: [ { type: "text", text: JSON.stringify(members, null, 2), }, ], }; });
- src/tools/user.ts:12-22 (registration)Registers the 'get_workspace_members' tool on the MCP server with description, empty schema, and inline handler.server.tool("get_workspace_members", "Get all members in the current workspace", {}, async () => { const members = await makePlaneRequest("GET", `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/members/`); return { content: [ { type: "text", text: JSON.stringify(members, null, 2), }, ], }; });
- src/tools/index.ts:15-15 (registration)Calls registerUserTools within the main registerTools function, which includes the get_workspace_members tool registration.registerUserTools(server);
- src/server.ts:15-15 (registration)Top-level call to register all tools, including get_workspace_members via the chain.registerTools(server);