Using NetSuite AI Connector (MCP) with Postman: Step by Step Guide

Prerequisites

  • NetSuite (NS) Account.
  • Relevant features enabled and permissions provided to the role.
  • NetSuite MCP SuiteApp or at least one Custom Tool deployed in the NS instance.
  • Postman

Enable Features

In NetSuite, navigate to: Setup → Company → Enable Features → SuiteCloud (last tab), and enable the following features. You may see additional options listed, but for now, these are the key features to enable as you begin working with integrations.

  • Client SuiteScript
  • Server SuiteScript
  • SOAP Web Services
  • REST Web Services
  • Token-based Authentication
  • OAuth 2.0
  • SuiteCloud Development Framework

Role Assignment

If you don’t have a role that meets the following criteria, create or update a custom role by navigating to: Setup → Users/Roles → Manage Roles

Update an existing role or create a new one with the required permissions. The quickest method: click Customize on the CFO role, provide a new name (e.g., MCP AI Tool or Integration).

Go to the Permissions tab → Setup subtab, and add the following permissions with Full level:

  • MCP Server Connection
  • Log in using OAuth 2.0 Access Tokens

Assign the new role to your user account:

  1. Navigate to Lists → Employees, find your employee record, and click Edit.
  2. In the Access tab → Roles subtab, add the newly created role.
  3. Save the record.

In NetSuite, after creating a new role and assigning it to yourself, make sure to log out and log back in to see the newly assigned role.

Currently, NetSuite does not allow creating an integration record with the MCP scope directly from the UI. It must first be created using Claude.ai or Postman or any other tool, after which the record can be used. Here is the guide for that process. although I haven’t created it directly from Postman yet. I’ll give it a try someday.

The Claude Client ID (this ID same for all suers) can be obtained from this screen when connecting NetSuite via Claude.ai.

Article content

We’re done with the NetSuite setup at this stage

Postman Setup

Open Postman

Article content

Add a new POST request in any exiting collection of create new blank collection. give it a meaningful name.

  • Collection Name: NS MCP Tester
  • Request Name: Call NS MCP Connector

Article content

Provide the URL as

https://{{ACCOUNT_ID}}.suitetalk.api.netsuite.com/services/mcp/v1/all

Article content

in Authorization tab, on the left pane, make following selections

  • Auth Type = OAuth 2.0
  • Add authorization headers to= Request Headers

Article content

On the right side panel, under Configure New Token

Article content

advance will look like this

  • response_type=code
  • grant_type=authorization_code , set Request URL in Send In column

Article content

click on Get a Access Token and use it.

Body: as raw, type JSON

{
    "jsonrpc": "2.0",
    "id": "{{$guid}}",
    "method": "tools/call",
    "params": {
        "name": "runCustomSuiteQL",
        "arguments": {
            "sqlQuery": "select id, name from location"
        }
    }
}

Article content

By following this guide, you have successfully set up and configured the NetSuite AI Connector with Postman. With the required roles, permissions, and integration records in place, you are now ready to begin testing, validating, and leveraging the connector for your integration workflows. As NetSuite evolves its capabilities, this setup provides a strong foundation for future enhancements and automation.

Leave a comment

Your email address will not be published. Required fields are marked *