Skip to main content
Glama

Lspace MCP Server

Official
by Lspace-io

lspace_add_content

Add text snippets, files, or URLs to the Lspace MCP Server for automated knowledge base generation. Specify repository ID, content type, and details to organize and store information efficiently.

Instructions

🚀 CREATE: Add content for automatic knowledge base generation. This is the PRIMARY tool for adding ANY content to lspace. Example: repositoryId='b3fcb584-5fd9-4098-83b8-8c5d773d86eb', inputType='text_snippet', content='My documentation text', title='New Guide'

Input Schema

NameRequiredDescriptionDefault
contentNoThe actual content text (for text_snippet) or file content (for file_upload). For files, use base64 encoding for binary data.
fileNameNoFile name (REQUIRED for file_upload type). Example: 'my-document.md'
inputTypeYesContent type: 'text_snippet' for text, 'file_upload' for files, 'web_url' to fetch from URL.
metadataNoOptional metadata like tags, categories, etc.
repositoryIdYesThe ID of the Lspace repository. Use 'lspace_list_repositories' first to get repository IDs.
titleNoOptional title for the content. Example: 'Installation Guide', 'Meeting Notes'
urlNoThe URL to fetch content from (REQUIRED for web_url type). Example: 'https://example.com/doc'
userNoOptional user identifier. Example: 'john.doe'

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "The actual content text (for text_snippet) or file content (for file_upload). For files, use base64 encoding for binary data.", "type": "string" }, "fileName": { "description": "File name (REQUIRED for file_upload type). Example: 'my-document.md'", "type": "string" }, "inputType": { "description": "Content type: 'text_snippet' for text, 'file_upload' for files, 'web_url' to fetch from URL.", "enum": [ "text_snippet", "file_upload", "web_url" ], "type": "string" }, "metadata": { "description": "Optional metadata like tags, categories, etc.", "type": "object" }, "repositoryId": { "description": "The ID of the Lspace repository. Use 'lspace_list_repositories' first to get repository IDs.", "type": "string" }, "title": { "description": "Optional title for the content. Example: 'Installation Guide', 'Meeting Notes'", "type": "string" }, "url": { "description": "The URL to fetch content from (REQUIRED for web_url type). Example: 'https://example.com/doc'", "type": "string" }, "user": { "description": "Optional user identifier. Example: 'john.doe'", "type": "string" } }, "required": [ "repositoryId", "inputType" ], "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