Connect CoreX to your AI agent
The CoreX MCP server exposes your CRM & ERP — contacts, CRM deals, calendar, tasks, sales, accounting, HR and more — as 29 MCP tools any agent can call. Connect over Streamable HTTP in under a minute, authenticated as your own CoreX user.
Where
Endpoints
The server speaks Streamable HTTP (the modern MCP transport). Use the environment that matches your account.
https://core.apexaion.ai/mcphttps://core-staging.apexaion.ai/mcpWho
Authentication
Connect securely as your own CoreX user. OAuth keeps your password in the browser and gives your agent only the access you approve.
OAuth 2.1
Add the MCP endpoint to NGIN360 or another OAuth-capable client. CoreX guides you through workspace sign-in and consent.
- 1Add the CoreX endpoint
- 2Sign in in your browser
- 3Review and approve access
Legacy clients without OAuth
Use credential headers only in a trusted client that cannot use OAuth. Store credentials securely in that client.
x-corex-slug: your-company-slug
x-corex-email: you@company.com
x-corex-password: your-password
x-corex-branch-id: <optional — override the default branch>Once authenticated, the legacy login tool can change the session workspace.
corex_login {
"slug": "your-company-slug",
"email": "you@company.com",
"password": "your-password"
}How
Quick connect
Add the endpoint with the configuration below, then choose OAuth and follow the browser sign-in prompts.
Register CoreX as an HTTP MCP server, then complete OAuth sign-in in your browser.
claude mcp add --transport http corex https://core.apexaion.ai/mcpclaude mcp add --transport http corex-staging https://core-staging.apexaion.ai/mcpBonus
Install the CoreX Skill
The CoreX Skill teaches Claude how and when to use these tools — which tool fits which intent, the field names that matter, and the gotchas. Save it at .claude/skills/corex/SKILL.md in your project, then reconnect.
---
name: corex
description: Operate the CoreX CRM/ERP via its MCP tools — use when the user wants to check CRM/deals/pipeline status, move or convert a lead, book a meeting or calendar event, create or look up a contact, pull sales/quotations/invoices, or manage tasks.
---
# CoreX MCP Skill
CoreX is a multi-tenant CRM/ERP platform (sales pipeline, contacts, calendar,
tasks, projects, accounting, HR/payroll, inventory, and more). This skill drives
the **CoreX MCP server**, which exposes the tenant REST API as agent tools. Use it
whenever the user asks to read or change data in CoreX.
The hosted server is reached over **Streamable HTTP** at `/mcp` — staging
`https://core-staging.apexaion.ai/mcp`, production `https://core.apexaion.ai/mcp`.
## Prerequisite: auth is per connection
Each caller authenticates as **their own** CoreX user, scoped to their MCP
session — there is no shared account.
- **OAuth 2.1 (preferred):** register the HTTP endpoint in an OAuth-capable
client, sign in to CoreX in your browser, and approve the requested access.
The client uses PKCE and sends the resulting bearer token on requests.
- **Legacy headers:** only for clients without OAuth support, use
`x-corex-slug`, `x-corex-email`, and `x-corex-password` on initialize.
Never ask the user to paste a password into an agent conversation.
## Choosing a tool
1. **Curated typed tools** for common modules (Contacts, CRM, Calendar, Tasks).
2. **Generic CRUD** for any other module: `corex_list`, `corex_get`,
`corex_create`, `corex_update`, `corex_delete` — pass the resource path
segment (e.g. "invoices", "quotations", "sales-orders").
3. **`corex_request`** only for special actions / analytics.
Use `corex_list_resources` to discover the full catalog.
## Conventions & gotchas
- List responses return `{ data, pagination }`; delete returns `{ deleted: true }`.
- If OAuth returns 401, refresh authorization or sign in again.
- 402 means the tenant's subscription is locked — surface to the user.
- Branch context for some CRM writes is sent automatically from login.What
Tool catalog
29 tools, grouped by module. Curated tools carry real field names and validation; generic CRUD reaches any other resource by path.
Discovery
2Find your way around a tenant.
corex_list_resourcesList every resource the API exposes — name, path, module, notable actions.
corex_whoamiCurrent identity: the signed-in user, company, and active branch.
Generic CRUD
6Reach any module by resource path.
corex_listList records for a resource with filters, search, sort, and pagination.
corex_getFetch a single record by id.
corex_createCreate a record from a JSON body.
corex_updatePatch a record by id with only the fields to change.
corex_deleteDelete a record by id.
corex_requestRaw API call for special actions / analytics CRUD can’t express.
Authentication
1Legacy authentication for clients without OAuth.
corex_loginLog in to a tenant with slug + email + password (optional branchId).
Contacts
4People and companies in your CRM.
corex_contacts_listList contacts with search, status, and type filters.
corex_contacts_getFetch a single contact by id.
corex_contacts_createCreate a contact (name required).
corex_contacts_updateUpdate a contact by id.
CRM · leads & deals
7Your sales pipeline.
corex_crm_listList CRM records with search, status, and stage filters.
corex_crm_getFetch a single lead/deal by id.
corex_crm_createCreate a lead/deal (name + phone required).
corex_crm_updateUpdate a lead/deal by id.
corex_crm_update_statusTransition a record to a new status (lostReason when marking lost).
corex_crm_kanbanGet CRM records grouped by stage for the kanban board.
corex_crm_convertConvert a lead/deal into a contact.
Calendar
5Meetings and events.
corex_calendar_events_listList events, optionally within a start/end window.
corex_calendar_event_getFetch a single event by id.
corex_calendar_event_createCreate an event (title, startDate, endDate required).
corex_calendar_event_updateReschedule or edit an event by id.
corex_calendar_event_deleteDelete an event by id.
Tasks
4Work items across spaces and lists.
corex_tasks_listList tasks, scoped by list/space and filtered by search.
corex_task_getFetch a single task by id.
corex_task_createCreate a task (title, listId, spaceId required).
corex_task_updateUpdate a task by id.
Help
Troubleshooting
401 Unauthorized
Complete OAuth sign-in again if your connection has expired or been revoked. Approve the required access in CoreX.
402 Payment Required
Your tenant’s subscription is locked. Resolve billing in CoreX — the agent can’t retry past this.
No tools / “not authenticated”
Finish browser sign-in and consent, then reconnect. Idle sessions expire after 30 minutes. Confirm the endpoint matches your workspace environment — staging or production.