Skip to main content
Glama

localnest_list_roots

List configured local roots available to the LocalNest MCP server for AI agent codebase access and file discovery.

Instructions

List configured local roots available to this MCP server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
response_formatNojson

Implementation Reference

  • Implementation and registration of the localnest_list_roots tool.
    registerJsonTool(
      'localnest_list_roots',
      {
        title: 'List Roots',
        description: 'List configured local roots available to this MCP server.',
        inputSchema: {
          limit: z.number().int().min(1).max(1000).default(100),
          offset: z.number().int().min(0).default(0)
        },
        annotations: {
          readOnlyHint: true,
          destructiveHint: false,
          idempotentHint: true,
          openWorldHint: false
        }
      },
      async ({ limit, offset }) => paginateItems(workspace.listRoots(), limit, offset)
    );

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/wmt-mobile/localnest'

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