| name | inspect |
| description | Launch MCP Inspector to interactively test swift-mcp-gui tools in a browser |
| allowed-tools | Bash |
| disable-model-invocation | true |
MCP Inspector
Launch the MCP Inspector to interactively test the swift-mcp-gui MCP server in a browser.
This skill is shared by Claude Code and Codex. Use the shell command tool
available in the current agent runtime (for example, Bash in Claude Code or the
terminal/exec command tool in Codex).
Steps
-
Check if Node.js and npm are installed by running node --version and npx --version. If not installed, tell the user to install Node.js first (e.g. via Homebrew: brew install node) and stop.
-
Reinstall the latest build of swift-mcp-gui:
swift package experimental-uninstall swift-mcp-gui && swift package experimental-install
- Start the MCP Inspector:
npx @modelcontextprotocol/inspector swift-mcp-gui
-
Wait for the inspector to start and print the URL with the auth token.
-
Tell the user to open the URL in their browser. The URL will look like:
http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=<token>
-
Wait for the user to finish testing. When the user says they are done, kill the inspector process:
pkill -f "@modelcontextprotocol/inspector"; pkill -f "swift-mcp-gui"