claude-monet-mcp 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -10
- package/dist/claude-monet-mcp-bg.webp +0 -0
- package/dist/demo.gif +0 -0
- package/package.json +15 -6
- package/server.js +4 -2
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="src/public/claude-monet-mcp-
|
|
2
|
+
<img src="src/public/claude-monet-mcp-bg.webp" alt="Claude Monet MCP" width="400">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<em>
|
|
6
|
+
<em>Let your ideas flow in strokes, not keystrokes.</em>
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
@@ -16,21 +16,25 @@
|
|
|
16
16
|
|
|
17
17
|
## What is this?
|
|
18
18
|
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* 🎨 **Visual thinking, amplified** - Some ideas are easier to draw than describe. Sketch freely and let AI see what you mean.
|
|
20
|
+
* ✨ **Beautifully simple** - A lightweight canvas that does one thing well: bridge your imagination to AI understanding.
|
|
21
|
+
* 🔄 **Instant connection** - Your strokes flow to AI in real-time via MCP. No exports, no uploads—just draw.
|
|
22
|
+
|
|
23
|
+
<p align="center">
|
|
24
|
+
<img src="src/public/demo.gif" alt="Claude Monet MCP Demo" width="800">
|
|
25
|
+
</p>
|
|
22
26
|
|
|
23
27
|
---
|
|
24
28
|
|
|
25
29
|
## Quick Add
|
|
26
30
|
|
|
27
|
-
### Claude Code
|
|
31
|
+
### <img src="https://cdn.simpleicons.org/anthropic/D97757" height="20" align="center"> Claude Code
|
|
28
32
|
|
|
29
33
|
```bash
|
|
30
34
|
claude mcp add claude-monet -- npx -y claude-monet-mcp
|
|
31
35
|
```
|
|
32
36
|
|
|
33
|
-
### Claude Desktop
|
|
37
|
+
### <img src="https://cdn.simpleicons.org/anthropic/D97757" height="20" align="center"> Claude Desktop
|
|
34
38
|
|
|
35
39
|
Add to your `claude_desktop_config.json`:
|
|
36
40
|
|
|
@@ -45,8 +49,23 @@ Add to your `claude_desktop_config.json`:
|
|
|
45
49
|
}
|
|
46
50
|
```
|
|
47
51
|
|
|
52
|
+
### <img src="https://cdn.simpleicons.org/cursor/000000" height="20" align="center"> Cursor
|
|
53
|
+
|
|
54
|
+
Add to your Cursor MCP settings (`Cursor Settings` → `Features` → `Model Context Protocol`):
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
{
|
|
58
|
+
"mcpServers": {
|
|
59
|
+
"claude-monet": {
|
|
60
|
+
"command": "npx",
|
|
61
|
+
"args": ["-y", "claude-monet-mcp"]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
48
67
|
> [!TIP]
|
|
49
|
-
> After adding the server, restart Claude Desktop/Code to load the MCP tools.
|
|
68
|
+
> After adding the server, restart Claude Desktop/Code/Cursor to load the MCP tools.
|
|
50
69
|
|
|
51
70
|
---
|
|
52
71
|
|
|
@@ -82,7 +101,7 @@ pnpm run build
|
|
|
82
101
|
pnpm start
|
|
83
102
|
```
|
|
84
103
|
|
|
85
|
-
The web interface will be available at `http://localhost:
|
|
104
|
+
The web interface will be available at `http://localhost:51423`
|
|
86
105
|
|
|
87
106
|
### Configure MCP
|
|
88
107
|
|
|
@@ -104,7 +123,7 @@ Add to your MCP settings:
|
|
|
104
123
|
## Usage
|
|
105
124
|
|
|
106
125
|
1. **Start the server** - Run `pnpm start` or use `npx claude-monet-mcp`
|
|
107
|
-
2. **Open the canvas** - Navigate to `http://localhost:
|
|
126
|
+
2. **Open the canvas** - Navigate to `http://localhost:51423` in your browser
|
|
108
127
|
3. **Draw your idea** - Use Excalidraw tools to sketch rectangles, circles, arrows, text, or freehand
|
|
109
128
|
4. **Ask Claude** - "Can you see my sketch? What do you think?"
|
|
110
129
|
|
|
Binary file
|
package/dist/demo.gif
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-monet-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "MCP server that gives Claude 'eyes' - sketch in Excalidraw, Claude reads the SVG",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "server.js",
|
|
@@ -15,20 +15,29 @@
|
|
|
15
15
|
"dev": "vite",
|
|
16
16
|
"build": "vite build",
|
|
17
17
|
"start": "node server.js",
|
|
18
|
-
"dev:full": "pnpm run build && pnpm start"
|
|
18
|
+
"dev:full": "pnpm run build && pnpm start",
|
|
19
|
+
"release": "release-it"
|
|
19
20
|
},
|
|
20
|
-
"keywords": [
|
|
21
|
+
"keywords": [
|
|
22
|
+
"mcp",
|
|
23
|
+
"excalidraw",
|
|
24
|
+
"sketch",
|
|
25
|
+
"visual-input",
|
|
26
|
+
"claude"
|
|
27
|
+
],
|
|
21
28
|
"author": "",
|
|
22
29
|
"license": "MIT",
|
|
23
30
|
"dependencies": {
|
|
24
|
-
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
25
31
|
"@excalidraw/excalidraw": "^0.18.0",
|
|
32
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
26
33
|
"express": "^4.18.0",
|
|
34
|
+
"open": "^11.0.0",
|
|
27
35
|
"react": "^18.0.0",
|
|
28
36
|
"react-dom": "^18.0.0"
|
|
29
37
|
},
|
|
30
38
|
"devDependencies": {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
39
|
+
"@vitejs/plugin-react": "^4.0.0",
|
|
40
|
+
"release-it": "^19.2.3",
|
|
41
|
+
"vite": "^5.0.0"
|
|
33
42
|
}
|
|
34
43
|
}
|
package/server.js
CHANGED
|
@@ -5,6 +5,7 @@ import { ListToolsRequestSchema, CallToolRequestSchema } from '@modelcontextprot
|
|
|
5
5
|
import express from 'express';
|
|
6
6
|
import { fileURLToPath } from 'url';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
8
|
+
import open from 'open';
|
|
8
9
|
|
|
9
10
|
const __filename = fileURLToPath(import.meta.url);
|
|
10
11
|
const __dirname = dirname(__filename);
|
|
@@ -93,10 +94,11 @@ app.post('/api/svg', (req, res) => {
|
|
|
93
94
|
});
|
|
94
95
|
|
|
95
96
|
// Start Express server
|
|
96
|
-
const PORT =
|
|
97
|
-
app.listen(PORT, () => {
|
|
97
|
+
const PORT = 51423;
|
|
98
|
+
app.listen(PORT, async () => {
|
|
98
99
|
console.log(`Web interface running at http://localhost:${PORT}`);
|
|
99
100
|
console.log('MCP server running on stdio');
|
|
101
|
+
await open(`http://localhost:${PORT}`);
|
|
100
102
|
});
|
|
101
103
|
|
|
102
104
|
// Start MCP server on stdio
|