Set up the NetSuite MCP server
The NetSuite AI Connector Service gives AI clients access to your NetSuite ERP data and tools through the Model Context Protocol, enabling natural-language queries against records, transactions, and reports. This guide covers enabling required NetSuite features, installing the MCP Standard Tools SuiteApp, creating an OAuth integration record, and connecting to MintMCP.
Prerequisites
- A MintMCP admin account
- A NetSuite account with Administrator access
- NetSuite features enabled: Server SuiteScript, REST Web Services, and OAuth 2.0
Enable required NetSuite features
- Go to Setup > Company > Enable Features
- On the SuiteCloud tab, check Server SuiteScript
- Under Web Services, check REST Web Services
- Under Manage Authentication, check OAuth 2.0
- Click Save
Install the MCP Standard Tools SuiteApp
- Go to SuiteCloud > SuiteApp Marketplace
- Search for MCP Standard Tools
- Click Install and follow the prompts
Create a custom MCP role
The NetSuite AI Connector Service does not work with the Administrator role.
- Go to Setup > Users/Roles > Manage Roles > New
- Enter a Name (e.g.,
MintMCP Role) - On the Permissions subtab, add:
| Permission | Level |
|---|---|
| MCP Server Connection | Full |
| OAuth 2.0 Access Tokens | Full |
| REST Web Services | Full |
- Add view or edit permissions on any records the MCP tools need to access (customers, transactions, inventory, etc.)
- Click Save
- Assign this role to each user who will connect to MintMCP
Create an OAuth integration record
- Go to Setup > Integration > Manage Integrations > New
- Enter a Name:
MintMCP - Set State to Enabled
- On the Authentication subtab:
- Check Authorization Code Grant
- Check Public Client
- Under OAuth 2.0 Scopes, check NetSuite AI Connector Service and clear all other scope checkboxes
- In Redirect URI, enter:
https://app.mintmcp.com/oauth/callback
- Click Save
- Copy the Client ID displayed on the confirmation screen. It is shown only once — store it securely before navigating away.
Find your NetSuite account ID
Your account ID is the number at the start of your NetSuite URL. If your URL is https://123456.app.netsuite.com/, your account ID is 123456. Sandbox accounts include an underscore suffix (e.g., 123456_SB1).
You can also find it at Setup > Company > Company Information on the Company URLs subtab.
Add NetSuite to MintMCP
-
In MintMCP, go to MCP store > Manage store
-
Click + Add an MCP to your registry → Connect to an MCP by URL
-
Enter the server URL, replacing
<accountid>with your account ID:https://<accountid>.suitetalk.api.netsuite.com/services/mcp/v1/suiteapp/com.netsuite.mcpstandardtoolsTo expose all custom tools from every installed SuiteApp and account customization project, use the
/allendpoint instead:https://<accountid>.suitetalk.api.netsuite.com/services/mcp/v1/all -
Set Connection type to Per-user credentials
-
Set Authorization method to OAuth
-
Open OAuth Client Advanced Settings and paste the Client ID copied from the integration record
-
Click Create
Security considerations
- Each user authenticates with their own NetSuite account and role — actions are scoped to that user's permissions.
- The Administrator role cannot be used with the AI Connector Service; assign the custom MCP role to users who connect.
- The Client ID is displayed only once when the integration record is saved — store it securely before navigating away.
- MCP tools can only read or modify data that the assigned role permits.
Next steps
- NetSuite MCP Standard Tools documentation — see available tools and their permission requirements