We Urgently Need Privilege Management in MCP: A Measurement of API Usage in MCP Ecosystems
Zhihao Li, Kun Li, Boyang Ma, Minghui Xu, Yue Zhang, Xiuzhen Cheng

TL;DR
This paper analyzes the security risks of the MCP ecosystem by measuring API usage across real-world applications, revealing prevalent high-risk operations and proposing strategies for safer privilege management.
Contribution
It provides the first large-scale empirical analysis of MCP security risks, including a systematic measurement framework and a detailed taxonomy of resource access.
Findings
Network and system resource APIs dominate usage patterns.
Less popular plugins often contain high-risk operations.
Insufficient privilege separation can lead to privilege escalation and data tampering.
Abstract
The Model Context Protocol (MCP) has emerged as a widely adopted mechanism for connecting large language models to external tools and resources. While MCP promises seamless extensibility and rich integrations, it also introduces a substantially expanded attack surface: any plugin can inherit broad system privileges with minimal isolation or oversight. In this work, we conduct the first large-scale empirical analysis of MCP security risks. We develop an automated static analysis framework and systematically examine 2,562 real-world MCP applications spanning 23 functional categories. Our measurements reveal that network and system resource APIs dominate usage patterns, affecting 1,438 and 1,237 servers respectively, while file and memory resources are less frequent but still significant. We find that Developer Tools and API Development plugins are the most API-intensive, and that less…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Software System Performance and Reliability · Access Control and Trust
