GuardEntry MCP Server
OfficialClick on "Deploy 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., "@GuardEntry MCP Server Evaluate: update user role to admin"
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.
GuardEntry MCP Server
Model Context Protocol (MCP) server for GuardEntry — exposes the Agent Policy Router (APR) as MCP tools so any MCP-compatible AI agent can gate its actions through your compliance policy before executing them.
Transports
Transport | Entry point | Use with |
Streamable HTTP |
| CrewAI, LangChain, any HTTP MCP client |
stdio |
| Claude Desktop, Cursor, VS Code Cline |
Related MCP server: ACP Governance MCP Server
Quick start
git clone https://github.com/guardentryai/mcp-server.git
cd mcp-server
npm installCreate a .env file (copy from .env.example):
GUARDENTRY_API_KEY=ge_k1_your_key_here
# GUARDENTRY_BASE_URL=https://app.guardentry.ai # default
# MCP_PORT=3001 # default (HTTP mode only)
# MCP_TOOLS=guardentry_evaluate_action # optional tool allowlistGet an API key at app.guardentry.ai → Settings → API Keys.
HTTP mode (CrewAI, LangChain, etc.)
npm run start:http
# GuardEntry APR MCP server listening on http://localhost:3001/mcp
# Health: http://localhost:3001/healthstdio mode (Claude Desktop, Cursor)
npm startClaude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"guardentry": {
"command": "npx",
"args": ["--yes", "guardentry-mcp"],
"env": { "GUARDENTRY_API_KEY": "ge_k1_your_key_here" }
}
}
}Available tools
Tool | Description |
| Evaluate a proposed action — returns |
| Natural language interface to GuardEntry |
| Query the risk register |
| Get framework readiness (SOC 2, ISO 27001, NIST CSF…) |
| Run a GuardEntry agent by ID or type |
| Call a single agent skill directly |
| List available skills |
| Get the effective policy for an agent |
| Promote an inferred policy to confirmed |
| Update policy rules (blocked actions, allowed tools, approval patterns) |
| List actions awaiting dashboard approval |
| Check the status of a specific action |
Limiting tools (recommended for CrewAI + Claude)
Anthropic's API has a ~16-parameter union-type limit across all active tools. Use MCP_TOOLS to expose only what you need:
MCP_TOOLS=guardentry_evaluate_action npm run start:httpCrewAI integration
from crewai import Agent, Task, Crew, LLM
from crewai.mcp.config import MCPServerHTTP
import os
mcp = MCPServerHTTP(
url="http://localhost:3001/mcp",
headers={"Authorization": f"Bearer {os.environ['GUARDENTRY_API_KEY']}"},
)
agent = Agent(
role="Compliance Analyst",
goal="Gate every action through GuardEntry APR before executing",
backstory="You check compliance policy before any sensitive operation.",
mcps=[mcp],
llm=LLM(model="anthropic/claude-haiku-4-5-20251001",
api_key=os.environ["ANTHROPIC_API_KEY"]),
)Run the smoke test:
GUARDENTRY_API_KEY=ge_k1_... ANTHROPIC_API_KEY=sk-ant-... python test-crewai.pyEnvironment variables
Variable | Default | Description |
| (required) | API key from GuardEntry dashboard |
|
| Override for local/staging |
|
| HTTP server port |
| (all tools) | Comma-separated tool allowlist |
License
MIT — see LICENSE
Links
Available Tools
12 toolsguardentry_action_statusB
Check the status of a specific API action by ID.
Inputs: action_id (required).
guardentry_chatA
Send a natural language message to GuardEntry. Can query compliance data, create risks/controls/evidence, generate reports. Write actions are queued for dashboard approval.
Inputs: message (required), conversation_id.
guardentry_compliance_statusA
Get compliance readiness status for a specific framework or all frameworks.
Inputs: framework.
guardentry_confirm_policyA
Confirm an inferred agent policy, making it the active confirmed policy. Use after reviewing an auto-generated policy to promote it from 'inferred' to 'confirmed'.
Inputs: policy_id (required).
guardentry_evaluate_actionA
Evaluate whether a proposed agent action is allowed, blocked, or requires approval based on the agent's policy. Returns a decision with reasoning. Use before any agent executes a sensitive task, tool call, or prompt.
Inputs: subject_type (required), subject_content (required), mode, policy, +5 more.
guardentry_get_agent_policyA
Retrieve the effective policy for an agent. If no explicit policy exists, returns the inferred default policy that was auto-generated for this agent.
Inputs: status, agent_id, agent_type.
guardentry_invoke_agentA
Invoke a GuardEntry agent by ID or type. The agent executes its configured skills (vulnerability scanning, compliance checks, risk analysis, etc.) and returns results. Write actions are queued for dashboard approval.
Inputs: prompt, agent_id, agent_type.
guardentry_invoke_skillA
Invoke a single GuardEntry skill directly (e.g., compliance_check, risk_analysis, scan_vulnerabilities). Read skills execute immediately; write skills are queued for approval.
Inputs: skill_id (required), input.
guardentry_list_pendingA
List pending API actions awaiting dashboard approval.
Inputs: status.
guardentry_list_risksB
List the organization's risk register. Returns risks with severity scores, status, and descriptions.
Inputs: status.
guardentry_list_skillsA
List all available GuardEntry agent skills with descriptions, grouped by category (research, analysis, write, output).
Inputs: no named parameters.
guardentry_update_policyA
Update an agent policy's rules — blocked actions, allowed tools, require-approval patterns, risk tolerance, and mode. A version snapshot is saved before each update.
Inputs: policy_id (required), default_mode, blocked_tools, change_reason, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools target distinct resources and actions, such as listing risks, invoking agents/skills, and managing policies. The main potential confusion is between guardentry_invoke_agent and guardentry_invoke_skill, but their descriptions clarify that one invokes an entire agent while the other invokes a single skill. guardentry_chat is a broad catch-all that overlaps with some read operations, but its natural language interface makes it distinct enough.
All tool names share the guardentry_ prefix and use snake_case, which is good. However, the naming pattern is inconsistent: several tools follow a clear verb_noun structure (list_risks, invoke_agent, evaluate_action, get_agent_policy), while others lack a verb or use noun-only names (chat, compliance_status, action_status). This mixed convention makes the set slightly less predictable.
With 12 tools, the set is well-scoped for a governance/compliance platform covering risks, compliance, agents, skills, and policies. Each tool addresses a distinct concern, and the count stays within the ideal 3-15 range without feeling bloated or sparse.
The toolset covers core read operations and several actions, such as listing risks, invoking agents/skills, and updating policies. However, there are notable gaps: no dedicated create/update/delete tools for risks or controls, no tool to list agents, and no way to approve or reject pending actions directly. guardentry_chat can handle some writes indirectly, but this creates a dependency on a general-purpose tool.
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP gateway: one connection for your AI apps, with tool policies, PII redaction and audit logs.
MCP enforcement layer that intercepts AI agent actions and blocks rule violations before execution.
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceWraps your existing MCP servers and checks each tool call against policy and live state before it runs. Allow, block, or require a refresh, with a reason the agent can act on.5-
- AlicenseNot gradedqualityCmaintenanceGoverns AI agent tool calls by checking them against Agentic Control Plane policies, returning allow/deny/ask decisions with audit logging and identity attribution for MCP clients like Claude and ChatGPT. Exposes acp_check and acp_status tools for policy enforcement and connection verification.MIT
- AlicenseNot gradedqualityCmaintenanceProvides a policy-controlled MCP gateway that lets agents invoke tools with explicit policies, bounded execution, scoped visibility, and decision receipts.MIT
- AlicenseNot gradedqualityBmaintenanceProvides a single MCP endpoint that dynamically discovers, routes, policy-checks, and executes hundreds of MCP tools from any agent, with optional LLM-based routing.1Apache 2.0