Skip to content

Commit 80f5ab1

Browse files
committed
fix: typo
1 parent da9dd09 commit 80f5ab1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ npx @modelcontextprotocol/inspector -e KEY=value -e KEY2=$VALUE2 node build/inde
3030
npx @modelcontextprotocol/inspector -e KEY=$VALUE -- node build/index.js -e server-flag
3131
```
3232

33-
The inspector runs both an MCP Inspector (MCPI) client UI (default port 6274) and an MCP Proxy (MPCP) server (default port 6727). Open the MCPI client UI in your browser to use the inspector. (These ports are derived from the T9 dialpad mapping of MCPI and MPCP respectively, as a mnemonic). You can customize the ports if needed:
33+
The inspector runs both an MCP Inspector (MCPI) client UI (default port 6274) and an MCP Proxy (MCPP) server (default port 6277). Open the MCPI client UI in your browser to use the inspector. (These ports are derived from the T9 dialpad mapping of MCPI and MCPP respectively, as a mnemonic). You can customize the ports if needed:
3434

3535
```bash
3636
CLIENT_PORT=8080 SERVER_PORT=9000 npx @modelcontextprotocol/inspector node build/index.js

bin/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async function main() {
6262
);
6363

6464
const CLIENT_PORT = process.env.CLIENT_PORT ?? "6274";
65-
const SERVER_PORT = process.env.SERVER_PORT ?? "6727";
65+
const SERVER_PORT = process.env.SERVER_PORT ?? "6277";
6666

6767
console.log("Starting MCP inspector...");
6868

@@ -100,7 +100,7 @@ async function main() {
100100

101101
// Make sure our server/client didn't immediately fail
102102
await Promise.any([server, client, delay(2 * 1000)]);
103-
const portParam = SERVER_PORT === "6727" ? "" : `?proxyPort=${SERVER_PORT}`;
103+
const portParam = SERVER_PORT === "6277" ? "" : `?proxyPort=${SERVER_PORT}`;
104104
console.log(
105105
`\n🔍 MCP Inspector is up and running at http://127.0.0.1:${CLIENT_PORT}${portParam} 🚀`,
106106
);

client/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import { DEFAULT_INSPECTOR_CONFIG } from "./lib/constants";
4949
import { InspectorConfig } from "./lib/configurationTypes";
5050

5151
const params = new URLSearchParams(window.location.search);
52-
const PROXY_PORT = params.get("proxyPort") ?? "6727";
52+
const PROXY_PORT = params.get("proxyPort") ?? "6277";
5353
const PROXY_SERVER_URL = `http://${window.location.hostname}:${PROXY_PORT}`;
5454
const CONFIG_LOCAL_STORAGE_KEY = "inspectorConfig_v1";
5555

server/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ app.get("/config", (req, res) => {
182182
}
183183
});
184184

185-
const PORT = process.env.PORT || 6727;
185+
const PORT = process.env.PORT || 6277;
186186

187187
try {
188188
const server = app.listen(PORT);

0 commit comments

Comments
 (0)