File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments