GoCertius MCP Server
GoCertius MCP: evidence, simple and two-factor advanced e-signature, dossiers, notifications, chats.
Quick start
npx -y @g-digital/mcp-gocertius
Or see ONBOARDING.md for a step-by-step setup guide (≤ 5 minutes).
Where to install
This MCP is published to every major MCP distribution channel by the g-digital MCP distribution pipeline. Pick whichever fits your stack:
Every channel ships the same MCP server contract; the tools and environment configuration below apply regardless of which install path you choose.
Need credentials? Visit: https://www.gocertius.io
Installation
Claude Desktop
{
"mcpServers": {
"gocertius": {
"args": [
"-y",
"@g-digital/mcp-gocertius"
],
"command": "npx",
"env": {
"MCP_API_BASE_URL": "https://api-gocertius.gocertius.io",
"MCP_AUTH_USER_KEY": "<PASTE_MCP_AUTH_USER_KEY_HERE>"
}
}
}
}
Need credentials? See: https://www.gocertius.io
Claude Code (CLI)
{
"mcpServers": {
"gocertius": {
"args": [
"-y",
"@g-digital/mcp-gocertius"
],
"command": "npx",
"env": {
"MCP_API_BASE_URL": "https://api-gocertius.gocertius.io",
"MCP_AUTH_USER_KEY": "<PASTE_MCP_AUTH_USER_KEY_HERE>"
}
}
}
}
Need credentials? See: https://www.gocertius.io
Cursor
{
"mcpServers": {
"gocertius": {
"args": [
"-y",
"@g-digital/mcp-gocertius"
],
"command": "npx",
"env": {
"MCP_API_BASE_URL": "https://api-gocertius.gocertius.io",
"MCP_AUTH_USER_KEY": "<PASTE_MCP_AUTH_USER_KEY_HERE>"
}
}
}
}
Need credentials? See: https://www.gocertius.io
Windsurf
{
"mcpServers": {
"gocertius": {
"args": [
"-y",
"@g-digital/mcp-gocertius"
],
"command": "npx",
"env": {
"MCP_API_BASE_URL": "https://api-gocertius.gocertius.io",
"MCP_AUTH_USER_KEY": "<PASTE_MCP_AUTH_USER_KEY_HERE>"
}
}
}
}
Need credentials? See: https://www.gocertius.io
Cline
{
"mcpServers": {
"gocertius": {
"args": [
"-y",
"@g-digital/mcp-gocertius"
],
"command": "npx",
"env": {
"MCP_API_BASE_URL": "https://api-gocertius.gocertius.io",
"MCP_AUTH_USER_KEY": "<PASTE_MCP_AUTH_USER_KEY_HERE>"
}
}
}
}
Need credentials? See: https://www.gocertius.io
VS Code
{
"servers": {
"gocertius": {
"args": [
"-y",
"@g-digital/mcp-gocertius"
],
"command": "npx",
"env": {
"MCP_API_BASE_URL": "https://api-gocertius.gocertius.io",
"MCP_AUTH_USER_KEY": "<PASTE_MCP_AUTH_USER_KEY_HERE>"
}
}
}
}
Need credentials? See: https://www.gocertius.io
JetBrains
{
"mcpServers": {
"gocertius": {
"args": [
"-y",
"@g-digital/mcp-gocertius"
],
"command": "npx",
"env": {
"MCP_API_BASE_URL": "https://api-gocertius.gocertius.io",
"MCP_AUTH_USER_KEY": "<PASTE_MCP_AUTH_USER_KEY_HERE>"
}
}
}
}
Need credentials? See: https://www.gocertius.io
Zed
{
"mcpServers": {
"gocertius": {
"args": [
"-y",
"@g-digital/mcp-gocertius"
],
"command": "npx",
"env": {
"MCP_API_BASE_URL": "https://api-gocertius.gocertius.io",
"MCP_AUTH_USER_KEY": "<PASTE_MCP_AUTH_USER_KEY_HERE>"
}
}
}
}
Need credentials? See: https://www.gocertius.io
Claude Desktop / Claude Code
Add to your ~/.claude.json or claude_desktop_config.json:
{
"mcpServers": {
"gocertius": {
"command": "npx",
"args": ["-y", "@g-digital/mcp-gocertius"],
"env": {
"MCP_AUTH_USER_KEY": "your-user-key",
"MCP_API_BASE_URL": "https://api-gocertius.gocertius.io"
}
}
}
}
Docker
docker run --rm -i \
-e MCP_AUTH_USER_KEY=your-user-key \
-e MCP_API_BASE_URL=https://api-gocertius.gocertius.io \
gdigital/gocertius:latest
Environment Variables
| Name |
Required |
Secret |
Description |
MCP_ALLOW_INSECURE_FILE_URL |
No |
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_ALLOW_UNVERIFIED_BEARER |
No |
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_ALLOWED_HOSTS |
No |
No |
Comma-separated allowed Host headers. Empty = Host validation disabled (default). When set, requests with a Host outside the list are rejected. |
MCP_ALLOWED_ORIGINS |
No |
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_API_BASE_URL |
Yes |
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). |
MCP_AUTH_USER_KEY |
Yes |
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. (See https://www.gocertius.io for credential acquisition.) |
MCP_BRIDGE_STATE_FILE |
No |
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. |
MCP_FILE_ALLOWED_ROOTS |
No |
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_MAX_BYTES |
No |
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_URL_ALLOWED_HOSTS |
No |
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_HTTP_HOST |
No |
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_HTTP_MAX_BODY_BYTES |
No |
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_HTTP_PUBLIC |
No |
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_OTEL_ENABLED |
No |
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. |
MCP_SVC_CLIENT_ID |
No |
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 |
No |
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. (See https://www.gocertius.io for credential acquisition.) |
MCP_SVC_INTROSPECT_URL |
No |
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_TRANSPORT |
No |
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. |
PORT |
No |
No |
HTTP port when running in hosted (HTTP) mode; ignored in stdio mode |