LibreChat
For the admin of a LibreChat instance. DICTUM is added once per instance as an MCP server with the GLBNXT login; each user then signs in once and has DICTUM's tools in every chat.
From GLBNXT: a client ID and a client secret for your instance. GLBNXT needs your instance's callback URL to create them (step 1).
If your LibreChat is a GLBNXT Workspace instance run by GLBNXT, this is already done: go to Use it.
Set it up
Request your credentials. Choose the name of the server in
librechat.yaml, for exampledictum. Your callback URL is thenhttps://<your instance>/api/mcp/dictum/oauth/callbackSend this URL to GLBNXT support with your request for DICTUM. You receive a client ID and a client secret.
Store the secret in the instance's
.env:DICTUM_OAUTH_CLIENT_SECRET=<client secret from GLBNXT>Add the server to
librechat.yamlundermcpServers:mcpServers: dictum: type: streamable-http url: https://dictum.glbnxt.tech/mcp timeout: 120000 oauth: authorization_url: https://login.platform.glbnxt.com/oauth/v2/authorize token_url: https://login.platform.glbnxt.com/oauth/v2/token client_id: "<client ID from GLBNXT>" client_secret: "${DICTUM_OAUTH_CLIENT_SECRET}" redirect_uri: https://<your instance>/api/mcp/dictum/oauth/callback scope: "openid profile email offline_access"The key under
mcpServers(dictumhere) must match the name in the callback URL.Restart LibreChat.
Use it
A user opens a chat with the DICTUM server enabled. The first time, the GLBNXT login opens; after signing in, DICTUM's tools are available.
For answers that follow the Research method, give users an agent with the suggested skill as its instructions.
If it does not work
The login never opens and the log mentions registration: the client ID or secret is missing, or
DICTUM_OAUTH_CLIENT_SECRETis not set, so LibreChat tried automatic registration, which the GLBNXT login does not offer.The GLBNXT login reports a redirect error: the
redirect_urimust be exactly the callback URL you sent GLBNXT, with the same server name as the key undermcpServers.An error mentions the
resourceparameter: addsend_resource_parameter: falseto theoauthblock.Everything looks fine but DICTUM refuses the calls: send GLBNXT support the client ID you configured; they check that it is enabled for DICTUM.
Was this helpful?