Add .excalidraw to .gitignore, enhance README.md with Cursor integration instructions, and add mcp.json.example for configuration

This commit is contained in:
ycsahara
2025-03-17 13:18:27 +08:00
parent 7a72c187a6
commit c0ac378695
3 changed files with 41 additions and 0 deletions
+26
View File
@@ -83,6 +83,32 @@ To use this server with the Claude Desktop application, add the following config
}
```
## Integration with Cursor
To use this server with Cursor, create a `.cursor/mcp.json` file in your workspace with the following configuration:
```json
{
"mcpServers": {
"excalidraw": {
"command": "node",
"args": [
"/path/to/your/directory/mcp_excalidraw/src/index.js"
],
"env": {
"LOG_LEVEL": "info",
"DEBUG": "false"
}
}
}
}
```
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
```json