Skip to main content

NetSuite SCM MCP server

NetSuite SCM delivers end-to-end supply chain visibility from procurement to fulfillment, including inventory optimization, demand planning, warehouse management, and logistics. An AI agent using this MCP server can check inventory levels, generate purchase orders, manage warehouse operations, optimize replenishment, and track shipments—automating supply chain decisions and enabling real-time responses to demand shifts. Use this integration when you need to optimize inventory across locations, automate purchase orders based on reorder points, manage warehouse operations, or provide supply chain visibility on demand.

Setting up an MCP server

This article covers the standard steps for creating an MCP server in AI Gateway and connecting it to an AI client. The steps are the same for every integration — application-specific details (API credentials, OAuth endpoints, and scopes) are covered in the individual application pages.

Before you begin

You'll need:

  • Access to AI Gateway with permission to create MCP servers
  • API credentials for the application you're connecting (see the relevant application page for what to collect)

Create an MCP server

Find the API in the catalog

  1. Sign in to AI Gateway and select MCP Servers from the left navigation.
  2. Select New MCP Server.
  3. Search for the application you want to connect, then select it from the catalog.

Configure the server

  1. Enter a Name for your server — something descriptive that identifies both the application and its purpose (for example, "Zendesk Support — Prod").
  2. Enter a Description so your team knows what the server is for.
  3. Set the Timeout value. 30 seconds works for most APIs; increase to 60 seconds for APIs that return large payloads.
  4. Toggle Production mode on if this server will be used in a live workflow.
  5. Select Next.

Configure authentication

Enter the authentication details for the application. This varies by service — see the Authentication section of the relevant application page for the specific credentials, OAuth URLs, and scopes to use.

Configure security

  1. Set any Rate limits appropriate for your use case and the API's own limits.
  2. Enable Logging if you want AI Gateway to record requests and responses for auditing.
  3. Select Next.

Deploy

Review the summary, then select Deploy. AI Gateway provisions the server and provides a server URL you'll use when configuring your AI client.


Connect to an AI client

Once your server is deployed, you'll need to add it to the AI client your team uses. Select your client for setup instructions:

Tips

  • You can create multiple MCP servers for the same application — for example, a read-only server for reporting agents and a read-write server for automation workflows.
  • If you're unsure which OAuth scopes to request, start with the minimum read-only set and add write scopes only when needed. Most application pages include scope recommendations.
  • You can edit a server's name, description, timeout, and security settings after deployment without redeploying.

Authentication

NetSuite SCM uses OAuth 2.0 authentication with account-specific endpoints. Create an integration record in NetSuite under Setup > Integration > Manage Integrations, enable OAuth 2.0 and REST Web Services, and collect your Client ID and Client Secret. The OAuth token URL is https://{accountId}.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token and the authorization URL is https://{accountId}.app.netsuite.com/app/login/oauth2/authorize.nl, where {accountId} is your NetSuite account ID. Required scopes typically include inventory management, purchase order processing, fulfillment, and analytics access.

Available tools

The MCP server enables AI agents to manage supply chain operations including inventory, procurement, warehouse management, and fulfillment. Tools are organized by supply chain function.

Inventory Management

ToolDescription
Check inventory levelGet current stock quantity for an item at any location
Transfer inventoryMove stock between warehouse locations
Adjust inventory countRecord inventory adjustments or cycle count corrections
Set reorder pointConfigure automatic reorder thresholds and quantities
Get item availabilityCheck if items are in stock and available to promise
Get inventory historyRetrieve historical inventory movements and transactions

Demand Planning and Replenishment

ToolDescription
Generate forecastCreate demand forecast based on historical trends
Calculate safety stockDetermine optimal safety stock levels
Generate purchase suggestionsRecommend purchase orders based on demand and inventory
Get replenishment statusRetrieve pending reorder and purchase requisitions

Procurement and Vendor Management

ToolDescription
Create purchase orderGenerate a PO for a vendor
Get purchase orderRetrieve PO details and current status
Update purchase orderModify PO line items or delivery dates
Get vendor performanceRetrieve vendor metrics (on-time delivery, quality, cost)
Get vendor catalogRetrieve catalog items and pricing from a vendor

Warehouse and Fulfillment Operations

ToolDescription
Get pick listRetrieve items to pick for pending orders
Get packing listGet items and details for order packing
Create shipmentGenerate shipping documents and labels
Get shipment statusTrack shipment status and delivery
Create receiptRecord receipt of items from a purchase order
Get receiving queueRetrieve items pending receipt

Supply Chain Analytics

ToolDescription
Get fill rate metricsRetrieve order fulfillment and fill rate metrics
Get on-time deliveryRetrieve on-time delivery performance by vendor
Get inventory turnsCalculate and retrieve inventory turnover metrics
Get carrying cost analysisAnalyze inventory holding costs
Get supply chain dashboardRetrieve KPIs and performance metrics

Tips

Monitor inventory levels continuously using the agent by setting thresholds that trigger automatic purchase order generation when stock falls below reorder points, reducing manual oversight and stock-outs.

Segment inventory using ABC analysis through the agent, focusing safety stock and replenishment effort on A items (high value, frequent) and reducing overhead on C items (low value, infrequent).

Leverage the agent to match supply with demand by pulling demand forecasts and comparing against inventory levels, then alerting planners to gaps early so they can adjust procurement timelines.

Automate three-way matching (PO → receipt → invoice) through the agent to flag discrepancies in quantity or quality before payment, reducing fraud and errors.

Use the agent to regularly benchmark vendor performance by pulling on-time delivery and quality metrics to identify underperforming vendors and negotiate improvements or transitions early.