list_projects
Retrieve a comprehensive list of all available Overleaf projects accessible via Git integration, enabling efficient management and analysis of LaTeX documents and their structures.
Instructions
List all available projects
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- overleaf-mcp-server.js:244-258 (handler)The handler function for the 'list_projects' tool. It lists all configured Overleaf projects from projectsConfig, mapping each to an object with id, name, and projectId, and returns them as a JSON string in a text content block.
case 'list_projects': { const projects = Object.entries(projectsConfig.projects).map(([key, project]) => ({ id: key, name: project.name, projectId: project.projectId, })); return { content: [ { type: 'text', text: JSON.stringify(projects, null, 2), }, ], }; } - overleaf-mcp-server.js:138-145 (registration)The tool registration in the ListToolsRequestHandler, including name, description, and empty input schema (no parameters required).
{ name: 'list_projects', description: 'List all configured Overleaf projects', inputSchema: { type: 'object', properties: {}, }, }, - overleaf-mcp-server.js:141-144 (schema)The input schema for the list_projects tool, which is an empty object indicating no input parameters are needed.
inputSchema: { type: 'object', properties: {}, },