MCP, the Model Context Protocol, is an open standard for connecting AI apps to external systems, such as databases, APIs, files and other services.
- The AI app you work in, such as Claude Desktop, Cursor or VS Code, connects to MCP servers as a client.
- An MCP server offers tools the model can call, such as running a query or searching logs, and can also share resources and prompts. A local server runs on your computer and talks over standard input and output (stdio); a remote one is reached over HTTP.
- The AI app lists the server's tools, the model picks one, and the app sends the call with its arguments. The server runs it and returns the result.
MCP defines how calls travel, not which calls are safe. GateRook adds that layer: your AI app sees GateRook as an MCP server, and GateRook checks each call against your rules before it reaches your systems. See the official MCP documentation (opens in a new tab) and what an MCP gateway adds.