Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::MCPKeyInterface Struct Reference

MCP key management callbacks injected by the facade. More...

#include <entropic/core/identity_manager.h>

Public Attributes

void(* register_identity )(const std::string &name, void *user_data) = nullptr
 Register an empty key set for an identity.
 
void(* grant )(const std::string &name, const std::string &pattern, int level, void *user_data) = nullptr
 Grant a key pattern to an identity.
 
bool(* is_enforced )(const std::string &name, void *user_data) = nullptr
 Check if an identity has a key set registered.
 
void(* unregister_identity )(const std::string &name, void *user_data) = nullptr
 Remove an identity's key set.
 
void * user_data = nullptr
 Opaque pointer (MCPAuthorizationManager*)
 

Detailed Description

MCP key management callbacks injected by the facade.

Core.so cannot depend on mcp.so. The facade wires these to MCPAuthorizationManager at engine initialization.

Version
1.9.6

Definition at line 75 of file identity_manager.h.

Member Data Documentation

◆ grant

void(* entropic::MCPKeyInterface::grant) (const std::string &name, const std::string &pattern, int level, void *user_data) = nullptr

Grant a key pattern to an identity.

Definition at line 80 of file identity_manager.h.

◆ is_enforced

bool(* entropic::MCPKeyInterface::is_enforced) (const std::string &name, void *user_data) = nullptr

Check if an identity has a key set registered.

Definition at line 83 of file identity_manager.h.

◆ register_identity

void(* entropic::MCPKeyInterface::register_identity) (const std::string &name, void *user_data) = nullptr

Register an empty key set for an identity.

Definition at line 77 of file identity_manager.h.

◆ unregister_identity

void(* entropic::MCPKeyInterface::unregister_identity) (const std::string &name, void *user_data) = nullptr

Remove an identity's key set.

Definition at line 86 of file identity_manager.h.

◆ user_data

void* entropic::MCPKeyInterface::user_data = nullptr

Opaque pointer (MCPAuthorizationManager*)

Definition at line 88 of file identity_manager.h.


The documentation for this struct was generated from the following file: