An MCP server to access up to date documentation for Turbo JS.
This MCP is in early development. It may contain bugs, have limited functionality, or undergo breaking changes without notice. Use at your own risk and expect potential instability.
- Node.js: Minimum version 18.0.0 or higher
- npm: Comes bundled with Node.js
- Clone this repository and navigate to the project directory
- Install dependencies:
npm install
- Build the project using the provided script:
npm run build
This will compile the TypeScript source code and create the executable in the build/
directory.
- First, build the MCP server following the instructions above
- Follow the instructions at https://modelcontextprotocol.io/quickstart/user to add a new MCP server.
- Add the following configuration:
{
"mcpServers": {
"Turbo-docs": {
"command": "node",
"args": ["/path/to/your/Turbo-docs-mcp-server/build/index.js"],
"env": {}
}
}
}
- Replace
/path/to/your/Turbo-docs-mcp-server
with the actual path to this project - Restart Claude Desktop
- The Turbo documentation tools should now be available in your Claude conversations
- Build the MCP server following the instructions above
- Follow the instructions at https://code.visualstudio.com/docs/copilot/chat/mcp-servers
- Using your preferred method based on the instructions above, configure the MCP server by pointing it to the built executable:
{ "Turbo-docs": { "type": "stdio", "command": "node", "args": [ "path/to/your/Turbo-docs-mcp-server" ] } }
- Replace
path/to/your/Turbo-docs-mcp-server
with the path to theindex.js
file built in step 1. - The Turbo documentation will be accessible through the MCP client interface
You may see the following errors when opening Claude after configuring the MCP:
MCP Turbo-docs: spawn node ENOENT (2)
Could not connect to MCP server Turbo-docs
MCP Turbo-docs: Server disconnected. For troubleshooting guidance [...]
This is because the path to the node
executable can not be found. If that's the case, instead of "command": "node"
use the complete path to the node. If you use mise
it may be something like:
"command": "/Users/<YOUR USER NAME/.local/share/mise/installs/node/20.18.3/bin/node
The Turbo documentation files included are copied from the official Turbo-site repository.
The next phase of exploration for this MCP could be to fetch the docs from the web to keep them up to date and store them locally for a set period of time.
All credit for the documentation content goes to the Turbo team and contributors.
This MCP server provides access to the complete Turbo documentation, organized into:
Handbook:
- Introduction
- Drive
- Page Refreshes
- Frames
- Streams
- Native
- Building with Turbo
- Installing Turbo
Reference:
- Attributes
- Drive
- Events
- Frames
- Streams
Each documentation section is available as a separate tool that can be called to retrieve the relevant content.