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
GameCode MCP2
A Model Context Protocol (MCP) server for tool integration, configured using a tools.yaml file.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
Interactive Feedback MCP
An MCP server for AI-assisted development tools like Cursor and Claude, supporting interactive feedback workflows with AI.
xcodebuild
🍎 Build iOS Xcode workspace/project and feed back errors to llm.
Feature Discussion
An AI-powered server that facilitates feature discussions between developers and AI, acting as a lead developer to guide implementation and architectural decisions.
Remote MCP Server Chatbot
A demonstration of deploying a remote MCP server on Cloudflare Workers without authentication.
MCP Terminal
An MCP server for accessing the terminal and managing git repositories.
Core Lightning MCP Server
A Rust-based gRPC server that provides a standardized MCP interface for Core Lightning nodes.
promptz.dev
Access and manage prompts from promptz.dev for developers.
FAL Imagen 4
Generate high-quality images using Google's Imagen 4 Ultra model via the FAL AI platform.