Skip to main content
Layer exposes an MCP-compatible server that lets AI agents and LLM-powered tools query your workspace data programmatically. If you use tools like Claude Desktop, Cursor, or custom AI agents, the MCP server gives them read access to your assets, discovered apps, and compliance controls.
The MCP server requires API access, available on the Scale plan.

Endpoint

The server implements the Model Context Protocol (JSON-RPC 2.0). It supports three standard MCP methods:
  • initialize — returns server capabilities.
  • tools/list — lists available tools.
  • tools/call — executes a tool and returns results.
A GET request to the same URL returns server metadata (name, version, and available tools).

Authentication

All requests must include a valid session. The MCP server uses the same authentication as the rest of the Layer API — requests are scoped to your organization automatically.

Available tools

Common parameters

Every tool accepts these optional parameters:

Example request

Example response

Use with Claude Desktop

To connect Layer to Claude Desktop, add the MCP server to your Claude Desktop configuration:
Once connected, you can ask Claude questions like “What SaaS apps does my company use?” or “Show me all shadow IT apps” and it will query your Layer workspace directly.