Merge pull request #49 from modelcontextprotocol/justin/fix-paths
Remove example paths now that SDK pathing works better
This commit is contained in:
@@ -77,16 +77,10 @@ const App = () => {
|
|||||||
useState<CompatibilityCallToolResult | null>(null);
|
useState<CompatibilityCallToolResult | null>(null);
|
||||||
const [error, setError] = useState<string | null>(null);
|
const [error, setError] = useState<string | null>(null);
|
||||||
const [command, setCommand] = useState<string>(() => {
|
const [command, setCommand] = useState<string>(() => {
|
||||||
return (
|
return localStorage.getItem("lastCommand") || "mcp-server-everything";
|
||||||
localStorage.getItem("lastCommand") ||
|
|
||||||
"/Users/ashwin/.nvm/versions/node/v18.20.4/bin/node"
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
const [args, setArgs] = useState<string>(() => {
|
const [args, setArgs] = useState<string>(() => {
|
||||||
return (
|
return localStorage.getItem("lastArgs") || "";
|
||||||
localStorage.getItem("lastArgs") ||
|
|
||||||
"/Users/ashwin/code/mcp/example-servers/build/everything/stdio.js"
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
const [url, setUrl] = useState<string>("http://localhost:3001/sse");
|
const [url, setUrl] = useState<string>("http://localhost:3001/sse");
|
||||||
const [transportType, setTransportType] = useState<"stdio" | "sse">("stdio");
|
const [transportType, setTransportType] = useState<"stdio" | "sse">("stdio");
|
||||||
|
|||||||
Reference in New Issue
Block a user