Skip to main content
Glama

Knowledge MCP Server

by sven-borkert

create_knowledge_file

Generate structured knowledge documents with metadata for centralized project management. Automatically slugifies filenames, requires keywords, and supports chapters with titles and content for organized storage and retrieval.

Instructions

Create a structured knowledge document with metadata. Document name is slugified for safety (spaces→hyphens). Requires at least one keyword. Chapters must have 'title' and 'content' keys. Returns: {success: bool, document_id?: str, message?: str, error?: str}

Input Schema

NameRequiredDescriptionDefault
chaptersYesList of chapter objects with title and content
filenameYesDesired filename (will be slugified, .md extension optional)
introductionYesOpening text that appears before any chapters
keywordsYesList of searchable keywords
project_idYesThe project identifier
titleYesHuman-readable document title for the metadata

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chapters": { "description": "List of chapter objects with title and content", "items": { "additionalProperties": false, "properties": { "content": { "description": "Chapter content", "maxLength": 1048576, "minLength": 1, "type": "string" }, "title": { "description": "Chapter title", "maxLength": 200, "minLength": 1, "type": "string" } }, "required": [ "title", "content" ], "type": "object" }, "maxItems": 50, "type": "array" }, "filename": { "description": "Desired filename (will be slugified, .md extension optional)", "maxLength": 255, "minLength": 1, "type": "string" }, "introduction": { "description": "Opening text that appears before any chapters", "maxLength": 2000, "minLength": 1, "type": "string" }, "keywords": { "description": "List of searchable keywords", "items": { "maxLength": 50, "minLength": 1, "pattern": "^[a-zA-Z0-9._-]+$", "type": "string" }, "minItems": 1, "type": "array" }, "project_id": { "description": "The project identifier", "maxLength": 100, "minLength": 1, "type": "string" }, "title": { "description": "Human-readable document title for the metadata", "maxLength": 200, "minLength": 1, "type": "string" } }, "required": [ "project_id", "filename", "title", "introduction", "keywords", "chapters" ], "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/sven-borkert/knowledge-mcp'

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