Layer MCP Server

Layer MCP Server

Connect Claude and other AI tools to your Layer data with the Layer MCP server. Covers setup for Claude.ai and Claude Desktop, the available read and write tools, and how access works.

What is the Layer MCP server?

The Layer MCP server lets AI assistants that support the Model Context Protocol (MCP), such as Claude, read and write your Layer data through a secure connection. The assistant can browse projects, categories, views, elements, fields, files, and templates, and can create or update content on your behalf.

  • Production endpoint: https://mcp.layer.team/mcp

  • Staging endpoint: https://mcp-staging.layer.team/mcp


Connect from Claude.ai

  1. In Claude.ai, go to Settings, then Integrations.

  2. Add a custom integration with the URL https://mcp.layer.team/mcp.

  3. Claude opens the Layer sign-in and consent page. Approve access.

Claude can now use Layer tools in your conversations.

Connect from Claude Desktop

Claude Desktop connects through mcp-remote, which handles sign-in on your computer. Add this to your Claude Desktop configuration file:

{
  "mcpServers": {
    "layer": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.layer.team/mcp"]
    }
  }
}

On first connect, a browser window opens for sign-in. After you approve, the token is stored locally and reused.

Connect with an API token

For a local or staging server, you can pass a personal API token instead of signing in:

{
  "mcpServers": {
    "layer-staging": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp-staging.layer.team/mcp", "--header", "Authorization: Bearer <your-layer-api-token>"]
    }
  }
}<

Create a token from your account settings. See Personal API Tokens.

Available tools

The assistant works through your own permissions. It can only see and change data you already have access to.

Read tools: listProjects, getProject, listCategories, getCategory, listCategoryViews, getCategoryView, listElements, getElement, listFields, getField, listFiles, getFile, listTemplates, and getProjectSchema (a summary of a project's categories and fields).

Write tools: createProject, createCategory, createCategoryView, createElement, updateElement, deleteElement, createField, updateField, deleteField, createFile, and deleteFile.

Guided prompts

The server also provides guided prompts that help an assistant set up work correctly: project-setup-wizard, field-selection-guide, and explain-project-structure.

How access works

  • Claude.ai and Claude Desktop sign in through Layer. You approve access on a Layer consent page, and the assistant acts within your permissions.

  • Personal API tokens are for local or staging connections. A token can be given an expiration date. Manage your tokens in your account settings.