Study finds 81.5% of 254 database MCP servers want too much access
The new tool MAP stops steps that do not fit the role of a server and adds 28 microseconds to each query.
Researchers studied 254 database MCP servers. An MCP server is software that lets an AI agent use tools that are not in the model, here a database. 81.5% want more authority than their code uses, and 18.1% show login secrets in their code. The team also made MAP, a tool that stops steps that do not fit the role of a server.
How it works
An agent sends database commands through an MCP server. The server uses a login that stays correct for a long time. The database can check the login, but it cannot check if a command fits the role of the server.
MAP sets a limit of permitted steps for each server and stops other steps before they go to the database. It does not change the servers or the database software.
The numbers
The team showed an attack. Text from an attacker caused a command that removes data. The database did the command.
In tests on 123 servers that operate, MAP kept the permitted database operations. It added a mean of 28 microseconds to each query. It cut the median throughput, the work done each second, by 13.6%.
What is not known
The paper gives no data on live company systems. Each team must check if the 13.6% drop in throughput is permitted for its work.
Insight: A read-only setting in the server is not a safe limit
In September 2026, AWS gave a report of a bug in its MySQL MCP server. A statement with SQL comments could pass the read-only check. AWS says the database user permissions set the limit. A check in the server can be incorrect and the permissions are too wide in many servers, thus the limit must come from a tool that is not the server. MAP seems to be a move to that.
Sources
Posted