Overview
This guide walks you through connecting the inmydata MCP (Model Context Protocol) server to ChatGPT, so ChatGPT can query and analyse your inmydata data subjects through natural language.
The setup moves between ChatGPT and inmydata. ChatGPT generates a unique callback URL for each connection, and inmydata needs that URL before it can issue your credentials. So you will start in ChatGPT, create the client in inmydata, then return to ChatGPT to finish.
Prerequisites
- An inmydata account with administrator access to the AI settings
- ChatGPT on the web (chatgpt.com) on a Business, Enterprise or Edu plan. On a Business workspace, only admins and owners can create the plugin. Pro accounts can connect with read access only
- If the option to add a custom MCP server is missing, your workspace admin may need to allow custom MCP servers
Part 1: Start the plugin in ChatGPT and copy the callback URL
- Open Plugins. Go to chatgpt.com/plugins, click the + button and choose Add custom MCP server.
- Fill in the connection details:
| Field | Value |
|---|---|
| Name | inmydata (or your preferred name) |
| Connection | Server URL: https://mcp.inmydata.com/mcp |
| Authentication | OAuth |
- Expand Advanced OAuth settings. Under Client registration, set Registration method to User-Defined OAuth Client.
- Copy the Callback URL shown on the right hand side (it starts https://chatgpt.com/connector/oauth/...).
Leave this dialog open while you complete Part 2.
Part 2: Create an MCP client in inmydata
- In a new browser tab, sign in to inmydata at [tenant].inmydata.com.
- Open the settings menu and select AI from the left sidebar.
- In the MCP Clients section, click + Add client.
- Complete the dialog:
| Field | Value |
|---|---|
| Name | A descriptive name, e.g. “ChatGPT” |
| Client type | ChatGPT |
| Callback URL | Paste the Callback URL from Part 1 |
- Click OK. A dialog shows your Client ID and Client Secret.
| ⚠ Important: Copy both values now. The Client Secret is not shown again. If you lose it, delete the client and start again from Part 1. |
|---|
- Use Copy client ID and Copy client secret, then click OK.
Part 3: Finish and install the plugin in ChatGPT
- Return to the ChatGPT dialog and paste the OAuth client ID and OAuth client secret into the Advanced OAuth settings.
- Tick I understand and want to continue to acknowledge that custom MCP servers are not reviewed by OpenAI.
- Click Create as a plugin.
- Go to your personal plugins (chatgpt.com/plugins, Personal view), open the inmydata plugin and click + to install it.
- Sign in to inmydata when prompted to authorise the connection.
Using the inmydata connection
Start a new chat, type @ in the prompt box and select the inmydata plugin, then ask your question.
Example queries:
- “List the data subjects available from inmydata”
- “What are the top 10 suppliers by spend?”
- “Show me purchase order trends for the last 12 months”
- “What value of purchase orders were placed this quarter?”
ChatGPT uses the inmydata MCP tools (such as get_rows_fast, get_top_n_fast and get_answer_slow) to retrieve your data and present it with analysis.
Getting better answers
The AI needs to understand your subject, table and field names. If they aren’t self-explanatory, add an AI description to the subject in the inmydata admin screens. This makes a large difference to answer quality, in ChatGPT and in any other AI assistant.
Security considerations
- Keep your credentials secure. Never share your Client ID and Client Secret or commit them to version control.
- Data access follows your inmydata permissions. ChatGPT can only see data your inmydata user can see.
- Revoke access at any time by deleting the MCP client in inmydata or removing the plugin in ChatGPT.
Troubleshooting
- “You must enter a callback URL” when creating the client in inmydata: Every ChatGPT client needs the callback URL from ChatGPT’s Advanced OAuth settings. Complete Part 1 first.
- No “Add custom MCP server” option in ChatGPT: Your plan may not support custom MCP servers, or your workspace admin hasn’t allowed them.
- Plugin created but not available in chat: Make sure you installed it from your personal plugins (Part 3, step 4).
- Connection fails: Check the Client ID, Client Secret and callback URL were copied exactly, with no extra spaces.
- OAuth sign-in fails: Make sure you are signed in to inmydata in the same browser with the necessary permissions, and that pop-ups are allowed for chatgpt.com.
- ChatGPT sees subjects but not fields, or gives poor answers: Add AI descriptions to the subject in inmydata, then start a new chat.
- New inmydata tools or descriptions not showing: Open the plugin’s details page in ChatGPT and refresh it.
- Lost credentials: Delete the client in inmydata and repeat Parts 1 to 3.
- No data returned: Check your inmydata user has permission to the data subjects you’re asking about.
Need help? Contact inmydata support at support@inmydata.com