Skip to content
Merged
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
26 changes: 26 additions & 0 deletions docs/integrations/mcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,32 @@ Under the `Settings` > `Feature` > `MCP Servers` section, click "Add New MCP Ser
- **Command**: `codegen`
- **Arguments**: `["mcp"]`

### For Cursor

To configure the Codegen MCP server in Cursor:

1. Open Cursor Settings (Cmd/Ctrl + ,)
2. Navigate to `Features` > `Model Context Protocol`
3. Click "Add Server" and configure:
- **Server Name**: `codegen-mcp`
- **Command**: `codegen`
- **Arguments**: `["mcp"]`
- **Working Directory**: `<path to your project>` (optional)

Alternatively, you can add the configuration directly to your Cursor settings file:

```json
{
"mcp.servers": {
"codegen": {
"command": "codegen",
"args": ["mcp"],
"cwd": "<path to your project>"
}
}
}
```

## Usage

### Starting the Server
Expand Down