Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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), }, ], }; }
  • 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: {}, }, },
  • The input schema for the list_projects tool, which is an empty object indicating no input parameters are needed.
    inputSchema: { type: 'object', properties: {}, },

Other Tools

Related Tools

Latest Blog Posts

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/mjyoo2/OverleafMCP'

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