IP Library Granted Patent US 12,549,574
Granted Patent B1
US 12,549,574 · App. 19/267,471 · Granted Feb 10, 2026

Insecure model context protocol server remediation for artificial intelligence agents

Inventors: Andrew Morgan (Dublin, IE); Rahul Parwani (Atlanta, GA)
Assignee: Airia LLC
H04L63/1416H04L63/1441H04L63/20
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,549,574
App. No.
19/267,471
Granted
Feb 10, 2026
Kind
B1
Abstract

A system detects changes in model context protocol (“MCP”) processes, and performs a remedial action. A server-sent events (“SSE”) bridge sends a request to an MCP server. A first resource profile is received from the MCP server. This is stored and compared against a second updated version of the resource profile. When a difference is detected, the SSE bridge determines whether to block a resource command from reaching the SSE bridge. The decision is based on comparing the difference to security rules, which can be defined as part of a management profile.

Claims (50)

1 . A method for securely executing artificial intelligence (“AI”) agents by dynamically reacting to changes in model context protocol (“MCP”) tools, comprising:

transmitting, by a server-sent event (“SSE”) bridge to an MCP server, a request to receive available resources at the MCP server;

receiving a first resource profile from the MCP server, wherein the first resource profile corresponds to a first version of the MCP server;

storing the first resource profile;

subsequent to receiving the first resource profile, receiving a second resource profile from the MCP server, the second resource profile corresponding to a second version of the MCP server;

detecting a difference between the first and second resource profiles; and

automatically performing a remedial action based on the difference, wherein the SSE bridge determines whether to transmit a first resource command based on the remedial action.

2 . The method of claim 1 , further comprising:

receiving the first resource command from an MCP client, wherein the MCP client generates MCP-compliant resource commands in association with an AI agent.

3 . The method of claim 2 , wherein the remedial action prevents the SSE bridge or MCP server from transmitting the first resource command to a first resource.

4 . The method of claim 2 , wherein the remedial action prevents the SSE bridge from transmitting the first resource command to the second version of the MCP server, and wherein the SSE bridge is permitted to transmit the first resource command to the first version of the MCP server.

5 . The method of claim 2 , further comprising instantiating a first nano sandbox for execution of the first version of the MCP server, wherein the SSE bridge forwards the first resource command to the nano sandbox.

6 . The method of claim 5 , further comprising:

after receiving administrative approval of the second version of the MCP server, instantiating a second nano sandbox for execution of the second version of the MCP server, wherein the SSE bridge forwards a second resource command to the second nano sandbox.

7 . The method of claim 2 , further comprising:

instantiating a nano sandbox;

limiting system resources provided within the nano sandbox based on the remedial action; and

executing the MCP server within the nano sandbox.

8 . The method of claim 2 , wherein the second resource profile identifies a new command signature, and wherein the remedial action causes the SSE bridge to block the first resource command in an instance in which the first resource command references the new command signature.

9 . The method of claim 2 , wherein the remedial action comprises blocking the first resource command in an instance in which the MCP server is remotely accessed by the SSE bridge through SSE streaming.

10 . The method of claim 2 , wherein the remedial action updates security rules, and wherein the method further comprises:

validating that the first resource command complies with security rules;

transmitting, by the SSE bridge, the first command to the MCP server;

receiving a result from the MCP server;

validating that the result complies with the security rules; and

causing the result to be returned to the MCP client.

11 . The method of claim 1 , wherein the difference comprises detecting a new tool signature for the MCP server, and wherein the remedial action comprises blocking the SSE bridge from using the MCP server.

12 . The method of claim 1 , wherein the remedial action comprises sending an alert to an administrative user.

13 . The method of claim 1 , wherein the SSE bridge transmits the first resource command to the second version of the MCP server in an instance in which the difference is identified in a whitelist of trusted resources or updates.

14 . The method of claim 1 , wherein detecting the difference comprises evaluating the second resource profile based on security rules for data loss prevention.

