This repository contains a Model Context Protocol (MCP) server implementation that provides a tool for searching git-spice documentation within Cursor IDE.
- Integration with Cursor IDE through MCP protocol
- Real-time git-spice documentation search
- Simple and efficient documentation parsing
- Node.js (v16 or higher)
- Cursor IDE
- npm or yarn package manager
- Clone this repository:
git clone <repository-url>
cd <repository-name>- Install dependencies:
npm install
# or
yarn install- Build the project:
npm run build
# or
yarn buildThe server is pre-configured with the following capabilities:
- Tools capability
- Resources capability
- Prompts capability
-
Open Cursor IDE settings:
- On macOS:
Cmd + , - On Windows/Linux:
Ctrl + ,
- On macOS:
-
Navigate to the "Extensions" section
-
Find the MCP Server settings and add a new server configuration:
{
"name": "Git Spice MCP Server",
"command": "node",
"args": ["dist/index.js"],
"cwd": "/path/to/your/project"
}- Save the settings and refresh the MCP
When using Cursor in agent mode, the MCP server will be automatically detected and the git-spice documentation search tool will be available. The agent will prompt you to use the tool when relevant to your queries.
src/index.ts: Main server implementationsrc/: Source code directorydist/: Compiled output directory