Update readme
This commit is contained in:
@@ -53,6 +53,7 @@ The MCP Inspector supports the following configuration settings. To change them
|
|||||||
| Name | Purpose | Default Value |
|
| Name | Purpose | Default Value |
|
||||||
| -------------------------- | ----------------------------------------------------------------------------------------- | ------------- |
|
| -------------------------- | ----------------------------------------------------------------------------------------- | ------------- |
|
||||||
| MCP_SERVER_REQUEST_TIMEOUT | Maximum time in milliseconds to wait for a response from the MCP server before timing out | 10000 |
|
| MCP_SERVER_REQUEST_TIMEOUT | Maximum time in milliseconds to wait for a response from the MCP server before timing out | 10000 |
|
||||||
|
| MCP_PROXY_FULL_ADDRESS | The full URL of the MCP Inspector proxy server (e.g. `http://10.2.1.14:2277`) | `null` |
|
||||||
|
|
||||||
### From this repository
|
### From this repository
|
||||||
|
|
||||||
|
|||||||
@@ -233,14 +233,13 @@ export function useConnection({
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
const mcpProxyServerUrl = new URL(`${proxyServerUrl}/sse`);
|
|
||||||
try {
|
try {
|
||||||
await checkProxyHealth();
|
await checkProxyHealth();
|
||||||
} catch {
|
} catch {
|
||||||
setConnectionStatus("error-connecting-to-proxy");
|
setConnectionStatus("error-connecting-to-proxy");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
const mcpProxyServerUrl = new URL(`${proxyServerUrl}/sse`);
|
||||||
mcpProxyServerUrl.searchParams.append("transportType", transportType);
|
mcpProxyServerUrl.searchParams.append("transportType", transportType);
|
||||||
if (transportType === "stdio") {
|
if (transportType === "stdio") {
|
||||||
mcpProxyServerUrl.searchParams.append("command", command);
|
mcpProxyServerUrl.searchParams.append("command", command);
|
||||||
|
|||||||
Reference in New Issue
Block a user