Skip to content
Discussion options

You must be logged in to vote

That reset is LibreChat itself, not your config. On every startup updateInterfacePermissions runs a block labelled "One-time migration: correct MCP_SERVERS.CREATE for USER role" in packages/api/src/app/permissions.ts. It fires when the USER role in Mongo has MCP_SERVERS.CREATE: true, the built-in default for USER is CREATE: false (roles.ts), and librechat.yaml does not set interface.mcpServers.create. All three hold for you, so each restart writes CREATE back to false. With DEBUG_LOGGING=true the log shows Role 'USER': Migrating MCP_SERVERS.CREATE from true to false (Zod default correction).

Set the key explicitly and the block is skipped:

interface:
  mcpServers:
    create: true

Only t…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by greenmotion
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants