Skip to main content
Glama

Miro MCP

by k-jarzyna
removeProjectMember.ts1.19 kB
import MiroClient from '../client.js'; import { z } from 'zod'; import { ServerResponse } from '../server-response.js'; import { ToolSchema } from '../tool.js'; const removeProjectMemberTool: ToolSchema = { name: "remove-project-member", description: "Removes a member from a project (Enterprise only)", args: { orgId: z.string().describe("The ID of the organization to which the project belongs"), teamId: z.string().describe("The ID of the team to which the project belongs"), projectId: z.string().describe("The ID of the project from which you want to remove a member"), memberId: z.string().describe("The ID of the member that you want to remove from a project") }, fn: async ({ orgId, teamId, projectId, memberId }) => { try { const response = await MiroClient.getApi().enterpriseDeleteProjectMember( orgId, teamId, projectId, memberId ); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error removing project member: ${error}\n`); return ServerResponse.error(error); } } }; export default removeProjectMemberTool;

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/k-jarzyna/mcp-miro'

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