Markdown Sidecar MCP Server
Serve and access markdown documentation for locally installed NPM, Go, or PyPi packages.
Markdown Sidecar MCP Server
This provides a structured way to serve and access markdown documentation from an MCP server for NPM packages, Go Modules, or PyPi packages. It enables informed code generation by exposing these markdown files as resources or tools.
[!NOTE]
Note: Many PyPi packages do not have markdown docs exposed, so this library will also mount pythonhelproot docs by default.
This is designed to be executed from within a project directory where the requested packages are already installed locally. Access always stays within your local environments working directory.
Installation
npx -y markdown-sidecar-mcp
Arguments
workingDir: The working directory of your repo.packageName: The name of the package or module to requestregistry: Registry the package will be found in (npm,gomodules, orpypi)docsSubDir: [OPTIONAL] The specific subdirectory to look for markdown docs in. Defaults to package root.mcpPrimitive: [OPTIONAL] The MCP primitive to expose from the server (toolorresource). This defaults totool, some clients do not currently support resources.
Cursor Installation Steps
Add the following server definition to your .cursor/mcp.json file:
{
"mcpServers": {
"sidecar": {
"command": "npx",
"args": [
"-y", "--package", "markdown-sidecar-mcp",
"--",
"mcp", "start",
"--workingDir", "{REPO_WORKING_DIR}",
"--packageName", "{PACKAGE_NAME}",
"--registry", "npm"
]
}
}
}
Development
# Install dependencies
npm i
# Build
npm run build
# Run with Bun
npm run build:mcp
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes and push them up
- Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Remote MCP Server (Authless)
An authentication-free, remote MCP server deployable on Cloudflare Workers or locally via npm.
Biel.ai MCP Server
Connect AI tools like Cursor and VS Code to your product documentation using the Biel.ai platform.
MCP Project Initializer
Automates the setup of new AI-powered MCP server development projects.
Odoo XML-RPC MCP Server
Interact with Odoo instances using the XML-RPC API. Requires configuration via environment variables or config files.
Mastra/mcp
Client implementation for Mastra, providing seamless integration with MCP-compatible AI models and tools.
DeployHQ
A Model Context Protocol (MCP) server for DeployHQ that enables AI assistants like Claude Desktop and Claude Code to interact with your DeployHQ deployments.
Enkrypt AI
Integrate red-teaming, prompt auditing, and AI safety analysis into any MCP-compatible client.
sep-mpc-server
A server for processing semantic embeddings, requiring external data files mounted via a Docker volume.
Binlog MCP Server
A Model Context Protocol Server for analyzing MSBuild binlogs.
AST2LLM for Go
A local AST-powered context enhancement tool for LLMs that analyzes Go project structure for faster context resolution.