Connecting AI Tools to DataMagik

Updated Nov 9, 2026
AI

Connecting AI Tools to DataMagik

Work with your Plex data, scripts, documents and apps from the AI tools your team already uses.

Besides the built-in AI Assistant, DataMagik can be reached from outside AI tools in two ways:

  • The DataMagik MCP server — a Model Context Protocol server that gives an AI client the full DataMagik tool set: Plex SQL and data sources, scripts and workflows, document templates, labels, dashboards, apps, Shop Floor and more. Use it with Claude, ChatGPT and Microsoft Copilot Studio.
  • The DataMagik API — call specific scripts and workflows over HTTPS with an API key. Use it when you want an agent to have a small set of tools you choose, such as in Microsoft Foundry.

Which one to use

ToolHow it connectsSign-inGuide
Claude (Free, Pro, Max, Team, Enterprise)MCPYour DataMagik account (OAuth)Connect Claude
ChatGPT (Plus, Pro, Business, Enterprise, Edu)MCPYour DataMagik account (OAuth)Connect ChatGPT
Microsoft Copilot StudioMCPYour DataMagik account (OAuth)Connect Copilot Studio
Microsoft FoundryAPI (OpenAPI tool)DataMagik API keyConnect Microsoft Foundry

The MCP server address

https://mcp.data-magik.com/mcp

The server uses the Streamable HTTP transport and OAuth 2.0 with dynamic client registration, so AI clients register themselves. You never need to enter a client ID or secret: leave those fields empty.

What the AI can see and do

  • It acts as you. When you connect, you sign in to DataMagik. The AI then has exactly your permissions, licenses, Plex access and SQL access roles — no more.
  • It works in one company at a time. If you belong to several companies, the AI works in your active one. Ask it which company is active before it changes anything, and ask it to switch when you need another. See Switching Companies.
  • Changes are recorded. Everything the AI changes is recorded under your name in the Change History & Audit Trail, just as if you had made the change on the screen.
  • Your AI client asks before acting. Claude, ChatGPT and Copilot Studio can each be set to ask before a tool runs. Keep approvals on for anything that writes to Plex, sends email or prints.

Production data: Plex writes made through the AI go to whichever Plex connection the tool uses, which is often production. Test new prompts against a test connection or with read-only questions first.

Before you start

  • A DataMagik account with the DataMagik - Builder or DataMagik - Viewer permission. Viewer is enough for questions and reports; Builder is needed to create or change scripts, templates and apps.
  • For Microsoft Foundry, a DataMagik API key (it starts with dcp_). See API keys.
  • For Team, Enterprise and Business plans of the AI tools, an administrator of that tool may need to add DataMagik first. Each guide covers both the personal and the organization setup.

Turning access off

  • MCP clients: disconnect or remove the DataMagik connector in the AI tool. Making a user inactive in DataMagik also stops their connection.
  • API keys: delete the key under Your Account > Security Settings. Give each agent its own key so you can turn one off without the others.

Related

Was this page helpful?