Skip to main content
Glama

MCP Inspector

Test any MCP server from your browser. Supports every Model Context Protocol feature, including tools, resources, prompts, tasks, elicitation, sampling, and OAuth 2.1.

About MCP Inspector

Inspect any MCP server directly from your browser. No login required.

  • State persisted in URL for easy sharing and bookmarking
  • Requests go directly to the MCP server, never logged by Glama
  • Additional debugging info printed to browser console

Try the inspector with our test server.

Missing a feature? Join our Discord to request it.

Supported MCP Features

Glama's MCP Inspector implements the full Model Context Protocol specification.

Core primitives

  • Toolsinvoke server-defined functions
  • Resourcesread data exposed by the server
  • Resource Templatesparameterized resource URIs
  • Promptsreusable prompt templates

Server → client requests

  • Elicitationserver asks the user for structured input mid-call
  • Samplingserver asks the client to run an LLM
  • Rootsserver queries client filesystem roots

Long-running operations

  • Taskslong-running tool executions with status tracking
  • Progress Notificationsreal-time progress updates with percent and message
  • Cancellationabort in-flight requests

Real-time updates

  • Resource Subscriptionslive updates when a resource changes
  • List-changed Notificationsservers announce tool, prompt, and resource changes
  • Loggingstructured server logs streamed to the client

Utilities

  • Pingconnection health check
  • Completionargument autocomplete for tools and prompts
  • Paginationcursor-based list iteration

Authentication

  • OAuth 2.1authorization code flow with refresh tokens
  • Dynamic Client Registration (DCR)automatic client provisioning
  • PKCEproof key for code exchange
  • Bearer Tokenstatic token authentication
  • Custom Headersarbitrary request headers
  • Search ParamsAPI key in URL query string

Transports

  • Streamable HTTPmodern transport replacing SSE
  • Server-Sent Events (SSE)legacy streaming transport
  • Local stdio serversexposed via mcp-proxy public tunnel

Content types

  • Textplain text responses
  • Imagesbase64 image content (PNG, JPEG, WebP)
  • Audiobase64 audio content (WAV, MP3)
  • Embedded Resourceslinked resource references

Expose Local MCP Servers

Test your local MCP servers with the inspector by exposing them via a public tunnel using mcp-proxy.

# Expose your MCP server via a public tunnel
npx mcp-proxy --port 8080 --tunnel -- tsx server.js

# Request a specific subdomain
npx mcp-proxy --port 8080 --tunnel --tunnelSubdomain myapp -- tsx server.js

# When the tunnel is established, you'll see a message like:
tunnel established at https://bright-wombat-83.tunnel.gla.ma

Once the tunnel is established, you can use the provided URL to connect to your local server in the inspector.

Bookmarkable URLs

Your server configurations are automatically saved in the URL. You can bookmark the current page to save your server setup, or share the URL with others to give them the same configuration.

URL Parameters

serversJSON array containing server configurations (name, URL, authentication, headers, timeout)
activeID of the currently selected server
tabActive tab: tools, resources, resource-templates, or prompts
toolName of the selected tool
argsJSON object containing tool arguments