diff --git a/.gitignore b/.gitignore index 7fa36dc..4e17dba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules .env package-lock.json -.cursor \ No newline at end of file +.cursor +*.excalidraw diff --git a/README.md b/README.md index 2e10bf3..ae91f8f 100644 --- a/README.md +++ b/README.md @@ -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 ```json