Netsuite MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Netsuite MCP or direct API to automate workflows, manage contacts, update financial records, and analyze business data through natural language.
Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Netsuite Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Try Netsuite now

Enter a prompt below to test the integration in our Tool Router playground. You'll be redirected to sign in and try it live.

Supported Tools

Tools
Get Async Job StatusRetrieves the current status of an asynchronous NetSuite REST job.
Get Async Job TaskRetrieves the task reference (task ID and URL) for an asynchronous job in NetSuite.
Async Get Job Task ResultTool to retrieve the payload result of a completed async task.
Create CustomerCreates a new customer record in NetSuite.
Create Customer PaymentCreates a customer payment record in NetSuite.
Create EmployeeCreates a new employee record in NetSuite.
Create InvoiceTool to create a new invoice record.
Create ItemCreates a new item record in NetSuite via REST API.
Create Journal EntryTool to create a new journal entry record.
Create JWT Client AssertionTool to build a JWT client assertion for NetSuite OAuth2 client credentials.
Create Purchase OrderTool to create a new purchase order record.
Create RecordCreates a new NetSuite record of any type (customer, vendor, invoice, sales order, etc.
Create Sales OrderTool to create a new sales order record in NetSuite.
Create VendorCreates a new vendor record in NetSuite.
Create Vendor BillTool to create a new vendor bill record.
Delete CustomerTool to delete a customer record by ID.
Delete Customer PaymentDelete a customer payment record from NetSuite by its ID.
Delete EmployeeDeletes an employee record from NetSuite by its internal ID.
Delete InvoiceTool to delete an invoice record by ID.
Delete ItemTool to delete an item record by its type and ID.
Delete Item FulfillmentTool to delete an Item Fulfillment record.
Delete Item ReceiptTool to delete an item receipt record by ID.
Delete Journal EntryTool to delete a journal entry record by ID.
Delete Purchase OrderTool to delete a purchase order record by ID.
Delete Sales OrderTool to delete a sales order by internal ID.
Delete Vendor PaymentTool to delete a vendor payment record by ID.
Execute DatasetTool to execute a SuiteAnalytics dataset and return paged results.
Get CustomerTool to retrieve a customer record by internal ID.
Get Customer PaymentTool to retrieve a customer payment record by ID.
Get Data Center URLsTool to discover account-specific service domains.
Get EmployeeTool to retrieve an employee record by ID.
Get Governance LimitsRetrieve NetSuite account and integration concurrency governance limits.
Get InvoiceTool to retrieve an invoice record by internal ID.
Get ItemTool to retrieve an item record by internal ID.
Get Item FulfillmentTool to retrieve an item fulfillment record by internal ID.
Get Item ReceiptTool to retrieve an item receipt record by internal ID.
Get Journal EntryTool to retrieve a journal entry by internal ID.
Get Purchase OrderRetrieves complete details of a purchase order by its internal ID using the NetSuite REST API.
Get Record MetadataRetrieves the complete metadata schema for a NetSuite record type, including all field definitions, data types, constraints, and descriptions.
Get Reference Select FieldRetrieves the complete record referenced by a select-type field on a parent record.
Get Sales OrderTool to retrieve a sales order record by internal ID.
Get Server TimeTool to retrieve NetSuite server time in UTC.
Get Sublist CollectionTool to retrieve a sublist collection from a parent record.
Get Sublist LineTool to retrieve a specific line from a sublist of a record.
Get SubrecordRetrieves a specific subrecord from a parent NetSuite record.
Get VendorTool to get a single vendor record by internal ID.
Get Vendor BillRetrieve a vendor bill record by its internal ID.
Get Vendor PaymentRetrieves a single vendor payment record by its internal ID from NetSuite.
List Customer PaymentsTool to list customer payment records.
List DatasetsTool to list SuiteAnalytics Workbook datasets.
List EmployeesTool to list employee records.
List IntegrationsTool to list integration applications.
List InvoicesTool to list invoice records.
List Item FulfillmentsTool to list item fulfillment records.
List Item ReceiptsTool to list item receipt records.
List Journal EntriesTool to list journal entry records.
List Metadata CatalogTool to list all record types and their metadata.
List Purchase OrdersTool to list purchase order records.
List RecordsTool to list record instances.
List Sales OrdersTool to list sales order records.
List Vendor PaymentsTool to list vendor payment records.
OAuth2 Authorize Account DomainTool to construct an OAuth2 authorization URL for a NetSuite account-specific domain.
OAuth2 Authorize System DomainInitiates the OAuth2 authorization code flow using NetSuite's system domain endpoint.
Get OAuth2 JWKS KeysTool to retrieve OAuth2 JWKS public keys.
OAuth2 LogoutTool to revoke an ID token and its associated access and refresh tokens.
Revoke OAuth2 Refresh TokenRevokes a NetSuite OAuth2 refresh token and all associated access tokens, immediately invalidating them.
Exchange OAuth2 Authorization Code for TokensExchange an OAuth2 authorization code for access and refresh tokens using the NetSuite token endpoint.
OAuth2 Token Client CredentialsTool to obtain an OAuth2 access token via client credentials grant.
OAuth2 Token RefreshTool to refresh an OAuth2 access token.
Run SuiteQL QueryTool to execute a SuiteQL query.
Transform RecordTransform an existing NetSuite record into another record type (e.
Update CustomerUpdates an existing NetSuite customer record using PATCH semantics - only fields included in the 'data' parameter are modified.
Update Customer PaymentTool to update an existing customer payment by ID.
Update EmployeeTool to update an employee record by ID.
Update InvoiceUpdates an existing NetSuite invoice record by ID using the PATCH method.
Update ItemTool to update an item record by ID.
Update Item FulfillmentTool to update an Item Fulfillment record by ID.
Update Item ReceiptTool to update an item receipt record by ID.
Update Journal EntryTool to update a journal entry record by ID.
Update Purchase OrderTool to update a purchase order record by ID.
Update Sales OrderUpdates an existing NetSuite sales order record by ID using PATCH semantics.
Update VendorTool to update a vendor record by ID.
Update Vendor BillTool to update a vendor bill record by ID.
Update Vendor PaymentTool to update a vendor payment record by ID.
Upsert Record by External IDTool to create or update a record by external ID.
Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK and Claude Agent SDK

Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Initialize the Composio client and create a Tool Router session

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Netsuite tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Generate a financial summary report for last quarter in Netsuite')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent

Why Use Composio?

AI Native Netsuite Integration

  • Supports both Netsuite MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Netsuite data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Netsuite access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Netsuite
  • Scoped, least privilege access to Netsuite resources
  • Full audit trail of agent actions to support review and compliance

Frequently Asked Questions

Do I need my own developer credentials to use Netsuite with Composio?

Yes, Netsuite requires you to configure your own OAuth credentials. Once set up, Composio handles token storage, refresh, and lifecycle management for you.

Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.