Skip to content

Commit aa17af3

Browse files
authored
Merge pull request #5 from shinpr/fix/cursor-mcp-config-format
fix: correct Cursor MCP configuration format
2 parents 324567b + 324ea42 commit aa17af3

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ claude mcp add mcp-image --env GEMINI_API_KEY=your-api-key --env IMAGE_OUTPUT_DI
3636

3737
#### For Cursor
3838

39-
Add to your Cursor settings (`~/.cursor/mcp.json`):
39+
Add to your Cursor settings:
40+
- **Global** (all projects): `~/.cursor/mcp.json`
41+
- **Project-specific**: `.cursor/mcp.json` in your project root
4042

4143
```json
4244
{
43-
"mcp": {
44-
"servers": {
45-
"mcp-image": {
46-
"command": "npx",
47-
"args": ["-y", "mcp-image"],
48-
"env": {
49-
"GEMINI_API_KEY": "your_gemini_api_key_here",
50-
"IMAGE_OUTPUT_DIR": "/absolute/path/to/images"
51-
}
45+
"mcpServers": {
46+
"mcp-image": {
47+
"command": "npx",
48+
"args": ["-y", "mcp-image"],
49+
"env": {
50+
"GEMINI_API_KEY": "your_gemini_api_key_here",
51+
"IMAGE_OUTPUT_DIR": "/absolute/path/to/images"
5252
}
5353
}
5454
}

0 commit comments

Comments
 (0)