verso-mcp 0.1.4 → 0.1.5
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 +3 -3
- package/index.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# verso-mcp
|
|
2
2
|
|
|
3
|
-
MCP server for [Verso](https://
|
|
3
|
+
MCP server for [Verso](https://useverso.app) — AI-powered mobile app design tool.
|
|
4
4
|
|
|
5
5
|
Connects Claude Code to Verso so you can design mobile app screens with AI.
|
|
6
6
|
|
|
7
7
|
## Setup
|
|
8
8
|
|
|
9
|
-
1. Get your API token from [
|
|
9
|
+
1. Get your API token from [useverso.app](https://useverso.app) (click your avatar > copy API token)
|
|
10
10
|
|
|
11
11
|
2. Add to your Claude Code MCP config (`~/.claude/mcp.json`):
|
|
12
12
|
|
|
@@ -38,7 +38,7 @@ Once connected, Claude can:
|
|
|
38
38
|
## Options
|
|
39
39
|
|
|
40
40
|
```
|
|
41
|
-
verso-mcp --token=vrs_xxx # Connect to
|
|
41
|
+
verso-mcp --token=vrs_xxx # Connect to useverso.app
|
|
42
42
|
verso-mcp --token=vrs_xxx --url=URL # Connect to custom server
|
|
43
43
|
```
|
|
44
44
|
|
package/index.js
CHANGED
|
@@ -14,7 +14,7 @@ const log = (...args) => process.stderr.write(`[verso-mcp] ${args.join(' ')}\n`)
|
|
|
14
14
|
// --- CLI Args ---
|
|
15
15
|
const args = process.argv.slice(2)
|
|
16
16
|
let API_TOKEN = ''
|
|
17
|
-
let SERVER_URL = 'https://
|
|
17
|
+
let SERVER_URL = 'https://useverso.app' // default production
|
|
18
18
|
|
|
19
19
|
for (let i = 0; i < args.length; i++) {
|
|
20
20
|
if (args[i] === '--token' && args[i + 1]) { API_TOKEN = args[++i]; continue }
|
|
@@ -30,8 +30,8 @@ for (let i = 0; i < args.length; i++) {
|
|
|
30
30
|
verso-mcp --token=vrs_xxx --url=http://localhost:4444
|
|
31
31
|
|
|
32
32
|
Options:
|
|
33
|
-
--token API token (get from
|
|
34
|
-
--url Server URL (default: https://
|
|
33
|
+
--token API token (get from useverso.app settings)
|
|
34
|
+
--url Server URL (default: https://useverso.app)
|
|
35
35
|
--help Show this help
|
|
36
36
|
`)
|
|
37
37
|
process.exit(0)
|
|
@@ -39,7 +39,7 @@ for (let i = 0; i < args.length; i++) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
if (!API_TOKEN) {
|
|
42
|
-
process.stderr.write(`[verso-mcp] Error: --token is required. Get your API token from
|
|
42
|
+
process.stderr.write(`[verso-mcp] Error: --token is required. Get your API token from useverso.app settings.\n`)
|
|
43
43
|
process.exit(1)
|
|
44
44
|
}
|
|
45
45
|
|