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.
संबंधित सर्वर
Alpha Vantage MCP Server
प्रायोजकAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MKP
Model Kontext Protocol Server for Kubernetes that allows LLM-powered applications to interact with Kubernetes clusters through native Go implementation with direct API integration and comprehensive resource management.
Chronos Protocol
A robust MCP server that eliminates temporal blindness in AI coding agents through intelligent time tracking, persistent memory, and complete session traceability.
REPL MCP Server
A universal REPL session manager supporting Python, Node.js, Ruby, and more, with session management and LLM-assisted recovery.
NuGet Package README
Fetches comprehensive information about NuGet packages from the NuGet Gallery, including READMEs, metadata, and search functionality.
mcprouter
A proxy for routing requests to remote MCP servers.
Ilograph MCP Server
Create and validate Ilograph diagrams with access to documentation and guidance.
MCP Server with GitHub OAuth
A remote MCP server with built-in GitHub OAuth support, designed for deployment on Cloudflare Workers.
Accordo MCP Server
Provides dynamic YAML-driven workflow guidance for AI coding agents with structured development workflows, progression control, and decision points.
Zeropath
Interact with the Zeropath vulnerability management API.
MCP Terminal Server
A secure command-line interface server for the Model Context Protocol (MCP) that allows AI models to interact with a user's terminal.