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

How to create MCP configuration and connect to AI assistant

Set up a secure connection between your Struct PIM tenant and your AI assistant.

Create your MCP configuration

To create an MCP configuration, go into the "Settings"-tab from the navigation bar, then locate the "Integration"-section and click "MCP".

MCP settings overview

Here you can manage your existing MCP configurations, including viewing and deleting configurations. To create a new configuration, click "+ Create MCP configuration"-button in the top right corner.

Create MCP configuration

This will open the MCP configuration page.

Configure your MCP connection

On the MCP configuration page, give your configuration a required name and set the permissions that should be available to the connected AI assistant.

Example of MCP configuration

The permissions determine which data and actions the assistant can access in your Struct PIM tenant. Only grant the permissions required for the intended use.

Once you have configured the permissions, save the MCP configuration. Struct will generate an MCP API key for the configuration.

MCP configuration with key generated

Connect your AI assistant

Once your MCP configuration has been created, you can connect it to your preferred AI assistant. Each assistant uses the same Struct MCP endpoint and the API key generated above.

Claude Desktop

Open Settings > Developer, and under the "Local MCP servers"-section, click the "Edit Config"-button.

Claude Desktop - Local MCP servers

You will shown the config file in the file explorer where you can edit the config through Notepad or similar tools.

File explorer - conifg file

In the config file you will need to add the struct-platform entry. It defines how Claude connects to the Struct PIM MCP endpoint.

MacOS

Windows

After saving the configuration, restart Claude Desktop. The struct-platform server should appear under Settings > Developer with a running status.

Claude Code

Add the server from the terminal

Run the following command in PowerShell or your terminal:

ChatGPT

ChatGPT connects to the Struct MCP server as a custom app. To set this up, you need to navigate to your workspace menu and open Settings to access the Apps configuration.

ChatGPT - Workspace menu

Under Settings > Apps, open Advanced settings and click the "Create app"-button.

ChatGPT - Create App

Set Connection to the Server URL:

https://TENANT.mcp.struct.com/mcp

Choose Access token/API key for authentication and set the Header type to Bearer.

Enter the MCP API key from your Struct configuration when prompted. Confirm the risk notice, then click the "Create"-button.

Confirm the connection

Once your assistant has been configured, ask it something that requires live data from your Struct PIM tenant.

For example:

Claude Desktop - Example of MCP chat response

If the assistant returns live data from Struct PIM, your MCP connection is working correctly.

If you receive an authentication error, check that the Bearer token contains the correct MCP API key and that the permissions assigned to the configuration allow access to the data you requested.

Struct MCP tools overview

More information about Struct MCP and and its tools, can be found here:

Last updated