2026-07-28,
2025-11-25, 2025-06-18, and 2025-03-26. Legacy HTTP+SSE and stdio
transports are not exposed.
Credential-bound identity
The bearer credential determines the user, Service Account, and organization. Tool
arguments never select the caller identity.
Layered authorization
The effective catalog is the intersection of the Inbound MCP surface, current IAM
permissions, and workspace Tool Policy.
Controlled changes
Managed changes keep idempotency, confirmation, approval, execution, and audit inside
MoleSignal.
Progressive discovery
A small initial tool list keeps model context bounded. Search the authorized catalog only
when another capability is needed.
Before connecting
- Configure
http.external_urlwith the public MoleSignal origin for any non-loopback deployment. See Configuration. - Open Mole Agent → Settings → Inbound MCP and confirm that the server is enabled.
- Copy the complete endpoint shown by the page, including scheme and host.
- Choose OAuth 2.1, a personal API token, or a Service Account API token.
Choose an agent client
OAuth is the recommended credential for an interactive human session. Use the client-specific example for the exact configuration format and authentication command.Codex
Register the Streamable HTTP endpoint with
codex mcp and complete OAuth.Claude Code
Add a remote HTTP server with project, local, or user scope.
Cursor
Configure
.cursor/mcp.json and connect through Tools & MCP.VS Code
Configure
mcp.json for Copilot agent mode and approve the server trust prompt.Gemini CLI
Add a remote HTTP server and authenticate with
/mcp auth.Use one canonical host everywhere.
localhost and 127.0.0.1 are different browser cookie
origins, so mixing them can cause another MoleSignal sign-in or an OAuth resource mismatch.Connect with an API token
API tokens are useful for non-interactive clients and automation.- Personal API token
- Service Account API token
Create a token from Workspace → API tokens. The token uses the current user principal and
its assigned role. Pass it through the client’s secret or environment-variable mechanism as
Authorization: Bearer <token>.OAuth discovery and lifetime
MoleSignal publishes OAuth metadata at:S256, RFC 8707 resource
binding, dynamic client registration, refresh-token rotation, and token-family revocation.
Access tokens live for one hour. Refresh tokens require the offline_access scope and the
refresh_token grant, live for 30 days, and rotate on every use.
Active OAuth connections can be reviewed and revoked from Mole Agent → Settings → Inbound
MCP.
Understand the tenant boundary
Never senduser_id or org_id in the endpoint, a custom header, or tool arguments.
MoleSignal derives both identities from the authenticated credential, reloads the current IAM
snapshot for each request, and binds the MCP session to the credential that initialized it.
The effective tool set is:
Start with the tool adapters
tools/list advertises a small authorized set: seven common read tools, approval and execution
controls, and three progressive-discovery adapters.
Typical prompts:
- “Search the MoleSignal tools for recent incidents, then summarize the highest-impact open incident.”
- “Find the status-page tools and list active incidents. Do not make changes.”
- “Test this alert rule, then update it only after the required confirmation or approval.”
Runtime limits
Edit these values from Mole Agent → Settings → Inbound MCP. Organization Tool Policy can
apply a stricter timeout or response-size limit to an individual tool.
Browser Origin and Host checks
Requests without anOrigin header are accepted for non-browser MCP clients. Browser requests
must be same-origin or match an exact HTTP or HTTPS Origin configured in Inbound MCP settings.
For non-loopback deployments, the request Host must match http.external_url. This check
prevents DNS-rebinding attacks against local MCP servers.