Universal HTTP Inspector with proxy capabilities and MCP server integration for AI-assisted debugging
npm install @glncy/http-inspect-tool



Universal HTTP Inspector with dynamic multi-proxy support and MCP server integration for AI-assisted debugging.
- š Multi-Proxy Support: Run multiple proxy instances simultaneously, each forwarding to different targets
- šÆ Dynamic Configuration: Configure everything via Web UI - no restart needed
- š¾ Flexible Storage: Choose between in-memory or SQLite storage
- š¤ MCP Integration: AI-powered debugging with Model Context Protocol
- šØ Modern UI: Beautiful React-based dashboard
- š Real-time Monitoring: Live request/response inspection
- š Advanced Filtering: Filter by proxy, method, status, and more
No installation required:
``bash`
npx @glncy/http-inspect-tool
Open http://localhost:8200 and you're ready to go!
`bash`
npm install -g @glncy/http-inspect-tool
http-inspector
`bashInstall dependencies
pnpm install
Configuration
Create a
.env file (see .env.example):`env
INSPECTOR_PORT=8200
STORAGE_TYPE=memory
SQLITE_DB_PATH=./data/inspector.db
`All other settings are configurable via the Web UI at
http://localhost:8200Usage
$3
Navigate to
http://localhost:8200$3
On first launch, you'll be prompted to add a proxy target:
- Proxy Port: 8100 (the port your app will connect to)
- Target Host: localhost
- Target Port: 4000 (your actual API port)
$3
Point your mobile app or client to the proxy:
`javascript
// Before
const API_URL = 'http://localhost:4000';// After
const API_URL = 'http://localhost:8100';
`$3
All requests will flow through the proxy and be captured in the inspector UI.
Multi-Proxy Examples
$3
`
Proxy 1: localhost:8100 ā localhost:4000 (Local NestJS API)
Proxy 2: localhost:8101 ā dev-api.example.com (Remote Dev API)
`$3
`
Proxy 1: localhost:8100 ā staging-api.example.com
Proxy 2: localhost:8101 ā production-api.example.com
`Compare requests between environments in the same UI!
MCP Server Integration
The inspector includes an MCP server for AI integration with Claude and other AI tools.
$3
-
get_all_requests: Retrieve all captured HTTP requests
- get_last_request: Get the most recent request
- search_requests: Search requests by method, path, status
- get_recent_requests: Get last N requests$3
Add to your Claude Desktop config:
`json
{
"mcpServers": {
"http-inspector": {
"command": "node",
"args": ["/path/to/http-inspect-tool/dist/mcp/index.js"]
}
}
}
`Architecture
`
āāāāāāāāāāāāāāā
ā Mobile App ā
āāāāāāāā¬āāāāāāā
ā
ā localhost:8100
āāāāāāāāāāāāāāāāāāāāāāā
ā Proxy Instance 1 ā āāā localhost:4000 (API)
āāāāāāāāāāā¬āāāāāāāāāāāā
ā
ā Capture
āāāāāāāāāāāāāāāāāāāāāāā
ā Storage Layer ā (Memory or SQLite)
āāāāāāāāāāā¬āāāāāāāāāāāā
ā
ā Query
āāāāāāāāāāāāāāāāāāāāāāā
ā Inspector UI ā (localhost:8200)
ā + API Server ā
āāāāāāāāāāāāāāāāāāāāāāā
ā
ā AI Query
āāāāāāāāāāāāāāāāāāāāāāā
ā MCP Server ā
āāāāāāāāāāāāāāāāāāāāāāā
`Development
$3
`
http-inspect-tool/
āāā src/
ā āāā index.ts # Main entry point
ā āāā config/ # Configuration management
ā āāā storage/ # Storage layer (memory & SQLite)
ā āāā proxy/ # HTTP proxy manager
ā āāā api/ # Fastify API server
ā āāā mcp/ # MCP server implementation
āāā ui/ # React UI
ā āāā src/
ā ā āāā components/
ā ā āāā pages/
ā ā āāā App.tsx
ā āāā vite.config.ts
āāā package.json
`$3
-
npm run dev - Start inspector in development mode
- npm run build - Build TypeScript
- npm run ui:dev - Start React UI dev server
- npm run ui:build - Build React UI for production
- npm run lint - Lint TypeScript code
- npm run format` - Format code with PrettierMIT