OpenAgentID documentation
Source referencesPackage entries

openagent-mcp (Rust)

OpenAgent middleware for the Model Context Protocol — adds OAS identity, Arsenal capability tokens, and AEGIS authorization to any rmcp server in three lines.

Purpose

OpenAgent middleware for the Model Context Protocol — adds OAS identity, Arsenal capability tokens, and AEGIS authorization to any rmcp server in three lines.

Read the framework integrations guide.

Source contract

FieldValue
Packageopenagent-mcp
Version0.1.0
LanguageRust
Runtime floor1.78
Manifestopenagent-sdk/integrations/mcp/rust/Cargo.toml
DistributionSource package; registry publication not verified

Manifest SHA-256: 079021b882153a3cabef5101684aded2621376e9b3ab6d2b4d26cb1e845d364e. The recorded Git revision identifies the containing repository; the manifest and entry-point hashes identify this working-tree snapshot.

Integration

Use the package root above from an authorized source checkout. Preserve sibling dependencies and their version/feature requirements. Install the runtime and compile the selected package before using its generated artifacts. The task guide describes configuration, trust boundaries, and error behavior. Test/conformance and deployment packages are supporting tools, not interchangeable production identity providers.

Features and optional dependencies

{
  "default": [],
  "rmcp": [
    "dep:rmcp"
  ]
}

Exported entry points

The declarations below are extracted from the named entry files. This is a navigable source reference, not compiler-generated documentation of every transitive module. Feature gates and runtime requirements still apply. Private implementation files are not promoted to public APIs merely because they contain a public declaration.

openagent-sdk/integrations/mcp/rust/src/lib.rs

Source SHA-256: 11aff0aa5e83e1a0673b1faf7ed5fb90ca60cb9637f517d3e53e152186cbce35.

pub use rmcp_adapter::RmcpOpenAgent;
pub use errors::{McpAuthError, McpErrorCode};
pub use handler::{
    InMemoryToolHandler, RegisteredTool, ToolCall, ToolHandler, ToolResult, WithOpenAgent,
    WrappedHandler,
};
pub use middleware::{OpenAgentMiddleware, default_require_scopes, default_scope_format};
pub use skills::{
    InMemorySkillsStore, SkillsPolicy, SkillsPolicyDecision, SkillsRule, SkillsStore,
    DEFAULT_SKILL_TOOL_NAMES,
};
pub use types::{
    Agent, AuditMeta, Config, ErrorHook, Identity, IdentityVerifier, PostCallHook, PreCallHook,
    ScopeDeriver, VerifiedIdentity,
};

Module signatures and options

Browse the declared public source modules. This includes signatures, struct fields, enums, traits, method declarations, source comments and conditional attributes.

On this page