improvement(deployed-mcp): added the ability to make the visibility for deployed mcp tools public, updated UX#2853
Merged
waleedlatif1 merged 7 commits intostagingfrom Jan 16, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
…or deployed mcp tools public, updated UX
Contributor
Greptile SummaryThis PR adds public visibility for deployed MCP tools and significantly improves the UX for MCP server management. The implementation includes database schema changes, API route updates to conditionally bypass authentication for public servers, and extensive UI enhancements. Key Changes
Technical ImplementationThe public visibility feature works by:
The migration to React Query consolidates deployment logic across chat, form, and MCP deployments, creating reusable hooks in Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Client as MCP Client
participant API as MCP Serve Route
participant Auth as Authentication
participant TokenGen as Token Generator
participant Workflow as Workflow Executor
participant DB as Database
Client->>API: POST /api/mcp/serve/{serverId}
API->>DB: Fetch server (isPublic, createdBy)
DB-->>API: Server configuration
alt Server is Public
Note over API,Auth: Skip auth check
API->>TokenGen: Generate temporary token
TokenGen-->>API: Internal JWT
API->>Workflow: Execute with owner context
else Server is Private
API->>Auth: Verify request credentials
Auth-->>API: Validation result
alt Auth Failed
API-->>Client: 401 Unauthorized
else Auth Success
API->>Workflow: Execute with user context
end
end
Workflow->>Auth: Verify credentials
Auth-->>Workflow: Extract user context
Workflow->>DB: Execute as workflow owner
DB-->>Workflow: Execution results
Workflow-->>API: Response
API-->>Client: MCP tool output
|
26c1362 to
65b18d1
Compare
…reactquery instead of manual state management
Collaborator
Author
|
@greptile |
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.
Summary
Type of Change
Testing
Tested manually
Checklist