Connect ChatGPT
ChatGPT reads Msharti's OAuth configuration from the server's /.well-known/
metadata, so there are no credentials to paste. Custom MCP connectors live behind Developer
Mode, which you switch on once.
Add the connector
- Enable Developer Mode. In ChatGPT go to Settings → Apps & Connectors → Advanced and turn Developer Mode on.
- Create the Msharti connector.
Click Create, name it
Msharti, set authentication to OAuth, and paste the server URL:https://mcp.msharti.dev/mcp - Authorize and start asking. ChatGPT finds the auth flow on its own and redirects you to Msharti. Sign in with your account and click Allow access.
The "Elevated Risk" warning is expected. ChatGPT shows it for every custom MCP server, not specifically for Msharti. It is telling you that you are adding a third-party tool source, which is exactly what you are doing.
Check it works
Using Msharti, summarise this month's M-Pesa collections
against our Sage invoices. Naming the connector in the first prompt makes ChatGPT reach for it rather than answering from general knowledge. After the first successful call it will usually pick the tools up on its own. Confirm the call landed by opening Usage in the Msharti console.
What ChatGPT can see
The tools your role permits, and only those. Tool discovery runs after the role filter, so a viewer does not receive write tools in a disabled state, they simply are not in the list. See roles and permissions.
If it does not connect
| Symptom | What to check |
|---|---|
| No option to create a connector | Developer Mode is still off, or your ChatGPT plan does not expose custom connectors. |
| Redirect never returns | Pop-ups or third-party redirects blocked. Allow them for chatgpt.com and mcp.msharti.dev, then retry. |
| Connected but no tools | No connectors configured in your tenant yet, or your role's allowlist is empty. See the quickstart. |
| Answers look invented | ChatGPT answered without calling the tool. Name Msharti explicitly and check Usage to confirm whether a call was made. |
Disconnecting
Delete the connector in ChatGPT, then revoke the connection in the Msharti console under Connect. Removing it on one side only leaves the other side authorised.