Add integration instructions for Cursor in README.md, including configuration details for mcp.json file and setup steps for users.

This commit is contained in:
yctimlin
2025-05-12 23:20:49 +08:00
2 changed files with 22 additions and 1 deletions
+1
View File
@@ -2,3 +2,4 @@ node_modules
.env .env
package-lock.json package-lock.json
.cursor .cursor
*.excalidraw
+20
View File
@@ -139,6 +139,26 @@ To use this server with the Cursor application, add the following configuration
} }
``` ```
## Integration with Cursor
To use this server with Cursor, create a `.cursor/mcp.json` file in your workspace with the following configuration:
```json
{
"mcpServers": {
"mcp_excalidraw": {
"command": "npx",
"args": ["-y", "excalidraw-mcp"]
}
}
}
```
Make sure to:
1. Replace `/path/to/your/directory` with the actual absolute path to your mcp_excalidraw installation
2. Create the `.cursor` directory if it doesn't exist
3. Ensure the path to `index.js` is correct and the file exists
### Docker Integration ### Docker Integration
```json ```json