MCP Service
Added in version 3.0.0
The Model Context Protocol (MCP) Service enables AI agents and applications to securely access, manage, and interact with personal data stored in ESS. The service uses ESS Access Tokens directly for authentication, providing a simple integration path for enterprise AI applications.
MCP Resource Service
The MCP Resource Service provides MCP tools, such as requestAccess and getResource, that enable AI agents and applications to interact with personal data in ESS, given the appropriate access by the user.
Clients authenticate using an ESS Access Token obtained via the Platform Management service.
Security Model
The MCP Service uses a layered security approach:
ESS Access Tokens: Clients authenticate using ESS Access Tokens obtained through the standard Token Exchange flow
Access Grants: Access to resources is mediated through Access Grants, which are W3C Verifiable Credentials
Delegator Scoping: Operations are scoped to the authenticated end user (delegator), preventing agents from exceeding the current user's access rights
Use Cases
AI Agent Resource Access
An AI agent needs to review a user's financial data in order to provide them with a loan estimate.
Flow:
Agent authenticates with the external IdP and exchanges for an ESS Access Token
Agent uses the
requestAccesstool to create an Access Request for the user's bank statementsUser reviews and approves the Access Request
Agent uses
checkAccessRequestStatusto detect approvalAgent uses
hasMatchingAccessGrantto verify the grantAgent uses
getResourceto retrieve the bank statements
Automated Data Processing
An automated service processes user data on a schedule:
Service authenticates and obtains an ESS Access Token
Service checks for existing access grants using
hasMatchingAccessGrantIf grant exists, service retrieves and processes the data
Service logs all operations for audit purposes
Getting Started
To enable the MCP Service in your ESS deployment:
Configure the Platform Management service: Set up trusted Identity Providers
Configure the MCP Resource Service: Connect to the Access Grant service and Storage service
Obtain an ESS Access Token: Authenticate with your IdP and exchange the token
Test the Integration: Use the MCP Resource Service tools to verify access
For detailed configuration instructions, see:
Additional Information
Model Context Protocol: MCP Specification
Access Grant Service: ESS Access Grant Service
Token Exchange: Platform Management service
Integration Guide: Integrating an AI Agent with ESS using MCP
Last updated