Skip to main content
Glama

Lspace MCP Server

Official
by Lspace-io

lspace_browse_knowledge_base

Browse and read files or directories in the Lspace knowledge base. Syncs with the remote server for updated content; use 'list_directory' to view folders or 'read_file' for file contents.

Instructions

📖 BROWSE: Read existing knowledge base files/directories (read-only). Automatically syncs with remote before browsing to ensure latest content. Example: To list files in 'Lspace Official Docs' root, use repositoryId='b3fcb584-5fd9-4098-83b8-8c5d773d86eb', operation='list_directory', path='.'

Input Schema

NameRequiredDescriptionDefault
operationYesOperation type: 'list_directory' to see files/folders, 'read_file' to read file contents. Use 'lspace_add_content' for content creation.
pathYesPath relative to repository root. Use '.' for root directory, 'folder/file.txt' for specific files.
repositoryIdYesThe ID of the Lspace repository. Use 'lspace_list_repositories' first to get repository IDs.

Input Schema (JSON Schema)

{ "properties": { "operation": { "description": "Operation type: 'list_directory' to see files/folders, 'read_file' to read file contents. Use 'lspace_add_content' for content creation.", "enum": [ "read_file", "list_directory" ], "type": "string" }, "path": { "description": "Path relative to repository root. Use '.' for root directory, 'folder/file.txt' for specific files.", "type": "string" }, "repositoryId": { "description": "The ID of the Lspace repository. Use 'lspace_list_repositories' first to get repository IDs.", "type": "string" } }, "required": [ "repositoryId", "operation", "path" ], "type": "object" }

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/Lspace-io/lspace-server'

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