@pixel-normal-edit/mcp 2.0.1 → 2.0.3

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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  /**
2
3
  * MCP Firebase Bridge v2
3
4
  * ─────────────────────────────────────────────────────────────────────────
@@ -488,9 +489,8 @@ const HTTP_PORT = process.env.HTTP_PORT || (process.argv.includes('--http') ? 34
488
489
  async function startStdio() {
489
490
  const transport = new StdioServerTransport();
490
491
  await server.connect(transport);
491
- console.error('✅ Pixel Normal Edit MCP Bridge v2 (stdio mode)');
492
- console.error(` Session : ${SESSION}`);
493
- console.error(` Editor : http://localhost:5173?mcp_session=${SESSION}`);
492
+ // Disabled console.error output because some MCP clients merge stdout and stderr,
493
+ // causing JSON parsing errors (e.g. invalid character 'â' looking for beginning of value)
494
494
  }
495
495
 
496
496
  async function startHttp(port) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixel-normal-edit/mcp",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "MCP server for Pixel Normal Edit canvas - enables AI agents to draw pixel art",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -25,6 +25,7 @@
25
25
  "@modelcontextprotocol/sdk": "^1.29.0",
26
26
  "dotenv": "^17.4.2",
27
27
  "firebase": "^12.16.0",
28
+ "jimp": "^1.6.1",
28
29
  "zod": "^4.4.3"
29
30
  }
30
31
  }