@infigure/mcp-bridge
v1.2.0
Published
Local stdio-to-HTTP Model Context Protocol (MCP) bridge for Infigure.
Maintainers
Readme
@infigure/mcp-bridge
A local stdin/stdout JSON-RPC proxy for the Infigure MCP server.
Since local AI clients (such as Claude Code, Claude Desktop, or Codex) communicate via stdio streams, this bridge translates stdio JSON-RPC payloads into HTTP requests forwarded to the remote Infigure API.
Setup
1. Configure Credentials
Run the interactive setup to configure target host URL, Personal Access Token (PAT), and default Team ID:
npx @infigure/mcp-bridge configureThis saves configurations securely to ~/.infigure/credentials with 0o600 permissions.
2. Verify Connection
Verify the connection and authentication state by running:
npx @infigure/mcp-bridge whoami3. Automatically Install to AI Clients
Register the server config with your client config file automatically:
# Register with Claude Code (~/.claude.json)
npx @infigure/mcp-bridge install claude-code
# Register with Claude Desktop (macOS, Windows, or Linux configs)
npx @infigure/mcp-bridge install claude-desktop
# Register with Codex (~/.codex/config.toml)
npx @infigure/mcp-bridge install codex
# Register with ALL available clients
npx @infigure/mcp-bridge install allManual Integration Configs
If you prefer to update client configs manually, use the following configurations:
Claude Desktop
Target file: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
{
"mcpServers": {
"infigure": {
"command": "npx",
"args": ["-y", "@infigure/mcp-bridge"]
}
}
}Cursor
Add new MCP server:
- Name:
infigure - Type:
stdio - Command:
npx -y @infigure/mcp-bridge
Command Interface
infigure-mcp [command] [options]Commands
serve(default): Starts standard input/output JSON-RPC proxy.configure: Prompts for credentials.whoami: Validates credentials with the server.install <name>: Configures client. Options:claude-code,claude-desktop,codex,all.
Options
-u, --url <url>: Target URL (default:https://www.infigure.studio).-t, --token <token>: Personal Access Token (PAT).-m, --team-id <id>: Workspace Team ID.-v, --verbose: Log JSON-RPC traffic on stderr.-h, --help: Output help.
Debugging
To trace JSON-RPC messages and check API status logs, run:
npx @infigure/mcp-bridge --verboseNote: All diagnostics and connection states are logged to stderr to prevent JSON-RPC stream corruption.
