Serveur MCP AgentAction
Commit 13 nov. 2026Fournit une infrastructure de confiance permettant aux agents IA autonomes d'évaluer des décisions, d'appliquer des politiques et d'autoriser des actions avec des preuves vérifiables.
Aussi connu sous dinpd/AgentAction
- Étoiles
- 7
- Outils
- —
- Téléchargements, 30 jours
- —
- Dernière version
- —
- Dernier commit
- 13 nov. 2026
- Licence
- Apache-2.0
Qu'est-ce que AgentAction MCP ?
AgentAction est un serveur MCP. Fournit une infrastructure de confiance permettant aux agents IA autonomes d'évaluer des décisions, d'appliquer des politiques et d'autoriser des actions avec des preuves vérifiables.
Résumé généré à partir du README du projet
À propos du MCP server AgentAction
AgentAction permet de sécuriser les agents IA autonomes au sein des environnements d'entreprise en fournissant une infrastructure de confiance pour l'évaluation des décisions et l'application des politiques. Il agit comme une couche intermédiaire entre les agents et les systèmes pour autoriser les actions et conserver des preuves vérifiables durant tout le cycle de vie de l'agent. Les développeurs peuvent l'utiliser pour prévenir des problèmes tels que les boucles d'outils infinies, les paiements en double ou les mouvements de données non autorisés, en implémentant des contrôles d'exécution qui sont indépendants de la mémoire du modèle.
Les utilisateurs peuvent le déployer sous la forme d'une garde locale en TypeScript via le package @dinpd/ai-agent-guard pour des contrôles de flux et d'outils en cours de processus, ou comme un sidecar Node HTTP en mode observation pour inspecter les workflows MCP sans modifier le trafic existant. Le système prend en charge divers modèles d'intégration, notamment un observateur MCP passif, une console d'opérateur hébergée et protégée par Cloudflare Access, ainsi que des plugins spécialisés pour les agents Hermes. Il nécessite la configuration de politiques de tenant, de source et d'outils pour gérer l'autorité JIT (Just-In-Time) à portée limitée et l'exécution supervisée durable.
Ce que vous pouvez faire avec
- 1Prévention des transactions financières en doubleUn agent IA peut être restreint pour éviter d'exécuter plusieurs fois le même remboursement ou paiement grâce à des contrôles d'idempotence avec gestion d'état.
- 2Surveillance du comportement des workflows MCPLes développeurs peuvent exécuter un observateur passif pour voir quels appels d'outils seraient autorisés ou refusés selon des politiques spécifiques sans interrompre le trafic réel.
- 3Application d'approbations humaines (human-in-the-loop)Vous pouvez configurer le système pour exiger une approbation humaine sur un périmètre précis pour les actions sensibles avant leur exécution.
- 4Sécurisation des workflows DevOps et SRELes équipes peuvent utiliser cette infrastructure pour gérer les approbations de déploiement, la surveillance canary et les contrôles de rollback pour les environnements de production.
Extrait du README du projet. Chaque cas d'utilisation est vérifié par rapport à une citation du document.
Vérifications automatisées
Exécuté le 15 nov. 2026Rapport complet →Pas encore vérifié. Un serveur nécessite un score de 80, aucune faille sérieuse et suffisamment de données pour que nous puissions effectuer les vérifications. Fonctionnement des vérifications · Ce qu'il faut corriger pour gagner des points
- Dépôt source lié et accessibledinpd/agentaction is public and reachablegithub.com/dinpd/agentaction ↗Réussi
- Le nom du package correspond au dépôt sourceNon vérifié
- Provenance du build (attestation Sigstore)Non vérifié
- Licence open source (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Réussi
- Commit ou version publiée au cours de l'année écouléeLast commit or release 2026-11-13github.com/dinpd/agentaction ↗Réussi
- OpenSSF ScorecardNon vérifié
- Nom du package non proche d'un package populaireNon vérifié
- Aucun avis critique dans le package ou ses dépendancesNon vérifié
- Aucune instruction cachée destinée au modèle0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersRéussi
- Les outils destructifs sont étiquetésNon vérifié
- Le point de terminaison distant répond à la poignée de main MCPNon vérifié
README
Voir sur GitHubAgentAction
Trust infrastructure for autonomous AI agents.
AgentAction is the trust layer between autonomous agents and enterprise systems: it evaluates decisions, enforces policy, authorizes actions, and preserves verifiable evidence across the agent lifecycle. The canonical project site is AgentAction.dev.
AgentAction evaluates decisions, enforces policy, authorizes actions, and preserves verifiable evidence from intent through execution and continuous evaluation.
Intent -> decision assurance -> policy enforcement -> action authorization
-> execution -> evidence -> continuous evaluation
The action gate is the current enforcement wedge inside that broader trust
lifecycle. Versioned agentpass.* protocol identifiers and the legacy
agentpass and agentid commands remain supported for compatibility. See
Project Positioning for the canonical scope and messaging
boundaries.
Try AgentAction
| Experience | What it demonstrates |
|---|---|
| MCP Readiness Check | Anonymous server inspection, actionable guidance and exportable profiles; opt-in public evidence reused in discovery. |
| Shared authority across providers | Synthetic refund and case closure through separately deployed providers using one authority, distinct signing keys and durable state; challenge eight trust boundaries. |
| Gateway and refund control | Approval, scoped JIT authority, idempotency, audit, and provider-tool authorization in a support workflow. |
| Workato reference integration | A private recipe requests an exact-scope human approval, waits durably, and returns a synthetic refund's signed outcome and frozen intent evidence. |
| n8n reference integration | Native workflows bring automatic or human-reviewed action controls and signed outcome evidence to synthetic refunds. |
| DevOps and SRE control | Production-context checks, deployment approval, JIT grants, dry-run dispatch, canary monitoring, and rollback control. |
| Policy builder | Browser-based manifest authoring with generated YAML, starter OPA policy, and example gateway requests. |
| Observability console demo | Public, read-only Fleet Overview, finalized Jobs explorer, and deterministic evidence timeline backed exclusively by synthetic fixtures. |
| Operator console | Cloudflare Access-protected workspace switching, agent integrations, eval routing, Activity, intent-relative outcomes, constraints, confidence, and evidence. |
In My agents, find MCP servers by capability and review automatic public-information pre-checks before sharing provider credentials. Connect a supported account and create supervised agents with run history. OAuth discovery is available; OAuth login is not yet supported. See pre-check findings and limitations.
Prefer to start without blocking an existing workflow? Run the passive MCP observer quick start below, inspect the counterfactual policy decisions, and enable enforcement only after the boundary matches your intent. Use the public observability demo to inspect the interface without signing in. The separate operator console remains protected by Cloudflare Access. A new identity can create its first workspace; workspace owners can create additional ones and invite viewers or operators by email. Protected invitation links redeem automatically for the exact signed-in email, and every selected workspace is re-authorized server-side before its data is read.
Quick Start
For catalog changes, observed failures and interrupted actions, see MCP workflow diagnostics: compare checker exports locally or in CI, generate a bounded observation report, and run the synthetic recovery walkthrough. These are separate checks; metadata inspection does not prove runtime behavior or a successful business outcome.
Hermes Agent: Native Shadow Observer
Install the repository plugin without adding a proxy or changing Hermes tool execution:
hermes plugins install dinpd/AgentAction/integrations/hermes-agentaction --no-enable
hermes plugins enable agentaction
Configure the hosted endpoint, tenant, source, agent, and tool policies once;
the plugin then exports privacy-safe lifecycle metadata asynchronously. It is
fail open. Hosted setup can explicitly enable bounded agent-declared intent
capture; that adds per-turn model context and two self-attestation tools, and
the console labels the result as untrusted agent provenance. Add both an
explicit intent_id and intent_digest when a run already has an AgentAction
contract; otherwise events are correctly labeled unbound rather than having
intent inferred from prompts or model output.
See the Hermes onboarding guide for the complete flow. The hosted operator console creates a framework-neutral workspace, then provisions a selected Hermes or generic AgentAction source, displays its token once, shows integration-specific connection steps, and verifies the first event. Each Hermes source still uses a separate write-only token whose hash is stored in that tenant's manifest. Workspace owners can then use Evals to create an immutable eval version and route new Jobs by source, agent, or both without changing the Hermes connection.
Test MCP behavior
Enter your server in the MCP checker, review the findings, then Test a tool. Choose staging inputs and Run test in your signed-in workspace; owners and operators can use approved connections without a local install. Save the test to rerun after a fix. Local execution, synthetic examples and file operations are available under More options. The local tester needs one Node 22+ command and no npm install. See setup, saved plans, CI and evidence limits.
Recommended: Observe An MCP Workflow
Run the self-contained observer from a fresh clone:
git clone https://github.com/dinpd/AgentAction.git
cd AgentAction/mcp-gateway-adapter
npm ci
npm run demo:observe
The demo puts the existing reference adapter into passive mode:
MCP client -> customer-run observer adapter -> downstream MCP server
|-> local policy + process-local shadow state
`-> privacy-safe JSON observation events
Every MCP request and response remains unchanged. The observer records which calls would be allowed, denied, or challenged under enforcement, including stateful findings such as duplicate side effects and tool loops. It does not call hosted authorization, consume approval or JIT authority, filter tool discovery, or attach provider receipts.
The command above is a self-contained onboarding test. To place the adapter in
front of representative traffic, set "mode": "observe", configure its
downstream.url and tool mappings, then start it with:
npx tsx src/index.ts /path/to/observe-config.json
The current deployment is a customer-run Node HTTP sidecar with process-local shadow state and JSON events written to stdout. Review the observe-mode configuration, transition to enforcement, and limitations before using it with a real workflow. The reference adapter is an onboarding and integration surface, not yet a production-complete MCP gateway.
Alternative: Embed The Guard
For an application that owns the tool execution path, install the local TypeScript guard:
npm install @dinpd/ai-agent-guard
Wrap a consequential tool call:
import { createToolGate } from "@dinpd/ai-agent-guard";
const gate = createToolGate({ policy });
const execution = await gate.run(
{
agentId: "support-agent",
jobId: "case-1042",
tool: "stripe.refund",
action: "pay",
resource: "payment/pi_123",
amountUsd: 49,
idempotencyKey: "refund-case-1042-pi_123"
},
() => stripe.refunds.create({ payment_intent: "pi_123", amount: 4900 })
);
if (!execution.executed) {
return execution.decision;
}
Run the embedded-guard repository demos:
git clone https://github.com/dinpd/AgentAction.git
cd AgentAction/packages/guard
npm install
npm run demo:quickstart
npm run demo:mcp
npm run demo:circuit
npm run demo:gate
npm run demo:pii
npm test
The guard package is published as
@dinpd/ai-agent-guard.
See packages/guard/ for starter policies and more examples.
Durable supervised execution
Hosted supervised agents use a configurable execution supervisor. Workspace owners set call, approval-lifetime and timeout ceilings; agent and trial limits can narrow them. Exact approvals survive restart, dispatch claims persist before provider calls, and uncertain effects stop for provider review. Inspect action identities and recovery evidence in run history. See the supervisor configuration and guarantees.
How It Works
AgentAction connects six claims without collapsing them together: the declared intent, assessment of the decision, policy authorization, provider execution, independent evidence, and continuous outcome evaluation. Authorization is not proof of execution, and execution is not proof that the intended outcome was achieved within constraints.
Action Authorization
Agent proposes tool call -> AgentAction checks policy + state -> allow / deny / challenge
RBAC can say which identity may access a tool. OAuth can prove access to a server. MCP tool schemas describe inputs. Agent frameworks can decide which tools are visible to a model. AgentAction answers the runtime question:
Should this specific tool call, with this payload, in this job state, execute right now?
The gate runs outside model context and agent-editable memory. It keeps the state needed to stop failures that static access control and prompt rules miss:
- Duplicate refunds, payments, emails, exports, deployments, or writes.
- Runaway loops and repeated tool calls.
- Token, cost, runtime, and tool-call budget spikes.
- PII or sensitive data moving to the wrong destination.
- Risky actions without action-scoped approval.
- Replays or payload changes after authority was granted.
Approvals bind to the proposed tool, resource, payload, amount, destination, job, and expiry. Side-effectful actions bind an idempotency key or call fingerprint to the recorded provider result. The gate therefore remembers what actually executed rather than relying on what the agent thinks happened.
AgentAction separates three concepts that agent systems often blur:
Skill = workflow package
Tool = executable operation
Flow = data movement boundary
The local guard applies tool and flow checks in-process. Larger deployments use the same model through manifests, approvals, hosted gateways, signed receipts, provider-side verification, and durable evidence.

At enterprise scale, every consequential action crosses an enterprise-controlled gateway before reaching internal, SaaS, cloud, or provider-hosted tools. AgentAction acts as the decision service; the gateway remains the policy enforcement point, and providers can independently verify scoped authorization receipts.
AgentAction also fits into broader task-scoped security architectures such as Cloudflare's Agent Access Model (AAM). It implements the action-control and evidence layers while integrating with external identity brokers and network enforcement rather than replacing them.
Choose Your Path
| You are building | Start here |
|---|---|
| An existing MCP workflow or gateway | Start with the recommended passive observer quick start, then use the mcp-gateway-adapter/ integration guide |
| An agent or application | packages/guard/ and the local examples |
| An enterprise AI platform | Enterprise governance and authorization in practice |
| A SaaS, API, or MCP provider | Provider MCP authorization, Express middleware, or FastAPI helpers |
| An MCP server with unclear capabilities or limits | Capability inventory and workflow coverage: inspect the declared surface and find blockers in an explicitly mapped workflow |
| A security or risk program | Enterprise topology, receipt profiles, and standards alignment |
| An observability or assurance implementation | Intent assurance, the operator console, and community proposals |
For the enterprise CLI and manifest workflow:
git clone https://github.com/dinpd/AgentAction.git
cd AgentAction
python -m pip install -e ".[dev]"
agentaction validate examples/provider-mcp-support-agent.yaml
agentaction risk-score examples/provider-mcp-support-agent.yaml
agentaction generate-policy examples/provider-mcp-support-agent.yaml --target opa
The Python distribution is agentaction-dev. agentaction is the primary CLI.
agentpass and agentid remain compatibility aliases, and versioned schema,
environment-variable, and receipt identifiers retain their existing names.
Platform Control Surfaces
AgentAction exposes three connected control surfaces:
- Agent Evaluation: define versioned intent profiles, exercise synthetic scenarios, and compare profile-scoped assurance signals before wider deployment.
- Decision Assurance: assess the declared basis for a consequential choice, including policy factors, alternatives, assumptions, uncertainty, and supporting evidence—without inspecting hidden chain-of-thought.
- Action Authorization: gate the exact action against policy and prior state, then issue action-bound authority that providers can independently verify.
Provider verification, execution receipts, verified observations, immutable assessments, and outcome evaluation connect the three surfaces across the trust lifecycle. Framework wrappers, gateway adapters, and conformance suites are delivery and interoperability mechanisms, not separate product surfaces.
Current Capabilities
- Versioned intent profiles, synthetic scenarios, immutable assessments, and profile-scoped quality rollups provide the Agent Evaluation foundation.
- Normalized decision evidence captures policy factors, alternatives, assumptions, uncertainty, and supporting evidence without recording private chain-of-thought.
- Local TypeScript action authorization with circuit breakers, budgets, approvals, idempotency, PII/data-flow controls, and decision audit events.
- Passive observe and fail-closed enforce modes for MCP
tools/callthrough the reference MCP gateway adapter. - Cloudflare gateway runtime with tenant manifests, OIDC checks, approval queues, scoped JIT grants, audit timelines, and provider-result replay.
- Provider authorization receipts signed as JWS with a public JWKS endpoint.
- Express and FastAPI provider-side verification middleware.
- Versioned intent contracts, execution evidence, verified outcome observations, immutable snapshots, final evaluations, and quality rollups.
- Public synthetic-data observability demo plus an Access-protected operator console for fleet-level outcome, constraint, confidence, execution-discipline, and data-quality review.
- DevOps/SRE and OpenClaw solution packs for concrete integration paths.
See Current implementation status for planned and adopter-facing work.
Research
Jev vs LLMs for authorization decisions: synthetic approval workflows, live API measurements, raw evidence and reproducible evaluations. Experimental results; no production authorization changes.
Architecture And Documentation
- Enterprise deployment and governance
- Enterprise-managed MCP authorization sequence
- Action-gate roadmap
- Intent assurance
- Decision-basis evidence
- Provider contracts and authorization
- Agentic identity standards crosswalk
- Interoperability positioning
- Explainer video
Community Specifications And Roadmap
AgentAction publishes experimental, vendor-neutral drafts for Agent Action Boundary Evidence and Agent Outcome Observability and Assurance Metrics. They are discussion documents, not adopted standards; AgentAction is a non-normative reference implementation.
Implementation work and identified gaps are tracked in the public Intent Observability & Assurance project. The Action Gate Roadmap tracks product layers and adopter-facing demonstrations.
Open Source Governance
License
Apache-2.0
Questions sur AgentAction MCP
Que permet AgentAction aux agents autonomes ?
Il agit comme une couche de confiance qui évalue les décisions, applique les politiques, autorise les actions et conserve des preuves vérifiables tout au long du cycle de vie de l'agent.
AgentAction prend-il en charge OAuth ?
La découverte OAuth est disponible, mais la connexion OAuth n'est pas encore prise en charge.
