ezderm-xcode-mcp-bridge 26.3.0

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.
@@ -0,0 +1,21 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version: '20'
17
+ registry-url: 'https://registry.npmjs.org'
18
+
19
+ - run: npm publish
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="jdk" jdkName="Python 3.9 (server-update-gosstest-ansible)" jdkType="Python SDK" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
package/index.js ADDED
@@ -0,0 +1,25 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { spawn } = require('child_process');
5
+ const { platform } = require('os');
6
+
7
+ if (platform() !== 'darwin') {
8
+ console.error('xcode-mcp-bridge: xcrun is only available on macOS.');
9
+ process.exit(1);
10
+ }
11
+
12
+ const bridge = spawn('xcrun', ['mcpbridge'], { stdio: 'inherit' });
13
+
14
+ bridge.on('error', (err) => {
15
+ if (err.code === 'ENOENT') {
16
+ console.error('xcode-mcp-bridge: xcrun not found. Make sure Xcode 26.3 or later is installed.');
17
+ } else {
18
+ console.error('xcode-mcp-bridge: Failed to start xcrun mcpbridge:', err.message);
19
+ }
20
+ process.exit(1);
21
+ });
22
+
23
+ bridge.on('exit', (code) => {
24
+ process.exit(code ?? 0);
25
+ });
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "ezderm-xcode-mcp-bridge",
3
+ "version": "26.3.0",
4
+ "description": "Shim that invokes Apple's Xcode MCP Bridge (xcrun mcpbridge) for use with MCP-compatible clients like VS Code Copilot.",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "ezderm-xcode-mcp-bridge": "index.js"
8
+ },
9
+ "mcpName": "com.apple/xcode-mcpbridge",
10
+ "scripts": {
11
+ "start": "node index.js"
12
+ },
13
+ "keywords": ["mcp", "xcode", "ios", "macos", "apple", "mcpbridge"],
14
+ "engines": {
15
+ "node": ">=18"
16
+ },
17
+ "os": ["darwin"],
18
+ "license": "MIT"
19
+ }