Skip to content

MCP Server

The Entrig MCP server lets your AI agent create, update, list, and delete Entrig notifications using natural language.

  • Server URL: https://mcp.entrig.com/beta
  • Transport: HTTP / Streamable HTTP
  • Auth: Bearer token (your Entrig API key)

Client setup

Claude Code

Terminal window
claude mcp add --transport http entrig https://mcp.entrig.com/beta \
--header "Authorization: Bearer YOUR_ENTRIG_API_KEY"

For project-scope (shared via .mcp.json, use env var to avoid committing the key):

Terminal window
claude mcp add --transport http --scope project entrig https://mcp.entrig.com/beta \
--header "Authorization: Bearer ${ENTRIG_API_KEY}"

Fully quit and relaunch Claude Code after adding. Confirm with /mcp or claude mcp list.

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
"mcpServers": {
"entrig": {
"type": "http",
"url": "https://mcp.entrig.com/beta",
"headers": {
"Authorization": "Bearer ${env:ENTRIG_API_KEY}"
}
}
}
}

Restart Cursor after editing the config.

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
"mcpServers": {
"entrig": {
"serverUrl": "https://mcp.entrig.com/beta",
"headers": {
"Authorization": "Bearer ${env:ENTRIG_API_KEY}"
}
}
}
}

Fully restart Windsurf/Cascade after updating config.

Codex

Add to ~/.codex/config.toml (or .codex/config.toml for project scope):

[mcp_servers.entrig]
url = "https://mcp.entrig.com/beta"
bearer_token_env_var = "ENTRIG_API_KEY"

Set ENTRIG_API_KEY in the environment that launches Codex. Restart Codex and confirm with /mcp.

Lovable

Lovable supports MCP servers as Chat connectors on paid plans:

  1. Open Connectors → Chat connectors.
  2. Click New MCP server.
  3. Server name: Entrig
  4. Server URL: https://mcp.entrig.com/beta
  5. Authentication: Bearer token — paste your Entrig API key.
  6. Click Add server.

Available tools

  • get_context — read the database schema and existing notification context
  • list_notifications — list existing notifications
  • get_notifications — get full config for one or more notifications
  • create_notification — create a notification
  • update_notification — update a notification
  • delete_notification — delete a notification
  • feature_request — record unsupported requests

Example prompts

Create a notification:

Notify all members of a group chat when someone
sends a new message, except the sender.

Update a notification:

Update the order shipped notification so it only
sends when the status changes from processing to shipped.

List notifications:

Show me all notifications configured on the orders table.

Delete a notification:

Find the duplicate message notification and delete it
after confirming the right one.

Troubleshooting

Tools not available — Fully quit and relaunch your agent after adding the MCP server. Most agents fix the tool list at session start.

Missing or invalid Authorization header — The header must be Authorization: Bearer YOUR_ENTRIG_API_KEY. Make sure there is a space after Bearer.

Actions fail after connecting — Confirm the API key belongs to the correct Entrig project and that the requested notification matches your schema.

Verify the endpoint is reachable:

Terminal window
curl -i https://mcp.entrig.com/beta
# Should return 401 without an auth header