mcp -rag
MCP-Server for Mpx Docs RAG
claude mcp add --transport stdio mpx-ecology-mcp-server-rag npx -y @mpxjs/mcp-server-rag
How to use
This MCP server provides a retrieval-augmented generation (RAG) backend tailored for Mpx Docs. It can be loaded directly via npm package (recommended) or run from a local build for debugging. In VS Code, configure the MCP server as a stdio-based server so the MCP client can communicate over standard input/output. When using the npm package, the server is pulled and started on demand, exposing capabilities to fetch and combine documentation content with a generative model to answer questions or generate context-aware responses. You can switch to a local development version by pointing the server to a built dist/index.js, which is useful for debugging custom changes before publishing.
How to install
Prerequisites:
- Node.js and npm (or npm-compatible runtime) installed on your machine.
Option A: Use the npm package (recommended)
-
Ensure Node.js and npm are installed.
-
In your project or environment, run:
npm install -g @mpxjs/mcp-server-rag
-
Start or integrate the MCP server via the npx command as shown in the config below, which will fetch the package on demand:
npx -y @mpxjs/mcp-server-rag
Option B: Run from local source (development)
-
Clone the repository containing mcp-server-rag and install dependencies:
git clone https://github.com/your-org/mpx-server-rag.git cd mpx-server-rag npm install
-
Build or compile the project if required (follow the project’s README, often:
npm run build
-
Run the server directly from the built file, for example:
node dist/index.js
-
In your VS Code MCP settings, point to the local server executable path as shown in the example below.
Additional notes
Tips:
- If you rely on the npm package, ensure your environment has network access to fetch the package when starting the server.
- When debugging locally, the dist/index.js path must exist; use the project’s build script to generate it.
- In VS Code settings, keep the stdio type configuration; the server will communicate over standard IO with the MCP client.
- If you encounter port or IO issues, verify there are no conflicting processes using the same IO streams and check the server logs for startup errors.
- Environment variables (if any) can include API keys for underlying models or document stores; add them under env in your development environment as needed.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud