Skip to main content

Gocertius

io.github.g-digital-by-Garrigues/gocertius

v2.0.0Updated Sep 8, 2026stdio · npm

MCP server for GoCertius: certified evidence, dossiers, notifications and chats via AI agents.

Install

Needs 1 secret. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add gocertius -e 'MCP_API_BASE_URL=<your-mcp-api-base-url>' -e 'MCP_AUTH_USER_KEY=<your-mcp-auth-user-key>' -- npx -y @g-digital/[email protected]

Configuration

13 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • MCP_AUTH_USER_KEY
    Env var· required· secret
    Long-lived GoCertius user key, exchanged automatically for a short-lived session token. Use it for headless or automated access instead of an account password. (See https://www.gocertius.io for credential acquisition.)
  • MCP_API_BASE_URL
    Env var· required
    Upstream API root. Required: your user key is exchanged for a session token against this host, and the server will not start without it.
  • MCP_SVC_CLIENT_SECRET
    Env var· optional· secret
    Client secret this server presents to the introspection endpoint above (its resource-server credentials). Only needed alongside MCP_SVC_INTROSPECT_URL; it does not authenticate you to GoCertius. (See https://www.gocertius.io for credential acquisition.)
  • MCP_ALLOW_INSECURE_FILE_URL
    Env var· optional
    Set to "true" to allow plain http:// fileUrl downloads in evidence_create (default https-only). Private/internal addresses are rejected regardless (resolution-time check; see the documented DNS TOCTOU limitation in the hosted-deployment runbook).
  • MCP_ALLOW_UNVERIFIED_BEARER
    Env var· optional
    Escape hatch for MCP_HTTP_PUBLIC=true WITHOUT inbound-token introspection: set to "true" ONLY when an upstream gateway already verifies Bearer tokens. The server logs a prominent warning and forwards tokens upstream unverified.
  • MCP_ALLOWED_HOSTS
    Env var· optional
    Comma-separated allowed Host headers. Empty = Host validation disabled (default). When set, requests with a Host outside the list are rejected.
Show 7 more
  • MCP_ALLOWED_ORIGINS
    Env var· optional
    Comma-separated allowed browser Origins (DNS-rebinding defense). Empty = reject any request carrying an Origin header; non-browser clients (CLI/SDK) send no Origin and are always allowed. Use '*' to allow all.
  • MCP_HTTP_HOST
    Env var· optional
    Interface the HTTP transport binds to. Default 127.0.0.1 (localhost only). Set 0.0.0.0 to expose on all interfaces (containers do this automatically).
  • MCP_HTTP_MAX_BODY_BYTES
    Env var· optional
    Maximum accepted POST /mcp request-body size in bytes (default 16777216 = 16 MiB — sized so base64 file uploads within the documented tool limits fit). Oversized requests get a 413 JSON-RPC error before/while reading — closes a memory-exhaustion DoS vector in public deployments. Note: base64 file sources are capped by this limit BEFORE MCP_FILE_MAX_BYTES applies.
  • MCP_HTTP_PUBLIC
    Env var· optional
    Set to "true" for public/multi-tenant deployments. Activates Host validation and refuses to start unless (1) MCP_ALLOWED_ORIGINS or MCP_ALLOWED_HOSTS is set AND (2) inbound Bearer introspection is configured (MCP_SVC_INTROSPECT_URL + MCP_SVC_CLIENT_ID/SECRET) or MCP_ALLOW_UNVERIFIED_BEARER=true is set explicitly (fail-closed).
  • MCP_SVC_CLIENT_ID
    Env var· optional
    Client ID this server presents to the introspection endpoint above (its resource-server credentials). Only needed alongside MCP_SVC_INTROSPECT_URL; it does not authenticate you to GoCertius.
  • MCP_SVC_INTROSPECT_URL
    Env var· optional
    RFC 7662 token introspection URL for inbound Bearer verification in HTTP mode. Opt-in, and required when MCP_HTTP_PUBLIC=true. Leave empty for stdio (local) use.
  • PORT
    Env var· optional
    HTTP port when running in hosted (HTTP) mode; ignored in stdio mode

Listed in the official MCP Registry since Sep 8, 2026. Mirrored daily; last checked Nov 26, 2026.