This puts MCP server management directly in the hands of your end users. Instead of hardcoding server connections, you drop in McpConfigDialog and let people add their own Linear, Notion, or custom MCP servers right from the browser, complete with OAuth flows and bearer tokens. The connected tools get namespaced and merged into the chat runtime automatically. It's built on assistant-ui primitives, so you can either use the drop-in dialog or compose your own UI from McpManagerPrimitive and McpServerPrimitive. Reach for this when you want user-driven tool discovery rather than developer-defined backends, or when you need to debug why OAuth isn't completing or servers aren't persisting between sessions.

skills.sh installs
4.2K
GitHub stars
29
last updated
Aug 21, 2026

Install

$ npx -y skills add assistant-ui/skills --skill react-mcp --agent claude-code

Installs into .claude/skills of the current project.

Files

assistant-ui React MCP

Always consult assistant-ui.com/llms.txt for the latest API.

@assistant-ui/react-mcp lets users connect preset or custom Streamable HTTP MCP servers in the browser. The manager persists server and auth state, exposes connection state to primitives, and registers each connected tool into modelContext as a frontend tool named serverId__toolName.

References

Mount the manager

Declare fixed connectors with defineConnector, then extend the nearest aui scope with a config. connectionTimeout is a manager default in milliseconds. A connector or custom server can override it for its own connect and listTools() readiness flow.

"use client";

Sponsors

Details

Repository
github.com/assistant-ui/skills
Categories
Frontend Development, Backend & APIs, Security, AI & Agent Building, Debugging, Automation & Workflows
First seen
Jul 14, 2026

More from assistant-ui/skills

All 13
1getsentry avatarsentry-react-native-sdkgetsentry/sentry-for-aiFull Sentry SDK setup for React Native and Expo. Use when asked to "add Sentry to React Native", "install @sentry/react-native", "setup Sentry in Expo", or conf4.2Kskills.sh installs
2softaworks avatarreact-useeffectsoftaworks/agent-toolkitReact useEffect best practices from official docs. Use when writing/reviewing useEffect, useState for derived values, data fetching, or state synchronization. T4.1Kskills.sh installs
3forcedotcom avatargenerating-ui-bundle-metadataforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and scaffolding a new UI bundle or app, or when editing ui-bundle.json, .uibundle-meta.xml,3.7Kskills.sh installs
4forcedotcom avatargenerating-ui-bundle-featuresforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the user wants to add authentication or search to their app. Use this skill when adding3.7Kskills.sh installs
5forcedotcom avatardeploying-ui-bundleforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory or sfdx-project.json and the task involves deploying, pushing to an org, or post-deploy set3.6Kskills.sh installs
6forcedotcom avatarusing-ui-bundle-salesforce-dataforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the task involves ANY Salesforce record operation — reading, creating, updating, or del3.6Kskills.sh installs