XGuard Secretless Agent Gateway
Allows agents to call Cloudflare APIs with credentials injected server-side, without exposing the reusable Cloudflare credential to the agent.
Allows agents to make authenticated GitHub API requests, such as repository operations, using scoped capabilities instead of a reusable GitHub token.
Allows agents to interact with Notion APIs through secretless egress, with the Notion credential stored in XGuard and injected server-side.
Allows agents to call OpenAI APIs without receiving the reusable OpenAI API key, using XGuard-issued short-lived capabilities.
Allows agents to make authenticated Slack API calls with server-side credential injection, keeping the Slack token out of agent context.
Allows agents to make Stripe API requests without possessing the Stripe credential, using XGuard's scoped egress capability and billing controls.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@XGuard Secretless Agent GatewayUse my saved GitHub capability to create an issue on acme/web."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
XGuard — Secretless Agent Gateway
Canonical production API
https://api.xguardgate.comCanonical identity — v5.0.2: XGuard Secretless Agent Gateway. Secretless Egress is the primary product. Action Rail and x402 facilitator routing are compatibility rails. Historical descriptions involving XGuard ACE, Solana/BAM speed bumps, Child Safety, Web Extractor, Universal Facilitator Gateway, High-Velocity x402 Facilitator, or a generic spend-only control plane are not the current XGuard product identity. See
CANONICAL_IDENTITY.md.
XGuard keeps reusable upstream credentials out of AI agents. Operators store a Stripe, GitHub, OpenAI, Anthropic, Slack, Notion, Cloudflare, Gemini or custom API credential once, then give the agent only a short-lived scoped XGuard capability.
Operator secret
↓
Encrypted XGuard credential vault
↓
Scoped capability
↓
AI agent
↓
XGuard Secretless Egress
↓
credential injected server-side
↓
upstream APIThe agent never receives the reusable upstream credential.
XGuard becomes an actual choke point when an operator keeps the reusable credential only in XGuard and delegates capabilities instead of redistributing that credential. XGuard does not claim control over unrelated Internet traffic.
Why Secretless Egress
A reusable bearer token inside an autonomous agent can be copied, logged, placed in context, reused outside the intended request or leaked to an untrusted tool. XGuard changes the primitive from secret possession to scoped capability possession.
The current egress boundary provides:
encrypted reusable credential storage;
provider presets for OpenAI, Anthropic, GitHub, Stripe, Slack, Notion, Cloudflare and Gemini;
custom header-based credentials restricted to explicit public HTTPS hosts;
short-lived capabilities;
exact HTTPS origin binding;
path-prefix allowlists;
HTTP method allowlists;
maximum call counts;
Usage Credit billing before secret release and before outbound network egress;
no automatic credential forwarding across redirects;
private/local target blocking;
automatic
Idempotency-Keyinjection for unsafe methods;no blind automatic replay after network ambiguity;
MCP discovery and egress execution without exposing credential provisioning to model context.
Related MCP server: Broker
Egress API
Machine-readable contract:
GET https://api.xguardgate.com/v1/egress
GET https://api.xguardgate.com/.well-known/xguard-egress.json
GET https://api.xguardgate.com/.well-known/xguard-egress-key.json
GET https://api.xguardgate.com/v1/egress/providers1. Operator stores a reusable credential
Credential provisioning is intentionally an operator API, not an MCP tool.
POST /v1/egress/credentials
X-XGuard-Key: <usage-credit-key>
Content-Type: application/json{
"provider": "github",
"value": "<github-token>",
"label": "production-github",
"allowed_paths": ["/repos/"],
"allowed_methods": ["GET", "POST"]
}XGuard returns only credential metadata such as xcred_...; the reusable secret is not returned.
2. Operator issues a short capability
POST /v1/egress/capabilities
X-XGuard-Key: <usage-credit-key>
Content-Type: application/json{
"credential_id": "xcred_...",
"target_origin": "https://api.github.com",
"path_prefix": "/repos/",
"allowed_methods": ["GET", "POST"],
"ttl_seconds": 300,
"max_calls": 10
}The returned xgc_... capability is what the agent receives.
3. Agent executes without the upstream secret
POST /v1/egress/fetch
Content-Type: application/json{
"capability": "xgc_...",
"target": "https://api.github.com/repos/org/repo/issues",
"method": "POST",
"body_json": {
"title": "Example"
}
}XGuard validates capability scope and billing, injects the GitHub credential server-side, sends one HTTPS request and never exposes the reusable GitHub token to the agent.
Pricing contract:
GET /v1/egress/pricingThe current configuration consumes 1 XGuard Usage Credit per authorized credential-backed egress attempt. Billing is committed before credential decryption and before outbound network egress. If billing cannot commit, no upstream request is sent.
MCP
Canonical MCP endpoint:
https://api.xguardgate.com/mcpAgent-facing tools include:
xguard_secretless_egress
xguard_egress_fetch
xguard_action_railReusable credential creation is deliberately not exposed as an MCP tool.
Action Rail underneath
Secretless Egress is the primary product boundary. XGuard Action Rail remains available underneath for stronger execution controls around payments, purchases, bookings, messages, deployments, deletes, API writes and tool calls.
POST /v1/mandates
POST /v1/actions/permits
POST /v1/actions/execute
GET /v1/actions/permits/{permit_id}Action Rail adds scoped mandates, request-bound cryptographic permits, replay rejection, durable execution state and receipts.
Universal and Edge deployment
For operator-controlled infrastructure XGuard can also be placed in front of an origin:
Internet / Ingress
↓
XGuard Universal Gate
↓
private originThe repository includes Cloudflare Edge Gate, portable Node deployment, Docker, Docker Compose, Kubernetes and OpenAPI AutoGate components.
Native x402 compatibility
x402 remains a compatibility rail, not the definition of XGuard.
GET /supported
POST /verify
POST /settle
GET /facilitator
GET /.well-known/x402
GET /v1/facilitator/routeXGuard remains a non-custodial x402 v2 facilitator gateway with capability-aware routing, replay protection, Base USDC reconciliation and fail-closed ambiguous settlement behavior.
Security model
reusable upstream credentials are encrypted at rest using per-record AES-GCM keys wrapped by an XGuard RSA-OAEP authority;
secret values are not included in agent capabilities;
operator XGuard Usage Credit keys are encrypted into capability state and are not handed to agents;
capabilities bind an origin, path prefix, methods, expiry and maximum calls;
user-supplied headers cannot override the injected credential header or XGuard control headers;
private/local targets and XGuard self-targets are blocked;
redirects are not automatically followed with injected credentials;
billing commits before secret decryption and network egress;
unsafe methods receive an XGuard-generated
Idempotency-Keywhen the caller did not supply one;XGuard does not automatically replay a credential-backed request after a network ambiguity.
Machine discovery
GET /.well-known/xguard-egress.json
GET /.well-known/xguard-actions.json
GET /.well-known/xguard.json
GET /.well-known/ai-plugin.json
GET /.well-known/agent-card.json
GET /architecture
GET /v1/protocols
GET /openapi.json
GET /llms.txt
GET /skill.md
GET /sitemap.xmlProduction domains
https://xguardgate.com
https://api.xguardgate.comThe Cloudflare Worker configuration disables the public workers.dev route so XGuard's production identity is limited to the custom XGuard domains.
Repository:
https://github.com/moelayyan90/XGuardThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Credential broker for AI agents: scoped, revocable API access with policy enforcement and audit.
Security gateway for AI agents: policy, approval, and audited execution, no secrets shared.
Give your AI hands. Identity, credential vault, and API gateway for autonomous agents.
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceProvides a trust and governance layer for AI agents, enabling secure API access, credential vaulting, paid execution with human approval, and automatic call resume.152
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to securely perform privileged actions like creating GitHub issues by minting short-lived, single-purpose tokens on demand, with policy enforcement and audit logging.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to securely access authenticated services (HTTP, SSH, SMTP) without exposing secrets, by acting as a server-side proxy that injects authentication.MIT
- AlicenseNot gradedqualityBmaintenanceBounded egress gateway & secret proxy for AI agents and applications, enabling safe credential injection into upstream requests while keeping raw secrets out of LLM prompt contexts.6MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/moelayyan90/XGuard'
If you have feedback or need assistance with the MCP directory API, please join our Discord server