Skip to main content
Glama
GuardEntry MCP Server

GuardEntry MCP Server

Official
by guardentryai

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

npm run start:http

CrewAI, LangChain, any HTTP MCP client

stdio

npm start

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 install

Create 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 allowlist

Get 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/health

stdio mode (Claude Desktop, Cursor)

npm start

Claude 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

guardentry_evaluate_action

Evaluate a proposed action — returns allow, block, or require_approval with reasoning

guardentry_chat

Natural language interface to GuardEntry

guardentry_list_risks

Query the risk register

guardentry_compliance_status

Get framework readiness (SOC 2, ISO 27001, NIST CSF…)

guardentry_invoke_agent

Run a GuardEntry agent by ID or type

guardentry_invoke_skill

Call a single agent skill directly

guardentry_list_skills

List available skills

guardentry_get_agent_policy

Get the effective policy for an agent

guardentry_confirm_policy

Promote an inferred policy to confirmed

guardentry_update_policy

Update policy rules (blocked actions, allowed tools, approval patterns)

guardentry_list_pending

List actions awaiting dashboard approval

guardentry_action_status

Check the status of a specific action

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:http

CrewAI 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.py

Environment variables

Variable

Default

Description

GUARDENTRY_API_KEY

(required)

API key from GuardEntry dashboard

GUARDENTRY_BASE_URL

https://app.guardentry.ai

Override for local/staging

MCP_PORT

3001

HTTP server port

MCP_TOOLS

(all tools)

Comma-separated tool allowlist

License

MIT — see LICENSE

Available Tools

12 tools
guardentry_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

    A3.7/5.0

    Scored across 12 tools

    Disambiguation4/5

    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.

    Naming Consistency3/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Wraps 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
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Governs 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
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides a policy-controlled MCP gateway that lets agents invoke tools with explicit policies, bounded execution, scoped visibility, and decision receipts.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides a single MCP endpoint that dynamically discovers, routes, policy-checks, and executes hundreds of MCP tools from any agent, with optional LLM-based routing.
      1
      Apache 2.0