Sign inSign up

gdigital/ead-factory

By gdigital

Updated 8 days ago

MCP server for EAD Factory: qualified evidence, signature, notifications and chat via AI agents.

Buildkit cache
Image
Security
Developer tools
Databases & storage
0

4.3K

gdigital/ead-factory repository overview

MCP server for EAD Factory: qualified evidence, signature, notifications and chat via AI agents.

Image gdigital/ead-factory · Version 1.4.0 · npm @g-digital/mcp-ead-factory · License MIT

Run it

docker run --rm -i --env-file .env gdigital/ead-factory:1.4.0

Wire it into an MCP client (Claude Desktop, Claude Code, n8n, …):

{
  "mcpServers": {
    "ead-factory": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "--env-file", ".env", "gdigital/ead-factory:1.4.0"]
    }
  }
}

The container speaks MCP over stdio, so keep -i. Set PORT and run it as a service instead if you want the HTTP transport.

Configuration

Required — the server will not start without these:

VariableSecretWhat it is
MCP_SVC_TOKEN_URLnoToken endpoint URL for the OAuth2 client_credentials flow.
MCP_SVC_CLIENT_IDnoOAuth2 client_credentials client ID.
MCP_SVC_CLIENT_SECRETyesOAuth2 client_credentials client secret.
Optional variables (15)
VariableSecretWhat it is
MCP_SVC_SCOPEnoOptional OAuth2 scope for the service-account token request.
MCP_SVC_INTROSPECT_URLnoRFC 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_API_BASE_URLnoGateway ROOT URL (e.g. https://api.int.gcloudfactory.com) — each manager's path prefix is appended automatically; do NOT include a manager path here
MCP_API_BASE_URL_EVIDENCEnoFull base URL override for the evidence manager, used as-is (default: https://api.gcloudfactory.com/digital-trust)
MCP_API_BASE_URL_SIGNATUREnoFull base URL override for the signature manager, used as-is (default: https://api.gcloudfactory.com/signature-manager)
MCP_API_BASE_URL_NOTIFICATIONnoFull base URL override for the notification manager, used as-is (default: https://api.gcloudfactory.com/notifications)
MCP_API_BASE_URL_CHATnoFull base URL override for the chat manager, used as-is (default: https://api.gcloudfactory.com/chat-bot-manager)
PORTnoHTTP port when running in hosted (HTTP) mode; ignored in stdio mode
MCP_HTTP_HOSTnoInterface 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_ORIGINSnoComma-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_HOSTSnoComma-separated allowed Host headers. Empty = Host validation disabled (default). When set, requests with a Host outside the list are rejected.
MCP_HTTP_PUBLICnoSet 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_BEARERnoEscape 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_BYTESnoMaximum 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_URLnoSet 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).

Documentation


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.

Tag summary

Content type

Image

Digest

sha256:8b2b22d23

Size

86.4 MB

Last updated

8 days ago

docker pull gdigital/ead-factory