ioi MCP connects an MCP-compatible AI assistant (Model Context Protocol), such as ChatGPT, to Silicon ioi. The module ships with Silicon ioi version 16: there is nothing to install.
How it works #
- The assistant works with the ioi account of the person using it. It never sees or does more than that person is allowed to see and do in ioi.
- The connection goes through an ioi login page followed by an authorisation screen: no key to copy.
- Writes, errors and refusals made through the assistant are recorded in the ioi MCP Log.
Site reachable from the internet
The assistant connects from its own servers, not from your computer. The Silicon ioi site must therefore be reachable over HTTPS from the internet.
Giving a user access #
Access is given through a role on the user’s record. An ioi MCP role opens tools, never data: the person’s usual rights in ioi always apply.
Open the user record
Open User, then the person’s record.
Tick the role
In the Roles & Permissions tab, tick ioi MCP ERP User.
Save
Save. Access applies straight away; in the assistant, start a new conversation.
| Role | What the assistant can do | For whom |
|---|---|---|
| (no ioi MCP role) | Only say which role to ask for | Default |
| ioi MCP ERP User | View, create, edit, delete and submit documents, statuses, conversions, printing, reports, files | Business users |
| ioi MCP Script Creator | In addition: scripts, custom fields, reports, queries and dashboards | Consultants, trained key users |
| ioi MCP Backend | In addition: system status, technical logs, advanced options | Technical administrator |
The roles are cumulative: tick one role, the highest you need. Only the Administrator account can assign ioi MCP Script Creator and ioi MCP Backend; a System Manager assigns ioi MCP ERP User.
Role profiles
If the record uses a role profile, add the ioi MCP role to the profile itself. Otherwise it is removed when the record is saved.
The ioi MCP Settings #
All settings are in ioi MCP Settings, reserved for the System Manager. The default values are enough to get started.
| Field | Default | Effect |
|---|---|---|
| ioi MCP enabled | ticked | Unticked: the connector refuses every request, for all users |
| Level for users without an ioi MCP role | None | ERP: every system user gets the ERP level without a role to tick |
| ERP level read-only | unticked | Ticked: ERP-level users can read but no longer write |
| Allow SQL writes | unticked | Direct writes to the database for the Backend level |
| Allow unrestricted Python | unticked | Full server access for the Backend level |
| Connector URL | calculated | The address to paste into the assistant (read only) |
| Allowed OAuth redirect URIs | list of common assistants | Return addresses accepted when connecting. The most common AI assistants, ChatGPT among them, are already allowed; for another client, add its return address |
| Delete unused dynamic OAuth clients after (days) | 30 | Clean-up of unused assistant registrations |
| Call log (ioi MCP Log) | Writes and errors | None, Writes and errors, or All (reads included) |
| Purge the log automatically | ticked | Deletes old entries every day |
| Keep the log (days) | 90 | Retention period |
| Purge hour (0–23) | 2 | Hour of the daily purge |
| Site-specific instructions | empty | Text added to the assistant’s instructions: default company, vocabulary, prohibitions |
| Tools | all enabled | Unticking a tool removes it for all users |
Advanced options
Allow SQL writes and Allow unrestricted Python bypass the usual ioi checks. Leave them unticked, except for a one-off need of a technical administrator.
Connecting the assistant #
Copy the address
In ioi MCP Settings, copy the Connector URL.
Add the connector
In the assistant’s settings, open the connectors part and add a custom connector. Give it a name (for example “ioi MCP – your company”) and paste the Connector URL.
Log in
Click the connector’s connect button, log in with your usual ioi account, then click Allow.
Enable it in a conversation
In a conversation, enable the connector in the assistant’s list of connectors.
On a team or business account of the assistant, an administrator of the organisation can add the connector once; each member then logs in with their own ioi account.
ChatGPT connects the same way, with the same Connector URL: its return address is already allowed, nothing needs to change in ioi.
Switching to another assistant #
Nothing changes in ioi: the rights belong to the user, not to the assistant. Simply add the connector in the new assistant.
To remove the previous assistant’s access, while logged in to ioi, open the third-party apps page of your account (your site address followed by third_party_apps) and click Revoke on the application’s line.
Other ways to cut access: remove the ioi MCP role from the user, disable the user, or untick ioi MCP enabled for the whole site.
Troubleshooting #
| Symptom | Likely cause | Solution |
|---|---|---|
| The assistant cannot connect | Site not reachable over HTTPS from the internet | Check access to the site from outside |
| “Redirect URI not allowed” | The client’s return address is missing | Add it in Allowed OAuth redirect URIs |
| The assistant asks for a role | No ioi MCP role | Assign ioi MCP ERP User |
| Every call answers “unavailable” | ioi MCP enabled unticked | Tick it again |
| “Access denied” on a document | Right missing in ioi | Adjust the user’s ioi roles |
| A tool does not appear after a role change | The assistant keeps the conversation’s tool list | Start a new conversation |
The ioi MCP Log list shows, for each call, the user, the tool, the result (Success, Error, Refused) and the message. Filter on the user, then on Result = Refused, to find the cause of a block.