GoCertius MCP: evidence, simple and two-factor advanced e-signature, dossiers, notifications, chats.
10K+
GoCertius MCP: evidence, simple and two-factor advanced e-signature, dossiers, notifications, chats.
Image gdigital/gocertius · Version 2.1.2 · npm @g-digital/mcp-gocertius · License MIT
The image starts the HTTP transport by default. Pick the mode that matches how you connect.
From an MCP client over stdio (Claude Desktop, Claude Code, Cursor, …) — override the transport with -e MCP_TRANSPORT=stdio and keep -i. In this mode the server signs in by itself with the credentials in .env:
docker run --rm -i --env-file .env -e MCP_TRANSPORT=stdio gdigital/gocertius:2.1.2
{
"mcpServers": {
"gocertius": {
"command": "docker",
"args": ["run", "--rm", "-i", "--env-file", ".env", "-e", "MCP_TRANSPORT=stdio", "gdigital/gocertius:2.1.2"]
}
}
}
Without -e MCP_TRANSPORT=stdio the container ignores stdin and waits for HTTP requests, so the client hangs.
As an HTTP service — publish the port and point your client at /mcp:
docker run -d -p 8080:8080 --env-file .env gdigital/gocertius:2.1.2
Every request to http://<host>:8080/mcp must carry Authorization: Bearer <token> — a valid, unexpired token for the upstream API; a request without one is answered 401. In this mode the server acts with the caller's token, never with the credentials in its own .env, so reaching the port is not enough to act with your account. Keep MCP_TRANSPORT out of .env and set it on the command line as above.
Required — the server will not start without these:
| Variable | Secret | What it is |
|---|---|---|
MCP_AUTH_USER_KEY | yes | 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. |
MCP_API_BASE_URL | no | Upstream API root. Required only when MCP_AUTH_USER_KEY is also set: your user key is exchanged for a session token against this host, and the server will not start without both. Not required for a credential-less deployment (inbound Bearer only). |
| Variable | Secret | What it is |
|---|---|---|
MCP_SVC_INTROSPECT_URL | no | 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. |
MCP_SVC_CLIENT_ID | no | 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_CLIENT_SECRET | yes | 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. |
MCP_TRANSPORT | no | Which transport to run: "stdio" for local/CLI use, "http" to host the server. Empty or unset means stdio. The Docker image sets http itself, so keep this variable out of any env file you pass to the container. Unknown values fail fast at startup. |
MCP_BRIDGE_STATE_FILE | no | Path to a file where the SSE bridge persists its state (pollable-task delivery) across restarts. Omit to disable persistence — pollable tasks still work, but in-flight SSE subscriptions are lost on restart. |
PORT | no | HTTP port when running in hosted (HTTP) mode; ignored in stdio mode |
MCP_HTTP_HOST | no | 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_ALLOWED_ORIGINS | no | 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_ALLOWED_HOSTS | no | Comma-separated allowed Host headers. Empty = Host validation disabled (default). When set, requests with a Host outside the list are rejected. |
MCP_HTTP_PUBLIC | no | 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_ALLOW_UNVERIFIED_BEARER | no | 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_HTTP_MAX_BODY_BYTES | no | 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_ALLOW_INSECURE_FILE_URL | no | 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_FILE_MAX_BYTES | no | Maximum accepted file size in bytes for any tool that ingests a file (path/base64/url source), default 1073741824 = 1 GiB. Oversized files are rejected before upload; see each file-accepting tool's error for the exact remediation. |
MCP_FILE_ALLOWED_ROOTS | no | Comma-separated absolute directory paths. When set, a local "path" file source must resolve under one of them (symlinks excluded). Empty (default) = no restriction. |
MCP_FILE_URL_ALLOWED_HOSTS | no | Comma-separated hostnames. When set, a "url" file source's host must be in this list, checked before any network call. Empty (default) = no restriction. |
MCP_OTEL_ENABLED | no | Set to "true" to emit OpenTelemetry traces/metrics (requires @opentelemetry/sdk-node to be installed separately). Off by default — zero overhead for npx/stdio users. |
npx.Published by g-digital by Garrigues. This page is generated at release time from the server's own configuration, so the variables above are the ones this exact image reads.
docker pull gdigital/gocertius:latest