@sit-onyx/modelcontextprotocol
This is the official onyx Model Context Protocol (or "MCP" for short) server.
Changelog
A full changelog can be found here.
Prerequisites
- Node.js version as specified in .node-version file
Getting started
Install the CLI globally:
shell
pnpm install -g [@sit-onyx](https://github.com/sit-onyx)/modelcontextprotocolshell
npm install -g [@sit-onyx](https://github.com/sit-onyx)/modelcontextprotocolNow you can run the onyx-mcp command:
shell
onyx-mcp -hUsing with the Gemini CLI
Add this entry to your Gemini settings (in ~/.gemini/settings.json):
json
{
"$schema": "https://raw.githubusercontent.com/google-gemini/gemini-cli/main/schemas/settings.schema.json",
"mcp": {
"allowed": ["onyx-mcp"]
},
"mcpServers": {
"onyx-mcp": {
"description": "Information about components of the onyx UI component library",
"command": "onyx-mcp",
"args": ["-r"]
}
}
}Save the file and confirm that the MCP has been set up correctly:
shell
gemini mcp listDevelopment
Run this command in the monorepo root:
shell
pnpm run dev modelcontextprotocolThis starts the "build" watcher and the @modelcontextprotocol/inspector locally.
You must reload the inspector browser website after changes to the @sit-onyx/modelcontextprotocol source code. Using the "Reconnect" button does not suffice!