We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2450d3 commit 896e967Copy full SHA for 896e967
apps/sim/lib/mcp/serve-auth.ts
@@ -55,18 +55,6 @@ export async function validateMcpServeAuth(
55
return { success: false, error: auth.error || 'Authentication required' }
56
}
57
58
- // Verify user has access to the workspace
59
- const permissions = await getUserEntityPermissions(auth.userId, 'workspace', server.workspaceId)
60
-
61
- if (!permissions) {
62
- // For published servers, we allow access to any authenticated user
63
- // This enables the "public but authenticated" model where anyone with a Sim account
64
- // can use published MCP servers
65
- logger.info(
66
- `User ${auth.userId} accessing published MCP server ${serverId} without workspace membership`
67
- )
68
- }
69
70
return {
71
success: true,
72
userId: auth.userId,
0 commit comments