Skip to content

Commit 352d447

Browse files
committed
feat: tweaks
1 parent 002f2e4 commit 352d447

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,24 @@ reapi-mcp-openapi --dir /path/to/specs
5050
To integrate the MCP OpenAPI server with Cursor IDE, you have two options for configuration locations:
5151

5252
### Option 1: Project-specific Configuration (Recommended)
53-
Create a `.cursor/mcp.json` file in your project directory:
53+
Create a `.cursor/mcp.json` file in your project directory. This option is recommended as it allows you to:
54+
- Organize API specifications by project
55+
- Maintain different sets of specs for different projects
5456

5557
```json
5658
{
5759
"mcpServers": {
5860
"@reapi/mcp-openapi": {
5961
"command": "npx",
60-
"args": ["-y", "@reapi/mcp-openapi", "--dir", "/path/to/your/specs"],
62+
"args": ["-y", "@reapi/mcp-openapi", "--dir", "./specs"],
6163
"env": {}
6264
}
6365
}
6466
}
6567
```
6668

69+
> **Tip**: Using a relative path like `./specs` makes the configuration portable and easier to share across team members.
70+
6771
### Option 2: Global Configuration
6872
Create or edit `~/.cursor/mcp.json` in your home directory to make the server available across all projects:
6973

0 commit comments

Comments
 (0)