For the complete documentation index, see llms.txt. This page is also available as Markdown.

Using the Structural MCP server

The Structural MCP server allows you to use AI clients such as Claude Code to interact with Structural.

You can use the same natural language prompts that you provide in the Structural Agent and perform the same actions that the Structural Agent supports.

Enabling the MCP server on self-hosted instances

The MCP server is enabled automatically on Structural Cloud.

On a self-hosted instance, to allow calls to the MCP server, in the MCP section of the AI Settings page, toggle Enable the MCP server to the on position.

Setting up the connection from your AI client

To authenticate from your AI client to the MCP server, you use a Structural API token. For information on how to generate a Structural API token, go to Getting an API token.

To use an API token to connect to the Structural MCP server, run the command to add the MCP server to your AI client. Include the API token in the header.

For example, to add the MCP server to Claude Code and use an API token for authentication:

claude mcp add --transport http structural https://<structural-instance>/mcp --header "Authorization: Apikey <user-api-token>"

Last updated

Was this helpful?