Skip to main content
Glama

Miro MCP

by k-jarzyna
getProjectMember.ts1.22 kB
import MiroClient from '../client.js'; import { z } from 'zod'; import { ServerResponse } from '../server-response.js'; import { ToolSchema } from '../tool.js'; const getProjectMemberTool: ToolSchema = { name: "get-project-member", description: "Retrieves information about a specific project member (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 retrieve specific member information"), memberId: z.string().describe("The ID of the member for which you want to retrieve information") }, fn: async ({ orgId, teamId, projectId, memberId }) => { try { const response = await MiroClient.getApi().enterpriseGetProjectMember( orgId, teamId, projectId, memberId ); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving project member: ${error}\n`); return ServerResponse.error(error); } } }; export default getProjectMemberTool;

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