feat(mcp): Add Model Context Protocol (MCP) Client Bridge & Apple-Inspired UI Polish - #1177
Open
Tyleraltight wants to merge 1 commit into
Open
feat(mcp): Add Model Context Protocol (MCP) Client Bridge & Apple-Inspired UI Polish#1177Tyleraltight wants to merge 1 commit into
Tyleraltight wants to merge 1 commit into
Conversation
|
@Tyleraltight is attempting to deploy a commit to the Token Fabrics Pro Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(mcp): Add Model Context Protocol (MCP) Client Bridge & Apple-Inspired UI Polish
Overview & Value Proposition
This PR introduces native Model Context Protocol (MCP) client capabilities into
big-AGI, bridging web-based conversational intelligence with local and remote MCP tool ecosystems (such as Desktop Automation via FastMCP + AutoHotkey v2). In addition, it elevates the core user experience with fluid Apple Design & Emil Kowalski Design Engineering micro-interactions.System Architecture
Key Changes
1. Model Context Protocol (MCP) Integration
src/modules/mcp/: AddedMcpClientManagerleveraging@modelcontextprotocol/sdkto connect to SSE-based MCP servers.src/modules/mcp/mcp.tools.ts: Provided property sanitization and transformation from standard MCP tool definitions to Big-AGIAixTools_ToolDefinition.src/modules/mcp/mcp.router.ts&src/server/trpc/: Added tRPC procedures (mcp.listTools,mcp.callTool) to enable tool execution from anywhere across the app.src/modules/aix/client/&src/apps/chat/editors/chat-persona.ts: Integrated tools into chat generation payloads across both direct client fetch and tRPC pipelines, with an automated tool execution loop.2. Apple Design & Emil Kowalski UI Craft
:active { transform: scale(0.97) }press states across buttons, chips, and controls.backdrop-filter: blur(20px) saturate(180%)and soft layered depth.scale(0.95) -> 1.0transitions usingcubic-bezier(0.16, 1, 0.3, 1).Verification & Type Safety
npm run tscheck(tsc --noEmit --pretty) completed with 0 errors.