Compare commits

...

1 Commits

Author SHA1 Message Date
David Soria Parra
0b3f967867 refactor: remove hardcoded example server path
Remove hardcoded path to example server from default args state, replacing with empty string. This makes the initial state more generic and allows users to specify their own server path without preset assumptions.
2024-11-04 21:29:17 +00:00

View File

@@ -69,10 +69,7 @@ const App = () => {
);
});
const [args, setArgs] = useState<string>(() => {
return (
localStorage.getItem("lastArgs") ||
"/Users/ashwin/code/mcp/example-servers/build/everything/stdio.js"
);
return localStorage.getItem("lastArgs") || "";
});
const [url, setUrl] = useState<string>("http://localhost:3001/sse");
const [transportType, setTransportType] = useState<"stdio" | "sse">("stdio");