@exisjs/mcp
v0.1.0
Published
ExisJS Model Context Protocol (MCP) server for AI coding assistants
Readme
ExisJS MCP Server
@exisjs/mcp is a Model Context Protocol (MCP) server that connects AI coding agents like Claude and Cursor directly to your ExisJS projects.
It provides your AI assistant with the ability to dynamically read the local ExisJS framework documentation and flawlessly scaffold idiomatic ExisJS boilerplate code (routes, plugins, gateways, configurations).
Requirements
Install
Install for all your coding agents with add-mcp:
npx add-mcp @exisjs/mcp@latestAdd -y to skip the prompt and install to all detected agents. Add -g to install globally across all projects.
Or add the config to your MCP client manually:
{
"mcpServers": {
"exisjs-mcp": {
"command": "npx",
"args": ["-y", "@exisjs/mcp@latest"]
}
}
}[!NOTE]
@exisjs/mcp@latestkeeps your client on the latest version.
Client-specific setup
claude mcp add exisjs-mcp npx @exisjs/mcp@latestOr edit your MCP settings file with the config above.
Go to Cursor Settings → MCP → New MCP Server and use the config above.
Add to .gemini/antigravity/mcp_config.json:
{
"mcpServers": {
"exisjs-mcp": {
"command": "npx",
"args": ["-y", "@exisjs/mcp@latest"]
}
}
}code --add-mcp '{"name":"exisjs-mcp","command":"npx","args":["-y","@exisjs/mcp@latest"]}'Tools
| Tool | What it does |
| ------------------------ | ----------------------------------------------------------------------------------------- |
| exis_list_local_docs | Recursively scans and lists all ExisJS Markdown documentation from node_modules. |
| exis_read_local_docs | Reads a specific documentation page so the AI can understand ExisJS best practices. |
| exis_generate_route | Scaffolds an idiomatic ExisJS route controller module. |
| exis_generate_plugin | Scaffolds a hybrid ExisJS plugin module. |
| exis_generate_gateway | Scaffolds an ExisJS gateway (functional or OOP style). |
| exis_generate_config | Scaffolds the exis.config.ts configuration system. |
ExisJS ships its official documentation right inside its npm package. exis_list_local_docs searches your local node_modules/exisjs/dist/docs/ folder to list the topics, and exis_read_local_docs passes that exact file back to the AI. This prevents AI hallucination and ensures it writes perfect framework code based on your exact installed version.
The four generation tools (route, plugin, gateway, config) ensure that when you ask your AI to build something, it strictly adheres to ExisJS's defineRoute / definePlugin design paradigms instead of guessing Express or NestJS syntaxes.
Local Development
git clone https://github.com/v25group/exisjs-mcp.git
cd exisjs-mcp
npm install
npm run buildPoint your MCP client at the local build:
{
"mcpServers": {
"exisjs-mcp": {
"command": "node",
"args": ["/absolute/path/to/exisjs-mcp/dist/index.js"]
}
}
}License
MIT
