pixelorama-mcp 0.1.0 → 0.1.1
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 +16 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,13 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
This package provides a **Node.js client** for the **Pixelorama Model Communication Protocol (MCP)** that is implemented inside Pixelorama as a GDScript WebSocket server (see `addons/mcp`).
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Instalación
|
|
6
|
+
|
|
7
|
+
### Desde npm (recomendado)
|
|
8
|
+
```bash
|
|
9
|
+
# Instalar globalmente para usar el comando en cualquier terminal
|
|
10
|
+
npm i -g pixelorama-mcp
|
|
11
|
+
|
|
12
|
+
# O bien, usar directamente sin instalar con npx
|
|
13
|
+
npx pixelorama-mcp --help
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
### Instalación local (para desarrollo)
|
|
6
17
|
```bash
|
|
7
|
-
|
|
8
|
-
#
|
|
9
|
-
npm
|
|
18
|
+
# Desde la raíz del repositorio (en tu máquina)
|
|
19
|
+
npm install ./mcp # instala como dependencia del proyecto
|
|
20
|
+
npm link ./mcp # crea el enlace global `pixelorama-mcp`
|
|
10
21
|
```
|
|
11
22
|
|
|
23
|
+
|
|
12
24
|
## Usage
|
|
13
25
|
```js
|
|
14
26
|
const { PixeloramaMCP } = require('pixelorama-mcp');
|
package/package.json
CHANGED