Merge pull request #425 from modelcontextprotocol/pcarleton/naming
rework naming on config copy
This commit is contained in:
commit
ec24f7bbbf
2 changed files with 7 additions and 7 deletions
|
|
@ -127,14 +127,14 @@ const Sidebar = ({
|
||||||
return {
|
return {
|
||||||
type: "sse",
|
type: "sse",
|
||||||
url: sseUrl,
|
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") {
|
if (transportType === "streamable-http") {
|
||||||
return {
|
return {
|
||||||
type: "streamable-http",
|
type: "streamable-http",
|
||||||
url: sseUrl,
|
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 {};
|
return {};
|
||||||
|
|
@ -172,7 +172,7 @@ const Sidebar = ({
|
||||||
description:
|
description:
|
||||||
transportType === "stdio"
|
transportType === "stdio"
|
||||||
? "Server configuration has been copied to clipboard. Add this to your mcp.json inside the 'mcpServers' object with your preferred server name."
|
? "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(() => {
|
setTimeout(() => {
|
||||||
|
|
|
||||||
|
|
@ -755,7 +755,7 @@ describe("Sidebar Environment Variables", () => {
|
||||||
{
|
{
|
||||||
type: "sse",
|
type: "sse",
|
||||||
url: sseUrl,
|
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,
|
null,
|
||||||
4,
|
4,
|
||||||
|
|
@ -780,7 +780,7 @@ describe("Sidebar Environment Variables", () => {
|
||||||
"default-server": {
|
"default-server": {
|
||||||
type: "sse",
|
type: "sse",
|
||||||
url: sseUrl,
|
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",
|
type: "streamable-http",
|
||||||
url: sseUrl,
|
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,
|
null,
|
||||||
4,
|
4,
|
||||||
|
|
@ -830,7 +830,7 @@ describe("Sidebar Environment Variables", () => {
|
||||||
"default-server": {
|
"default-server": {
|
||||||
type: "streamable-http",
|
type: "streamable-http",
|
||||||
url: sseUrl,
|
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",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue