Skip to main content
The Pretectum MCP server exposes the public API to AI assistants through the Model Context Protocol. Once connected, an assistant can browse your business areas, schemas and datasets, look records up, search across your master data, and create, update or delete records - with your API key or your own access token, so it can do exactly what that credential’s roles and business area assignments allow, and nothing more.

Endpoint

The server speaks the Streamable HTTP transport. Every request is a POST; there is no session to keep open.

Authentication

The server authenticates with the same credentials as the REST API: an API key, or the access token of a signed-in Pretectum user. Send either in the Authorization header of every request, exactly as you would to the API:
Bearer ... is accepted as well. Create a key in the Pretectum app under Configuration → API Keys; see API Keys for how keys are granted access. With an access token the assistant acts as that user, with the user’s own roles and business areas, and every change is audited under the user’s name. Clients that support OAuth can sign you in instead of taking a header: add the server URL with no credential and, when the client offers to authenticate, sign in with your Pretectum account. The assistant then acts as you.
Your assistant acts with the credential’s full permissions, including update and delete where its roles allow them. With a key, create one for the assistant, give it only the business areas it needs, and prefer a read-only role unless you want it to change data. With your own access token the assistant holds every permission you have - a tenant administrator’s included - so prefer a scoped key for anything beyond reading.
Any MCP client that can send a custom header to a remote server works with a key. claude.ai custom connectors, Claude Code and the MCP inspector can sign you in instead.

Connecting

In claude.ai open Settings → Connectors → Add custom connector. Name it Pretectum, enter https://mcp.pretectum.io/mcp as the URL, leave the OAuth client id and secret empty, and connect. You are sent to the Pretectum sign-in; once back, the tools are available in every chat where the connector is enabled, and in Claude Code for the same account.

Tools

Each tool maps to one endpoint of the public API. The server tells the assistant how the pieces fit together: to walk the hierarchy for ids, to read the schema before writing, to send the record’s current _version on every update and to re-read on a conflict, and to confirm with you before deleting anything.

Example Conversation

Once connected, ask in plain language:
  • “Which business areas can you see?”
  • “Find every customer in the US Customers dataset with an example.com email.”
  • “Look up customer CUST-000123 and change their status to Inactive.”
  • “Create a new supplier record for Acme Ltd - ask me for any required field you don’t have.”
The assistant calls the tools in turn, showing you each result. Every call is audited under your key, or under your name when you connected with a token, like any other API request.

Troubleshooting

API Keys

Create and manage the key your assistant uses, or read how a token compares

API Reference

The endpoints behind each tool