Description
ProxymanApp/Proxyman#2433 (comment)
Acceptance Criteria
How the MCP works and why I need an mcp-server binary
- Add the MCP config to Claude Code
{
"mcpServers": {
"proxyman": {
"command": "/Applications/Proxyman.app/Contents/MacOS/mcp-server",
"args": [],
"env": {}
}
}
}
- Open Claude Code -> As the MCP is pointing to the
mcp-server, which is a binary file, not a main app, so the main app doesn't launch. It's correct UX ✅
⚠️ If I point the MCP to the main binary app, every time I open Claude Code, Proxyman will open too, even though I don't use the MCP Proxyman => Bad UX ❌
=> It's a reason why I need to support MCP on the mcp-server, not the main app
3. Chat with Claude to list all available tools in MCP Proxyman
4. Claude Code talks to mcp-server
5. mcp-server handshake with Proxyman app (and read the token) at '/Users/nghiatran/Library/Application Support/com.proxyman.NSProxy/mcp-handshake.json'
6. mcp-server call HTTP Request to a local HTTP Server on Proxyman (Use token as a Access Token, and the port in the mcp-handshake.json) to get the data and construct the MCP Response and return to the Claude Code
7. Done
mcp-server
Main app
Description
ProxymanApp/Proxyman#2433 (comment)
Acceptance Criteria
mcp-servercommand line, separate from the main AppHow the MCP works and why I need an
mcp-serverbinary{ "mcpServers": { "proxyman": { "command": "/Applications/Proxyman.app/Contents/MacOS/mcp-server", "args": [], "env": {} } } }mcp-server, which is a binary file, not a main app, so the main app doesn't launch. It's correct UX ✅=> It's a reason why I need to support MCP on the
mcp-server, not the main app3. Chat with Claude to list all available tools in MCP Proxyman
4. Claude Code talks to
mcp-server5.
mcp-serverhandshake with Proxyman app (and read the token) at'/Users/nghiatran/Library/Application Support/com.proxyman.NSProxy/mcp-handshake.json'6.
mcp-servercall HTTP Request to a local HTTP Server on Proxyman (Usetokenas a Access Token, and the port in themcp-handshake.json) to get the data and construct the MCP Response and return to the Claude Code7. Done
mcp-server
Main app
127.0.0.1(not0.0.0.0), and write the handshake file at'/Users/nghiatran/Library/Application Support/com.proxyman.NSProxy/mcp-handshake.json'.0, so the system automatically pick a available port.