Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ui/user/src/lib/components/agents/AgentCopy.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@

<div class="mt-2 flex flex-col gap-4 border-t border-gray-100 pt-4 dark:border-gray-700">
<p class="text-on-surface1 px-2 text-sm font-light">
This project was shared by a user and may include instructions, Connectors, knowledge files,
and task definitions that were not reviewed or verified by our team. It could interact with
external systems, access additional data sources, or behave in unexpected ways. By clicking
"Launch Project", you acknowledge that you understand the risks and choose to proceed at
your own discretion.
This project was shared by a user and may include instructions, MCP servers, knowledge
files, and task definitions that were not reviewed or verified by our team. It could
interact with external systems, access additional data sources, or behave in unexpected
ways. By clicking "Launch Project", you acknowledge that you understand the risks and choose
to proceed at your own discretion.
</p>
<div class="flex flex-col items-center gap-3">
<button onclick={launchProject} class="button-primary w-full max-w-xs">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</div>

<Confirm
msg="Are you sure you want to delete this connector from the project?"
msg="Are you sure you want to delete this MCP server from the project?"
show={showDeleteConfirm}
onsuccess={handleRemoveMcp}
oncancel={() => (showDeleteConfirm = false)}
Expand Down
2 changes: 1 addition & 1 deletion ui/user/src/lib/components/chat/McpServerSetup.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
{#snippet mainContent()}
<div class="w-full px-4 py-2">
<div class="mb-2 flex items-center justify-between gap-4">
<h4 class="text-lg font-semibold">Add Connector</h4>
<h4 class="text-lg font-semibold">Add MCP Server</h4>
<button
class="icon-button"
onclick={() => closeCatalogDialog()}
Expand Down
4 changes: 2 additions & 2 deletions ui/user/src/lib/components/edit/McpServers.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@

<div class="flex flex-col text-xs">
<div class="flex items-center justify-between">
<p class="text-md grow font-medium">Connectors</p>
<p class="text-md grow font-medium">MCP Servers</p>
<button
class="hover:text-on-background text-on-surface1 p-2 transition-colors duration-200"
onclick={() => mcpServerSetup?.open()}
use:tooltip={'Add Connector'}
use:tooltip={'Add MCP Server'}
>
<Plus class="h-5 w-5" />
</button>
Expand Down
12 changes: 6 additions & 6 deletions ui/user/src/lib/components/mcp/McpResources.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
.catch((error) => {
// 424 means resources not supported
if (!error.message.includes('424')) {
console.error('Failed to load resources for connector:', mcp.id, error);
console.error('Failed to load resources for MCP server:', mcp.id, error);
}
});
}
Expand Down Expand Up @@ -173,7 +173,7 @@
return new File([content], filename, { type: response.mimeType });
} catch (err) {
errors.append(`Failed to read resource from connector: ${err}`);
errors.append(`Failed to read resource from MCP server: ${err}`);
}
return;
Expand All @@ -182,7 +182,7 @@
async function downloadResource(resource: McpServerResource, mcp: ProjectMCP) {
const file = await getResourceFile(resource, mcp);
if (!file) {
errors.append(`Failed to download resource from connector`);
errors.append(`Failed to download resource from MCP server`);
return;
}
Expand Down Expand Up @@ -281,7 +281,7 @@
<LoaderCircle class="size-4 animate-spin" />
{:else}
<HardDrive class="size-4" />
Add from Connector
Add from MCP Servers
{/if}
</button>
{/if}
Expand All @@ -300,7 +300,7 @@
>
<span class="flex items-center gap-2">
<HardDrive class="size-4" />
Connector Resources
MCP Server Resources
</span>
<button class:mobile-header-button={responsive.isMobile} onclick={close} class="icon-button">
{#if responsive.isMobile}
Expand All @@ -318,7 +318,7 @@
bind:this={searchInput}
bind:value={searchQuery}
type="text"
placeholder="Search by connector or resource name..."
placeholder="Search by MCP server or resource name..."
class="focus:border-primary focus:ring-primary dark:focus:border-primary/50 bg-background dark:text-on-background w-full rounded-lg border border-gray-300 py-2 pr-4 pl-10 text-sm focus:ring-1 focus:outline-none dark:border-gray-600 dark:bg-gray-800"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<p class="my-0.5 flex flex-col text-sm font-semibold">Update Required</p>
</div>
<span class="text-sm font-light break-all">
Due to a recent update in the server, an update on this connector's
Due to a recent update in the server, an update on this MCP server's
configuration is required to continue using this server.
</span>
</div>
Expand Down
6 changes: 3 additions & 3 deletions ui/user/src/lib/components/mcp/SelectFromRegistry.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@
{#if filteredConnectedServers.length > 0}
<div class="flex flex-col gap-4">
<div class="flex items-center gap-4">
<h2 class="text-lg font-semibold">Enabled Connectors</h2>
<h2 class="text-lg font-semibold">Enabled MCP Servers</h2>
{#if appendConnectedServerTitle}
{@render appendConnectedServerTitle()}
{/if}
Expand Down Expand Up @@ -821,7 +821,7 @@
</div>
{/if}
<div class="flex h-full flex-col gap-4">
<h2 class="text-lg font-semibold">Available Connectors</h2>
<h2 class="text-lg font-semibold">Available MCP Servers</h2>
<div class="grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3">
{#each paginatedData as item (item.id)}
<McpCard
Expand Down Expand Up @@ -998,7 +998,7 @@
}}
class="button-text flex items-center gap-2 p-0 text-lg font-light"
>
My Connectors
My MCP Servers
</button>
<ChevronLeft class="mx-2 size-4" />
<span class="text-lg font-light"
Expand Down
4 changes: 2 additions & 2 deletions ui/user/src/lib/components/templates/TemplateConfig.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
<div class="max-w-2xl space-y-3 text-sm font-light text-gray-600 dark:text-gray-300">
<p>
When you share this project, we'll take a snapshot of its configuration that includes
instructions, connectors, knowledge files, and task definitions. You can share the
instructions, MCP servers, knowledge files, and task definitions. You can share the
generated link with others and they can use it to launch their own instance of the
project from your snapshot.
</p>
Expand Down Expand Up @@ -372,7 +372,7 @@

{#if mcpServers.length > 0}
<div class="p-3">
<h4 class="text-on-surface1 mb-2 text-xs font-medium">Connectors</h4>
<h4 class="text-on-surface1 mb-2 text-xs font-medium">MCP Servers</h4>
<div class="flex flex-col gap-2">
{#each mcpServers as mcpServer (mcpServer.id)}
<div
Expand Down