Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,31 @@ codex mcp add cocoindex-code -- ccc mcp
```
</details>

<details>
<summary>Cursor</summary>

After installing `ccc` above, run `ccc init` in your project root once to configure the project and embedding model. Then add this to `.cursor/mcp.json` in that project:

```json
{
"mcpServers": {
"cocoindex-code": {
"type": "stdio",
"command": "ccc",
"args": ["mcp"],
"env": {
"COCOINDEX_CODE_HOST_CWD": "${workspaceFolder}"
}
}
}
}
```

Cursor expands `${workspaceFolder}` to the project root, so the server uses the right project regardless of Cursor's launch directory.

If Cursor cannot find `ccc`, replace the `command` value with the absolute path to the installed `ccc` executable. Enable `cocoindex-code` in Cursor's MCP server list. See [Cursor's MCP documentation](https://cursor.com/docs/mcp) for configuration details.
</details>

<details>
<summary>OpenCode</summary>

Expand Down