15 . The method of claim 1 , wherein the remedial action is triggered based on comparing the difference against a blacklist of disallowed changes.

16 . The method of claim 1 , wherein the remedial action is triggered based on comparing the difference against a whitelist of approved changes.

17 . The method of claim 1 , wherein the second resource profile is received based on subscribing to change events of the MCP server.

18 . The method of claim 1 , wherein the remedial action comprises terminating execution of the MCP server and deleting a nano sandbox in which the MCP server executed.

19 . A non-transitory, computer-readable medium containing instructions for securely executing artificial intelligence (“AI”) agents by dynamically reacting to changes in model context protocol (“MCP”) tools, wherein the instructions are executed by at least one processor to perform stages comprising:

transmitting, by a server-sent event (“SSE”) bridge to an MCP server, a request to receive available resources at the MCP server;

receiving a first resource profile from the MCP server, wherein the first resource profile corresponds to a first version of the MCP server;

storing the first resource profile;

subsequent to receiving the first resource profile, receiving a second resource profile from the MCP server, the second resource profile corresponding to a second version of the MCP server;

detecting a difference between the first and second resource profiles; and

automatically performing a remedial action based on the difference, wherein the SSE bridge determines whether to transmit a first resource command based on the remedial action.

20 . A system for securely executing artificial intelligence (“AI”) agents by dynamically reacting to changes in model context protocol (“MCP”) tools, the system comprising:

at least one physical non-transitory, computer-readable medium comprising instructions; and

at least one processor that executes the instructions to perform stages comprising:

transmitting, by a server-sent event (“SSE”) bridge to an MCP server, a request to receive available resources at the MCP server;

receiving a first resource profile from the MCP server, wherein the first resource profile corresponds to a first version of the MCP server;

storing the first resource profile;

subsequent to receiving the first resource profile, receiving a second resource profile from the MCP server, the second resource profile corresponding to a second version of the MCP server;

detecting a difference between the first and second resource profiles; and

automatically performing a remedial action based on the difference, wherein the SSE bridge determines whether to transmit a first resource command based on the remedial action.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 14, 2025
From: MORGAN, ANDREW; PARWANI, RAHUL
To: AIRIA LLC
Reel/Frame 071689/0466 →
Continuity (1)
Provisional Application 63815410 · May 30, 2025
References Cited (18)
US 10192170B2 · Bates et al. · 2019 [cited by applicant]
US 10389592B2 · Lui et al. · 2019 [cited by applicant]
US 11240128B2 · Chitalia et al. · 2022 [cited by applicant]
US 11323327B1 · Chitalia et al. · 2022 [cited by applicant]
US 11977471B2 · Casati et al. · 2024 [cited by applicant]
US 12021693B1 · Chitalia et al. · 2024 [cited by applicant]
US 12141726B2 · Cook · 2024 [cited by applicant]
US 12242521B2 · Zarokian et al. · 2025 [cited by applicant]
US 20190294779A1 · Suneja et al. · 2019 [cited by applicant]
US 20220027178A1 · Caldarale et al. · 2022 [cited by applicant]
US 20250139446A1 · Li et al. · 2025 [cited by applicant]
US 20250156828A1 · Sliwka et al. · 2025 [cited by applicant]
US 20250292250A1 · Makeig · 2025 [cited by applicant]
CN 120029517A · 2025 [cited by applicant]
CN 120547240A · 2025 [cited by examiner]
CN 120560800A · 2025 [cited by examiner]
“Ivo Brett, Simplified and Secure MCP Gateways for Enterprise AI Integration, 2025, CISSP, B .Eng, MSc Solution Architect/Educator independent.academia.edu/ivobrett, pp. 1-4” (Year: 2025). [cited by examiner]
Wen et al; From stdio to HTTP SSE: Host Your MCP Server with APISIX API Gateway; Apr. 21, 2025; The Apache Software Foundation; pp. 1-10. (Year: 2025). [cited by applicant]
Cited By (2)
US 12,683,991 US 12,706,953