Connecting Claude to NetSuite with MCP: Architecture, Security and Use Cases
By Ketan Tiwari, NetSuite technical consultant
Summary
The Model Context Protocol (MCP) lets assistants such as Claude use NetSuite through well-defined tools: read-only SuiteQL, record lookups and carefully gated write actions, each authenticated as a specific NetSuite role. Done well, it gives finance and operations teams a conversational interface to NetSuite without weakening permissions or the audit trail.
What MCP is and why it fits ERP
MCP is an open protocol, introduced by Anthropic, that standardises how AI applications discover and call external tools and data. Instead of writing a custom plug-in for each assistant, you expose NetSuite capabilities once as an MCP server and any MCP-compatible client (Claude, IDEs, agents) can use them.
For an ERP that matters because the integration surface stays small, typed and auditable.
Designing NetSuite tools
- Read tools: run a read-only SuiteQL query, get a record by type and ID, list saved reports.
- Context tools: return the curated schema, subsidiaries, currencies and accounting books the model needs.
- Write tools: create draft or pending-approval records only, with explicit confirmation.
- Keep each tool narrow and well described; the description is what the model reads.
Authentication, roles and audit
Authenticate the MCP server to NetSuite with OAuth 2.0 (or token-based authentication) under a dedicated integration role. The assistant can never do more than that role allows, and every call is attributable in NetSuite's system notes and login audit trail.
Log every tool call with its inputs and the records it touched. That log is what you show an auditor.
Use cases that work today
- Ask finance questions in plain English and get SuiteQL-backed answers.
- Product and inventory lookups across NetSuite and Shopify in one question (a RAG pattern).
- Drafting journal entries or vendor bills for human approval.
- Explaining a transaction's history from system notes during month-end close.
Build or buy
Oracle provides an MCP-based AI connector for NetSuite, and there are third-party servers too. A custom MCP server makes sense when you need account-specific schema context, custom records, guardrails tuned to your controls, or one assistant that spans NetSuite plus other systems.
Getting started safely
- Start read-only in a sandbox account.
- Write the schema context and a test set of real questions first.
- Add write tools one at a time, each behind an approval step.