Skip to main content
Glama

Knowledge MCP Server

by sven-borkert

update_project_section

Modifies specific sections within a project's main.md file without replacing the entire document, ensuring precise updates by matching exact section headers.

Instructions

Update a specific section within the project main.md file. This is more efficient than replacing the entire file when making targeted changes. The section_header must match exactly (including "## " prefix). Returns: {success: bool, message?: str, error?: str}

Input Schema

NameRequiredDescriptionDefault
new_contentYesThe new content for this section (without the header)
project_idYesThe project identifier
section_headerYesThe exact section header to update (e.g., "## Installation")

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "new_content": { "description": "The new content for this section (without the header)", "maxLength": 10485760, "type": "string" }, "project_id": { "description": "The project identifier", "maxLength": 100, "minLength": 1, "type": "string" }, "section_header": { "description": "The exact section header to update (e.g., \"## Installation\")", "maxLength": 200, "minLength": 1, "pattern": "^##\\s+", "type": "string" } }, "required": [ "project_id", "section_header", "new_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