Connection Types
Direct Connection
Connect directly to the MCP server without a proxy. This is the default and recommended option for most use cases. When to use:- Local development servers
- Servers accessible from your network
- Servers with public endpoints
Via Proxy
Connect through a proxy server. Useful when you need to route traffic through an intermediary or when direct connections are blocked. When to use:- Corporate networks with proxy requirements
- CORS restrictions
- Testing proxy configurations
- Development environments with proxy setup
Auto-Switch
The inspector can automatically try both connection types if one fails. Enable this in the connection settings:- Open the Connection Type dropdown
- Toggle Auto-switch on
- If Direct connection fails, the inspector will automatically try Via Proxy (and vice versa)
Auto-switch is skipped for authentication errors (401, Unauthorized) since both connection types will fail the same way.
Advanced Configuration
Request Timeout
Maximum time (in milliseconds) to wait for a single request to complete. Default:10000 (10 seconds)
Maximum Total Timeout
Maximum total time (in milliseconds) for the entire operation, including retries and progress updates. Default:60000 (60 seconds)
Inspector Proxy Address
The proxy endpoint URL when using “Via Proxy” connection type. Default:${window.location.origin}/inspector/api/proxy
OAuth Configuration
The inspector supports OAuth 2.0 authentication for MCP servers that require it.Setting Up OAuth
- Click the Authentication button in the connection form
-
Enter your OAuth credentials:
- Client ID: Your OAuth application client ID
- Redirect URL: The callback URL (defaults to
/inspector/oauth/callback) - Scope: Space-separated list of OAuth scopes
- Click Save to store the configuration
OAuth Flow
When connecting to a server that requires OAuth:- Initial Connection: Inspector attempts to connect
- Authorization Request: Server responds with authorization URL
- User Approval: You’re redirected to the OAuth provider
- Callback Handling: Inspector handles the OAuth callback automatically
- Token Storage: Access tokens are stored securely in browser localStorage
- Connection Established: Server appears in Connected Servers list
Authentication States
The inspector shows different states during OAuth:- Connecting: Initial connection attempt
- Pending Auth: Waiting for OAuth approval
- Authenticating: OAuth flow in progress
- Ready: Successfully authenticated and connected
- Failed: Authentication or connection failed
Manual Authentication
If automatic OAuth redirect doesn’t work:- Look for the Authenticate button in the server card
- Click to open the OAuth page in a new tab
- Complete the authorization
- Return to the inspector - it will detect the completed auth
Custom Headers
Add custom HTTP headers to all requests sent to the MCP server.Adding Headers
- Click Custom Headers in the connection form
- Click Add to create a new header
- Enter the header name and value
- Click Save
Common Use Cases
- API Keys:
Authorization: Bearer <token> - Custom Authentication:
X-API-Key: <key> - Version Headers:
X-API-Version: v2 - Request IDs:
X-Request-ID: <uuid>
Security Considerations
Header Visibility
Header values are masked by default for security. Click the eye icon to reveal the value when needed.Configuration Import/Export
Copy Configuration
Export your connection configuration as JSON:- Fill in your connection settings
- Click Copy Config button
- The configuration is copied to your clipboard as JSON
Paste Configuration
Import a connection configuration from JSON:- Copy a configuration JSON (from another inspector instance or saved file)
- Paste it into the URL field
- The form automatically populates with all settings
The paste detection only works when pasting into the URL field. The inspector recognizes valid JSON configuration and populates the form automatically.
Sharing Configurations
You can share connection configurations with team members:- Export your configuration (Copy Config)
- Share the JSON via secure channel
- Recipients paste into their inspector
- All settings are automatically applied
Connection Status Indicators
The inspector shows visual indicators for connection status:- 🟢 Green: Connected and ready
- 🟡 Yellow: Connecting or authenticating
- 🔴 Red: Connection failed
- ⚪ Gray: Disconnected
Related Documentation
- Getting Started - Basic connection setup
- Overview - Connection management features
- CLI Usage - Command-line connection options