MCPInstructionServer
Description
# MCPInstructionServer A TypeScript MCP (Model Context Protocol) server for AI assistants to discover and access structured markdown instructions. ## Overview MCPInstructionServer enables AI assistants like Claude to access a library of markdown-based instructions through a…
About
# MCPInstructionServer A TypeScript MCP (Model Context Protocol) server for AI assistants to discover and access structured markdown instructions. ## Overview MCPInstructionServer enables AI assistants like Claude to access a library of markdown-based instructions through a standardized interface. By organizing…
Details
- Author
- MartinSchlott
- Downloads
- 172
- Categories
- Other
Jump to
- Simple filesystem‑based storage using markdown files in directories
- Recursive directory scanning for hierarchical organization
- Path security prevents directory traversal and access outside the allowed directory
- Automatic extraction of H1 title and first paragraph as summaries
- Model Context Protocol support for compatible AI assistants
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCPInstructionServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Start the server by passing the path to your instructions directory: npm start -- /path/to/instructions or node dist/index.js /path/to/instructions. Instructions are plain .md files with an H1 title and a first‑paragraph summary. The server exposes two MCP tools: listInstructions to see all instruction IDs and summaries, and readInstruction with an id parameter to get the full document.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcpinstructionserver": {
"MCPInstructionServer": {
"command": "node",
"args": [
"dist/index.js",
"/path/to/instructions"
]
}
}
}
}
McpServers
{
"MCPInstructionServer": {
"command": "node",
"args": [
"dist/index.js",
"/path/to/instructions"
]
}
}
MCPInstructionServer
A TypeScript MCP (Model Context Protocol) server for AI assistants to discover and access structured markdown instructions.
Overview
MCPInstructionServer enables AI assistants like Claude to access a library of markdown-based instructions through a standardized interface. By organizing instructions as markdown files, you can:
- Create a centralized knowledge base for AI prompting
- Maintain versioned, structured guidance documents
- Allow AI assistants to search and retrieve specific instructions on-demand
- Establish consistent patterns for AI-assisted tasks
How It Works
The server indexes markdown files in a specified directory (and its subdirectories), treating each file as an instruction document. The server extracts each document's title and first paragraph to create searchable summaries.
AI assistants can then:
1. List all available instructions with their summaries
2. Request specific instructions by ID
Features
- Simple filesystem-based storage: Just markdown files in directories
- Recursive directory scanning: Organize instructions in a hierarchical folder structure
- Path security: Prevents directory traversal and access to files outside the allowed directory
- Automatic summary extraction: Pulls the H1 title and first paragraph from each document
- Model Context Protocol support: Compatible with AI assistants that implement MCP
Prerequisites
- Node.js 18+ (for ESM support)
- npm or yarn
- Basic familiarity with TypeScript and markdown
Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



