arrow
Return

MCP-Secure: A Runtime Access Control Layer for Privilege-Aware LLM Agent Tooling

delete2026-02-12
delete0
delete
OA
AI
G
Gamini Singh
V
Vijay K. Madisetti
DOI:10.1109/OJCS.2026.3664314delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Tool-enabled language-model agents introduce new security risks because their behavior evolves over multi-step workflows, yet existing defenses primarily rely on static allowlists or infrastructure isolation. This article presents MCP-Secure, a lightweight, host-side enforcement layer for the Model Context Protocol (MCP) that applies scoped access, read-only defaults, and approval-gated privilege elevation at runtime. MCP-Secure tracks permissions through a session-level state machine and mediates every tool invocation without modifying agents or MCP servers. We evaluate the framework across 1,080 executions spanning multiple models, tasks, and adversarial simulations. Results show that scoped access alone blocks most unsafe behaviors, read-only enforcement reliably neutralizes all mutating attack vectors, and approval-gated elevation maintains strong safety while enabling controlled write operations. Across configurations, the wrapper also shapes agent planning, reducing unsafe attempts as policies tighten. These findings demonstrate that MCP-Secure provides a practical, reproducible mechanism for enforcing least-privilege constraints in tool-enabled LLM systems, offering strong adversarial resistance with interpretable safety– utility trade-offs.
Keywords:
Large language models
AI safety
MCP

Journal

I
IEEE Open Journal of the Computer Society
IF:
8.2
Papers:
427
Citations:
810

Organization

G
georgia institute of technology
Scholars:
2.2K
Papers: 1.1K
Citations: 0
Cited Papers

Cited Papers

A Survey on Large Language Model (LLM) Security and Privacy: The Good, The Bad, and The Ugly
err2024-06-01
err122
errOAAI
errYao, Yifan; Duan, Jinhao; Xu, Kaidi; Cai, Yuanfang; Sun, Zhibo; Zhang, Yue
errShare
errSave
LLM-Based Agents for Tool Learning: A Survey
err2025-06-26
err0
errOAAI
errWeikai Xu; Chengrui Huang; Shen Gao; Shuo Shang
errShare
errSave
MCP Guardian: A Security-First Layer for Safeguarding MCP-Based AI System
err2025-05-20
err0
PREAI
errKumar,Sonu; Girdhar,Anubhav; Patil,Ritesh; Tripathi,Divyansh; Veduruvada,Nishanth; Anugu,Madhukar; Roy,Sneha; Talatam,Venkata
errShare
errSave
no more