Merge pull request #425 from modelcontextprotocol/pcarleton/naming

rework naming on config copy
This commit is contained in:
Cliff Hall 2025-05-21 16:17:26 -04:00 • committed by GitHub
commit ec24f7bbbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -127,14 +127,14 @@ const Sidebar = ({
return {
type: "sse",
url: sseUrl,
note: "For SSE connections, add this URL directly in Client",
note: "For SSE connections, add this URL directly in your MCP Client",
};
}
if (transportType === "streamable-http") {
return {
type: "streamable-http",
url: sseUrl,
note: "For Streamable HTTP connections, add this URL directly in Client",
note: "For Streamable HTTP connections, add this URL directly in your MCP Client",
};
}
return {};
@ -172,7 +172,7 @@ const Sidebar = ({
description:
transportType === "stdio"
? "Server configuration has been copied to clipboard. Add this to your mcp.json inside the 'mcpServers' object with your preferred server name."
: "SSE URL has been copied. Use this URL in Cursor directly.",
: "SSE URL has been copied. Use this URL directly in your MCP Client.",
});
setTimeout(() => {

View file

@ -755,7 +755,7 @@ describe("Sidebar Environment Variables", () => {
{
type: "sse",
url: sseUrl,
note: "For SSE connections, add this URL directly in Client",
note: "For SSE connections, add this URL directly in your MCP Client",
},
null,
4,
@ -780,7 +780,7 @@ describe("Sidebar Environment Variables", () => {
"default-server": {
type: "sse",
url: sseUrl,
note: "For SSE connections, add this URL directly in Client",
note: "For SSE connections, add this URL directly in your MCP Client",
},
},
},
@ -805,7 +805,7 @@ describe("Sidebar Environment Variables", () => {
{
type: "streamable-http",
url: sseUrl,
note: "For Streamable HTTP connections, add this URL directly in Client",
note: "For Streamable HTTP connections, add this URL directly in your MCP Client",
},
null,
4,
@ -830,7 +830,7 @@ describe("Sidebar Environment Variables", () => {
"default-server": {
type: "streamable-http",
url: sseUrl,
note: "For Streamable HTTP connections, add this URL directly in Client",
note: "For Streamable HTTP connections, add this URL directly in your MCP Client",
},
},
},