Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-g-digital-by-garrigues-ead-enterprise-suite": {
"command": "npx",
"args": [
"-y",
"@g-digital/mcp-ead-enterprise-suite"
],
"env": {
"MCP_ALLOW_INSECURE_FILE_URL": "<VALUE>",
"MCP_ALLOW_UNVERIFIED_BEARER": "<VALUE>",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"MCP_ALLOWED_ORIGINS": "<VALUE>",
"MCP_API_BASE_URL": "<VALUE>",
"MCP_AUTH_USER_KEY": "<YOUR_VALUE>",
"MCP_HTTP_HOST": "<VALUE>",
"MCP_HTTP_MAX_BODY_BYTES": "<VALUE>",
"MCP_HTTP_PUBLIC": "<VALUE>",
"MCP_SVC_CLIENT_ID": "<VALUE>",
"MCP_SVC_CLIENT_SECRET": "<YOUR_VALUE>",
"MCP_SVC_INTROSPECT_URL": "<VALUE>",
"PORT": "<VALUE>",
"MCP_AUTH_JWT": "<VALUE>",
"MCP_AUTH_EMAIL": "<VALUE>",
"MCP_AUTH_PASSWORD": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-g-digital-by-garrigues-ead-enterprise-suite": {
"command": "npx",
"args": [
"-y",
"@g-digital/mcp-ead-enterprise-suite"
],
"env": {
"MCP_ALLOW_INSECURE_FILE_URL": "<VALUE>",
"MCP_ALLOW_UNVERIFIED_BEARER": "<VALUE>",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"MCP_ALLOWED_ORIGINS": "<VALUE>",
"MCP_API_BASE_URL": "<VALUE>",
"MCP_AUTH_USER_KEY": "<YOUR_VALUE>",
"MCP_HTTP_HOST": "<VALUE>",
"MCP_HTTP_MAX_BODY_BYTES": "<VALUE>",
"MCP_HTTP_PUBLIC": "<VALUE>",
"MCP_SVC_CLIENT_ID": "<VALUE>",
"MCP_SVC_CLIENT_SECRET": "<YOUR_VALUE>",
"MCP_SVC_INTROSPECT_URL": "<VALUE>",
"PORT": "<VALUE>",
"MCP_AUTH_JWT": "<VALUE>",
"MCP_AUTH_EMAIL": "<VALUE>",
"MCP_AUTH_PASSWORD": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-g-digital-by-garrigues-ead-enterprise-suite": {
"command": "npx",
"args": [
"-y",
"@g-digital/mcp-ead-enterprise-suite"
],
"env": {
"MCP_ALLOW_INSECURE_FILE_URL": "<VALUE>",
"MCP_ALLOW_UNVERIFIED_BEARER": "<VALUE>",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"MCP_ALLOWED_ORIGINS": "<VALUE>",
"MCP_API_BASE_URL": "<VALUE>",
"MCP_AUTH_USER_KEY": "<YOUR_VALUE>",
"MCP_HTTP_HOST": "<VALUE>",
"MCP_HTTP_MAX_BODY_BYTES": "<VALUE>",
"MCP_HTTP_PUBLIC": "<VALUE>",
"MCP_SVC_CLIENT_ID": "<VALUE>",
"MCP_SVC_CLIENT_SECRET": "<YOUR_VALUE>",
"MCP_SVC_INTROSPECT_URL": "<VALUE>",
"PORT": "<VALUE>",
"MCP_AUTH_JWT": "<VALUE>",
"MCP_AUTH_EMAIL": "<VALUE>",
"MCP_AUTH_PASSWORD": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-g-digital-by-garrigues-ead-enterprise-suite": {
"command": "npx",
"args": [
"-y",
"@g-digital/mcp-ead-enterprise-suite"
],
"env": {
"MCP_ALLOW_INSECURE_FILE_URL": "<VALUE>",
"MCP_ALLOW_UNVERIFIED_BEARER": "<VALUE>",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"MCP_ALLOWED_ORIGINS": "<VALUE>",
"MCP_API_BASE_URL": "<VALUE>",
"MCP_AUTH_USER_KEY": "<YOUR_VALUE>",
"MCP_HTTP_HOST": "<VALUE>",
"MCP_HTTP_MAX_BODY_BYTES": "<VALUE>",
"MCP_HTTP_PUBLIC": "<VALUE>",
"MCP_SVC_CLIENT_ID": "<VALUE>",
"MCP_SVC_CLIENT_SECRET": "<YOUR_VALUE>",
"MCP_SVC_INTROSPECT_URL": "<VALUE>",
"PORT": "<VALUE>",
"MCP_AUTH_JWT": "<VALUE>",
"MCP_AUTH_EMAIL": "<VALUE>",
"MCP_AUTH_PASSWORD": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-g-digital-by-garrigues-ead-enterprise-suite": {
"command": "npx",
"args": [
"-y",
"@g-digital/mcp-ead-enterprise-suite"
],
"env": {
"MCP_ALLOW_INSECURE_FILE_URL": "<VALUE>",
"MCP_ALLOW_UNVERIFIED_BEARER": "<VALUE>",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"MCP_ALLOWED_ORIGINS": "<VALUE>",
"MCP_API_BASE_URL": "<VALUE>",
"MCP_AUTH_USER_KEY": "<YOUR_VALUE>",
"MCP_HTTP_HOST": "<VALUE>",
"MCP_HTTP_MAX_BODY_BYTES": "<VALUE>",
"MCP_HTTP_PUBLIC": "<VALUE>",
"MCP_SVC_CLIENT_ID": "<VALUE>",
"MCP_SVC_CLIENT_SECRET": "<YOUR_VALUE>",
"MCP_SVC_INTROSPECT_URL": "<VALUE>",
"PORT": "<VALUE>",
"MCP_AUTH_JWT": "<VALUE>",
"MCP_AUTH_EMAIL": "<VALUE>",
"MCP_AUTH_PASSWORD": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-g-digital-by-garrigues-ead-enterprise-suite": {
"command": "npx",
"args": [
"-y",
"@g-digital/mcp-ead-enterprise-suite"
],
"env": {
"MCP_ALLOW_INSECURE_FILE_URL": "<VALUE>",
"MCP_ALLOW_UNVERIFIED_BEARER": "<VALUE>",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"MCP_ALLOWED_ORIGINS": "<VALUE>",
"MCP_API_BASE_URL": "<VALUE>",
"MCP_AUTH_USER_KEY": "<YOUR_VALUE>",
"MCP_HTTP_HOST": "<VALUE>",
"MCP_HTTP_MAX_BODY_BYTES": "<VALUE>",
"MCP_HTTP_PUBLIC": "<VALUE>",
"MCP_SVC_CLIENT_ID": "<VALUE>",
"MCP_SVC_CLIENT_SECRET": "<YOUR_VALUE>",
"MCP_SVC_INTROSPECT_URL": "<VALUE>",
"PORT": "<VALUE>",
"MCP_AUTH_JWT": "<VALUE>",
"MCP_AUTH_EMAIL": "<VALUE>",
"MCP_AUTH_PASSWORD": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| 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_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_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_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_API_BASE_URL | Yes | 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_AUTH_USER_KEY secret | Yes | Long-lived EAD Enterprise Suite user key. |
| 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_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_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_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 EAD Enterprise Suite. |
| MCP_SVC_CLIENT_SECRET secret | No | 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 EAD Enterprise Suite. (See https://www.eadtrust.eu/soluciones-legaltech/enterprise-suite/ for credential acquisition.) |
| 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. |
| PORT | No | HTTP port when running in hosted (HTTP) mode; ignored in stdio mode |
| MCP_AUTH_JWT | No | Pre-seeded JWT (skips interactive login). |
| MCP_AUTH_EMAIL | No | Your EAD Enterprise Suite account email. |
| MCP_AUTH_PASSWORD | No | Your EAD Enterprise Suite account password. |