agentfabric gateway
Configure and validate AgentFabric MCP gateways with tenant isolation, RBAC, and CEL security policies.
$49
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
agentfabric gateway
Example session with this skill installed
Set up a production AgentFabric gateway for two tenants: 'dev' and 'ops'. 'dev' gets read-only GitHub access, 'ops' gets full Kubernetes access. Use environment variables for all tokens.
- Read your context and instructions
- Compiled the agentfabric gateway
I have generated a hardened AgentFabric configuration for your dev and ops tenants. This setup enforces tenant isolation, uses environment variable mapping for credentials, and implements a deny-by-default policy for tool access.
AgentFabric Gateway Configuration
version: "1"
auth:
enabled: true
policy:
enabled: true
tenants:
- id: dev
description: "Development team"
allowedUpstreams: ["github-read"]
- id: ops
description: "Operations team"
allowedUpstreams: ["github-read", "k8s-prod"]
upstreams:
- id: github-read
url: "http://github-mcp:3000"
auth:
type: bearer
tokenEnv: GITHUB_READ_TOKEN
- id: k8s-prod
url: "https://k8s-mcp.internal.svc"
auth:
type: bearer
tokenEnv: K8S_PROD_TOKEN
security:
allowedUpstreamHosts: ["github-mcp", "k8s-mcp.internal.svc"]
allowPrivateNetworks: true
roles:
- id: reader
allow: ["github-read.get_*", "github-read.list_*"]
- id: admin
allow: ["k8s-prod.*", "github-read.*"]
assignments:
- tenant: dev
role: reader
- tenant: ops
role: admin
Next steps
- Set the
GITHUB_READ_TOKENandK8S_PROD_TOKENenvironment variables in your deployment environment. - Run
npx tsx skills/agentfabric-gateway/scripts/validate-config.ts gateway.yaml --productionto verify the security posture. - Deploy the YAML via your CI/CD pipeline or Helm chart.
Subscription · always the latest version
- Secure checkout via Stripe
- Cancel anytime
- Delivered live via MCP
About this skill
Managing multiple MCP servers across different environments often leads to fragmented security and leaky credentials. This skill configures AgentFabric as a governed gateway to federate upstream tools, enforce tenant isolation, and validate security policies before deployment.
What it does
- Federated tool mapping maps upstream servers to stable IDs to create clean, prefixed toolsets.
- Tenant isolation restricts specific users or groups to an explicit allow-list of upstream hosts.
- RBAC and CEL policy implements fine-grained access control using role patterns or Common Expression Language for complex logic.
- Credential management configures secure bearer token handshakes using environment variables instead of hardcoded secrets.
- Configuration validation runs automated checks to detect insecure settings like disabled auth or overly broad network access.
How it works
- Inventory upstreams by identifying URLs, required credentials, and defining lowercase IDs for tool prefixing.
- Define access policies using RBAC for tool-level permissions or CEL for attribute-based constraints like MFA requirements.
- Configure networking by restricting allowed upstream hosts and private network access based on the environment.
- Validate schema using the internal AgentFabric scripts to catch errors before the gateway goes live.
Frameworks & tools
Built for AgentFabric gateway deployments using YAML configuration, CEL (Common Expression Language) for logic, and TypeScript-based validation scripts.
Why this beats prompting it yourself
Writing gateway policies manually often results in "allow-all" bypasses or broken tool prefixes. This skill enforces deny-by-default logic and ensures your configuration passes production-grade validation scripts automatically.
Use cases
- Multi-tenant isolation to prevent one team from accessing another team's internal MCP tools.
- Production hardening by verifying all credentials use environment variables and auth is strictly enabled.
- Advanced tool gating requiring specific claims or arguments before a sensitive tool like a database migration is executed.
Known limitations
Does not support direct token forwarding from callers. Requires access to the AgentFabric repository root to run validation scripts locally.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 11 days ago
- Software
- tsx
Node.js
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.