Skip to main content
Glama

Knowledge MCP Server

by sven-borkert

add_project_section

Add a new section to a project's main.md file, specifying header, content, and position (before, after, or end). Use reference headers for precise placement. Returns success status and details.

Instructions

Add a new section to the project main.md file. The section can be positioned at the end, or before/after a reference section. The section_header must include the "## " prefix. Returns: {success: bool, message?: str, error?: str}

Input Schema

NameRequiredDescriptionDefault
contentYesThe content for the new section
positionNoWhere to insert the section (default: "end")
project_idYesThe project identifier
reference_headerNoThe section header to use as reference point for before/after positioning
section_headerYesThe new section header (e.g., "## Configuration")

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "description": "The content for the new section", "maxLength": 10485760, "type": "string" }, "position": { "description": "Where to insert the section (default: \"end\")", "enum": [ "before", "after", "end" ], "type": "string" }, "project_id": { "description": "The project identifier", "maxLength": 100, "minLength": 1, "type": "string" }, "reference_header": { "description": "The section header to use as reference point for before/after positioning", "maxLength": 200, "minLength": 1, "pattern": "^##\\s+", "type": "string" }, "section_header": { "description": "The new section header (e.g., \"## Configuration\")", "maxLength": 200, "minLength": 1, "pattern": "^##\\s+", "type": "string" } }, "required": [ "project_id", "section_header", "content" ], "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