This MCP server provides access to JUCE Framework C++ class documentation through the Model Context Protocol. It acts as a bridge between your development environment and JUCE's documentation, allowing you to quickly find and reference class information without leaving your workflow.
To install the JUCE Documentation MCP Server:
# Clone the repository
git clone https://github.com/josmithiii/mcp-servers-jos.git
cd mcp-servers-jos/juce-docs-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
Start the MCP server with:
npm start
This starts the server using stdio
as the transport mechanism, making it compatible with MCP clients like Claude Desktop App, Continue, or other MCP-compatible applications.
To integrate with the Cursor editor:
Name
to "JUCE Docs" (or your preferred name) and set Type
to Command
Command
to node /path/to/juce-docs-mcp-server/dist/index.js
, using your actual pathYou can access documentation through resources and tools:
juce://class/{className}
- Get documentation for a specific JUCE classjuce://classes
- List all available JUCE classes/search-juce-classes
- Search for JUCE classes by name/get-juce-class-docs
- Get documentation for a specific JUCE classexplore-juce
- Interactive exploration of JUCE framework components
explore-juce audio
)List all available classes:
juce://classes
Get documentation for a specific class:
juce://class/ValueTree
Search for Audio classes:
/search-juce-classes Audio
Get documentation for a specific class:
/get-juce-class-docs AudioProcessor
To change the JUCE documentation URL source:
juce-docs-mcp-server/src/juce-docs.ts
const BASE_URL = 'https://ccrma.stanford.edu/~jos/juce_modules';
// More up-to-date alternatives:
const BASE_URL = 'https://docs.juce.com/develop';
const BASE_URL = 'https://docs.juce.com/master';
/search-juce-classes
followed by a category (Audio, GUI, etc.)explore-juce audio
for an overview of related classesjuce://class/ClassName
/search-juce-classes
AudioProcessor
for plugins, AudioSource
for playbackComponent
classAudioProcessor
and AudioProcessorEditor
classesCommon issues and solutions:
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.