Skip to content

Commit 59633b7

Browse files
tlgimenesclaude
andcommitted
feat(store): navigate to connection detail after install
After connecting from the store, navigate to the MCP's detail page (e.g. /$org/settings/connections/vercel-mcp) instead of the connections list, using getConnectionSlug for consistent slug generation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fe15737 commit 59633b7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

apps/mesh/src/web/routes/orgs/store/mcp-server-detail.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import { KEYS } from "@/web/lib/query-keys";
3737
import { useProjectContext } from "@decocms/mesh-sdk";
3838
import { extractConnectionData } from "@/web/utils/extract-connection-data";
3939
import { slugify } from "@/shared/utils/slugify";
40+
import { getConnectionSlug } from "@/shared/utils/connection-slug";
4041
import { getGitHubAvatarUrl, extractGitHubRepo } from "@/web/utils/github";
4142
import {
4243
inferRegistryListToolName,
@@ -656,12 +657,13 @@ function StoreMCPServerDetailContent() {
656657
}
657658
}
658659

660+
const appSlug = getConnectionSlug(connectionData);
659661
navigate({
660-
to: "/$org/settings/connections",
662+
to: "/$org/settings/connections/$appSlug",
661663
params: {
662664
org: org.slug,
665+
appSlug,
663666
},
664-
search: { tab: "connected" },
665667
});
666668
} catch (error) {
667669
toast.error(

0 commit comments

Comments
 (0)