Retrina AI Connector for Perfex CRM
Version 1.0.0 · Last updated 14 September 2026 · Retrina is a brand of Stepinway. This is not an official Perfex product.
This module adds an HTTPS API to an existing Perfex CRM. ChatGPT can then ask about leads, customers, invoices, tasks, projects, tickets, and sales reports. The tools published in this version retrieve those records.
About
- Installs from Setup → Modules. No core file edits.
- One installation-wide connector key (hashed). ChatGPT never receives that key.
- Permissions and rate limit are configured in the module settings.
- Hosted MCP (easiest):
https://mcp.retrina.com/mcpwith CRM Assist login. - Optional self-hosted MCP is included under
Optional/retrina-perfex-mcp.
Requirements
- Perfex CRM 3.3 or newer (tested on 3.4.x)
- PHP 8.0+
- Public HTTPS URL for the CRM (required for ChatGPT / hosted MCP)
- Admin access in Perfex
- For ChatGPT: Plus / Pro / Team / Enterprise and Developer mode
- For self-hosted MCP: Node.js 18+
Install the module
- Unzip the purchase. Open
Main-Files/retrina_ai_connector/. - Upload that folder to
{your-perfex}/modules/retrina_ai_connector/. - In Perfex go to Setup → Modules and activate Retrina AI Connector.
- Open Setup → Retrina AI Connector.
Activation creates connector options and the audit table tblretrina_ai_logs. CRM records are never changed by install.
Generate the key
- Enable the connector.
- Click Generate new key.
- Copy the key immediately. Only a hash is stored; it cannot be shown again.
- The key looks like
rtn_perfex_plus 64 hex characters.
Connect ChatGPT (hosted MCP)
- Create or sign in to a CRM Assist account at https://crmassist.retrina.com.
- Unlock the dashboard: buy on the site, or paste your CodeCanyon purchase code if you already paid on Envato.
- On the dashboard, save your Perfex HTTPS URL and the connector key.
- In ChatGPT: Settings → Apps → Advanced settings → Developer mode.
- Add a connector:
Name: Retrina CRM URL: https://mcp.retrina.com/mcp Authentication: OAuth
- Sign in with the same CRM Assist account and approve
crm.read. - Open a new chat and enable the connector from the + menu.
CodeCanyon buyers: create a free CRM Assist account at https://crmassist.retrina.com. On the dashboard, paste your Envato purchase code (from your CodeCanyon downloads). That unlocks the connector page without paying $29 again. Then save your Perfex HTTPS URL and the connector key, and connect ChatGPT.
Optional self-hosted MCP
If you do not want to use mcp.retrina.com, use the Node server in Optional/retrina-perfex-mcp.
cd Optional/retrina-perfex-mcp npm install cp .env.example .env # set PERFEX_BASE_URL and PERFEX_CONNECTOR_TOKEN npm run build npm start
Then point your MCP client at your own HTTPS URL. ChatGPT custom connectors still need a public HTTPS endpoint and OAuth if you use that path; Claude Desktop can use stdio. See the package README.
What the API can do
Base URL:
{your-perfex}/retrina_ai_connector/v1
Authenticate with either header:
Authorization: Bearer rtn_perfex_… X-Retrina-Token: rtn_perfex_…
| Area | Examples |
|---|---|
| Leads | search, count this month, follow-up, timeline, live scores |
| Customers | search, detail, timeline, health snapshot |
| Sales | invoices, payments, proposals, estimates, collected vs invoiced vs booked |
| Work | tasks, projects, tickets, timesheets, expenses |
| Reports | summary, funnel, staff/source, receivables, forecast, follow-up list |
The API never creates, updates, or deletes CRM rows. It never returns invoice payment hashes or public payment links.
Full path list: openapi.yaml inside the module folder.
Security
- Tokens are stored with
password_hash, not plaintext. - Default rate limit is 120 requests per minute (adjustable).
- Audit logs store path, status, and duration — not tokens or CRM payloads.
- SQL uses the CodeIgniter query builder. There is no generic query tool.
- Private / localhost CRM URLs are rejected by the hosted MCP.
Uninstall
Setup → Modules → Uninstall Retrina AI Connector. This drops the log table and connector options. Leads, invoices, and other CRM records stay.
Credits, assets, support
- Product: Retrina (a brand of Stepinway)
- Perfex is a trademark of its owner. Retrina is independent and not affiliated with Perfex.
- No third-party stock assets are bundled in the module.
- Public docs (no purchase key): https://mcp.retrina.com/docs
- Support: support@retrina.com · https://mcp.retrina.com/support
- Privacy: https://mcp.retrina.com/privacy
© 2026 Stepinway. Retrina is a brand of Stepinway.