feat: no sse on copy

This commit is contained in:
Nevo David 2025-10-17 14:43:42 +07:00
parent 9ea471e515
commit e3413ac8d8
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ export const PublicComponent = () => {
}, [user]);
const copyToClipboard2 = useCallback(() => {
toaster.show('MCP copied to clipboard', 'success');
copy(`${backendUrl}/mcp/` + user?.publicApi + '/sse');
copy(`${backendUrl}/mcp/` + user?.publicApi);
}, [user]);
const t = useT();

View File

@ -103,7 +103,6 @@ If the tools return errors, you would need to rerun it with the right parameters
execute: async (args, options) => {
const { context, runtimeContext } = args;
checkAuth(args, options);
console.log(JSON.stringify(context, null, 2));
const organizationId = JSON.parse(
// @ts-ignore
runtimeContext.get('organization') as string