You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The server will start up and the UI will be accessible at `http://localhost:6274`.
31
31
32
+
### Docker Container
33
+
34
+
You can also start it in a Docker container with the following command:
35
+
36
+
```bash
37
+
docker run --rm --network host -p 6274:6274 -p 6277:6277 ghcr.io/modelcontextprotocol/inspector:latest
38
+
```
39
+
32
40
### From an MCP server repository
33
41
34
42
To inspect an MCP server implementation, there's no need to clone this repo. Instead, use `npx`. For example, if your server is built at `build/index.js`:
@@ -90,6 +98,16 @@ The MCP Inspector provides convenient buttons to export server launch configurat
90
98
}
91
99
```
92
100
101
+
**Streamable HTTP transport example:**
102
+
103
+
```json
104
+
{
105
+
"type": "streamable-http",
106
+
"url": "http://localhost:3000/mcp",
107
+
"note": "For Streamable HTTP connections, add this URL directly in your MCP Client"
108
+
}
109
+
```
110
+
93
111
-**Servers File** - Copies a complete MCP configuration file structure to your clipboard, with your current server configuration added as `default-server`. This can be saved directly as `mcp.json`.
94
112
95
113
**STDIO transport example:**
@@ -123,9 +141,23 @@ The MCP Inspector provides convenient buttons to export server launch configurat
123
141
}
124
142
```
125
143
144
+
**Streamable HTTP transport example:**
145
+
146
+
```json
147
+
{
148
+
"mcpServers": {
149
+
"default-server": {
150
+
"type": "streamable-http",
151
+
"url": "http://localhost:3000/mcp",
152
+
"note": "For Streamable HTTP connections, add this URL directly in your MCP Client"
153
+
}
154
+
}
155
+
}
156
+
```
157
+
126
158
These buttons appear in the Inspector UI after you've configured your server settings, making it easy to save and reuse your configurations.
127
159
128
-
For SSE transport connections, the Inspector provides similar functionality for both buttons. The "Server Entry" button copies the SSE URL configuration that can be added to your existing configuration file, while the "Servers File" button creates a complete configuration file containing the SSE URL for direct use in clients.
160
+
For SSE and Streamable HTTP transport connections, the Inspector provides similar functionality for both buttons. The "Server Entry" button copies the configuration that can be added to your existing configuration file, while the "Servers File" button creates a complete configuration file containing the URL for direct use in clients.
129
161
130
162
You can paste the Server Entry into your existing `mcp.json` file under your chosen server name, or use the complete Servers File payload to create a new configuration file.
0 commit comments