stimulus-docs
MCP server from pinzonjulian/stimulus-docs-mcp-server
claude mcp add --transport stdio pinzonjulian-stimulus-docs-mcp-server node /path/to/your/stimulus-docs-mcp-server/build/index.js
How to use
This MCP server provides on-demand access to up-to-date Stimulus JS documentation. It fetches content from the official Stimulus-site repository and caches it locally to improve performance and reliability. The server exposes a collection of tools corresponding to different sections of the Stimulus documentation, such as the Handbook and the Reference. Each tool lets you retrieve relevant documentation content, with a caching and fallback strategy so you can access information even if GitHub is temporarily unavailable.
How to install
Prerequisites
- Node.js 18.0.0 or higher
- npm (bundled with Node.js)
Installation steps
- Clone the repository and navigate to the project directory
- Install dependencies
npm install
- Build the project
npm run build
- Run the built MCP server (adjust the path as needed)
node build/index.js
- Add the MCP server to Claude Desktop or your MCP client configuration as shown in the README (the example uses the built index.js path):
{
"mcpServers": {
"stimulus-docs": {
"command": "node",
"args": ["/path/to/your/stimulus-docs-mcp-server/build/index.js"],
"env": {}
}
}
}
Notes
- If your environment cannot locate node, supply the full path to the node executable in the command.
- The server fetches latest Stimulus documentation from GitHub and caches content under a commit-based cache structure for fast retrieval.
Additional notes
Tips and caveats:
- Prerelease/experimental status: This MCP is experimental; expect changes and possible instability.
- Caching strategy: The server caches content per commit SHA and timestamp to minimize API calls. Ensure sufficient disk space for caches.
- Environment variables: You may want to provide environment variables for custom cache paths or GitHub access if needed in your deployment environment.
- Troubleshooting: If you see ENOENT errors (node not found), use the full path to the Node executable in the command.
- Documentation coverage: Available tools include sections from Handbook (Origin of Stimulus, Introduction, Hello Stimulus Tutorial, Building Something Real, Designing for Resilience, Managing State, Working with External Resources, Installing Stimulus) and Reference (Actions, Controllers, CSS Classes, Lifecycle Callbacks, Outlets, Targets, Using TypeScript, Values).
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