For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. Request your credentials. Choose the name of the server in librechat.yaml, for example dictum. Your callback URL is then

     https://<your instance>/api/mcp/dictum/oauth/callback

    Send this URL to GLBNXT support with your request for DICTUM. You receive a client ID and a client secret.

  2. Store the secret in the instance's .env:

     DICTUM_OAUTH_CLIENT_SECRET=<client secret from GLBNXT>
  3. Add the server to librechat.yaml under mcpServers:

    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 (dictum here) must match the name in the callback URL.

  4. 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_SECRET is not set, so LibreChat tried automatic registration, which the GLBNXT login does not offer.

  • The GLBNXT login reports a redirect error: the redirect_uri must be exactly the callback URL you sent GLBNXT, with the same server name as the key under mcpServers.

  • An error mentions the resource parameter: add send_resource_parameter: false to the oauth block.

  • 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?