Research

Paper

AI LLM March 23, 2026

Auditing MCP Servers for Over-Privileged Tool Capabilities

Authors

Charoes Huang, Xin Huang, Amin Milani Fard

Abstract

The Model Context Protocol (MCP) has emerged as a standard for connecting Large Language Models (LLMs) to external tools and data. However, MCP servers often expose privileged capabilities, such as file system access, network requests, and command execution that can be exploited if not properly secured. We present mcp-sec-audit, an extensible security assessment toolkit designed specifically for MCP servers. It implements static pattern matching for Python-based MCP servers and dynamic sandboxed fuzzing and monitoring via Docker and eBPF. The tool detects risky capabilities through configurable rule-based analysis and provides mitigation recommendations.

Metadata

arXiv ID: 2603.21641
Provider: ARXIV
Primary Category: cs.CR
Published: 2026-03-23
Fetched: 2026-03-24 06:02

Related papers

Raw Data (Debug)
{
  "raw_xml": "<entry>\n    <id>http://arxiv.org/abs/2603.21641v1</id>\n    <title>Auditing MCP Servers for Over-Privileged Tool Capabilities</title>\n    <updated>2026-03-23T07:20:00Z</updated>\n    <link href='https://arxiv.org/abs/2603.21641v1' rel='alternate' type='text/html'/>\n    <link href='https://arxiv.org/pdf/2603.21641v1' rel='related' title='pdf' type='application/pdf'/>\n    <summary>The Model Context Protocol (MCP) has emerged as a standard for connecting Large Language Models (LLMs) to external tools and data. However, MCP servers often expose privileged capabilities, such as file system access, network requests, and command execution that can be exploited if not properly secured. We present mcp-sec-audit, an extensible security assessment toolkit designed specifically for MCP servers. It implements static pattern matching for Python-based MCP servers and dynamic sandboxed fuzzing and monitoring via Docker and eBPF. The tool detects risky capabilities through configurable rule-based analysis and provides mitigation recommendations.</summary>\n    <category scheme='http://arxiv.org/schemas/atom' term='cs.CR'/>\n    <category scheme='http://arxiv.org/schemas/atom' term='cs.SE'/>\n    <published>2026-03-23T07:20:00Z</published>\n    <arxiv:primary_category term='cs.CR'/>\n    <author>\n      <name>Charoes Huang</name>\n    </author>\n    <author>\n      <name>Xin Huang</name>\n    </author>\n    <author>\n      <name>Amin Milani Fard</name>\n    </author>\n  </entry>"
}