Lab: MCP server hides tools without restricting them
This lab's shop exposes a Model Context Protocol (MCP) server at /mcp. The server has some tools that only staff should use, and it hides them from customers when they list the available tools.
To solve the lab, use the MCP server to delete the user carlos.
You can log in to your own account using the following credentials: wiener:peter
Hint
The response to initialize can include instructions for the AI assistant. These sometimes reveal more than the tool list does.
Required knowledge
To solve this lab, you'll need to know:
- How to call tools on an MCP server.
- Why hiding functionality isn't the same as restricting access to it.
For more information, see our MCP server vulnerabilities Academy topic.
Solution
The solution for this lab will be published shortly. Check back soon.