list_projects
Retrieve a comprehensive list of all projects within your organization using the OpenReplay MCP Server. Ideal for managing and analyzing user session data effectively.
Instructions
Get list of all projects in the organization
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:314-325 (handler)The main handler function for the 'list_projects' tool. It makes an API call to retrieve the list of projects from OpenReplay and returns the response as formatted JSON text.private async listProjects() { const response = await this.api.get(`/api/v1/projects`); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
- src/index.ts:54-62 (registration)Registration of the 'list_projects' tool in the ListTools response, including its name, description, and input schema (no required parameters).{ name: "list_projects", description: "Get list of all projects in the organization", inputSchema: { type: "object", properties: {}, required: [] } },
- src/index.ts:274-275 (registration)Dispatch logic in the CallToolRequestSchema handler that routes calls to the listProjects method.case "list_projects": return await this.listProjects();