other
Netsuite MCP Integration for Codex
Connect Netsuite to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Netsuite to Codex
Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.
Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with
--write=deny so Codex can inspect read-capable tools without receiving write access by default.
Netsuite MCP Config for Codex
Keep write access denied or ask-based unless the workspace is trusted.
{
"mcpServers": {
"kosmokrator-netsuite": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=netsuite",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=netsuite --write=deny Why Use KosmoKrator Here
Expose only Netsuite instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Netsuite Tools Visible to Codex
Codex sees stable MCP tool names generated from the Netsuite integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__netsuite__netsuite_list_customers | netsuite.netsuite_list_customers | Read | List customers from NetSuite ERP. Returns customer records with names, IDs, and basic details. Use limit and offset for pagination. |
integration__netsuite__netsuite_get_customer | netsuite.netsuite_get_customer | Read | Get detailed information for a single NetSuite customer by internal ID. Returns full customer record including contact details, addresses, and financial information. |
integration__netsuite__netsuite_create_customer | netsuite.netsuite_create_customer | Write | Create a new customer in NetSuite ERP. Provide at minimum the company name or first/last name. Additional fields like email, phone, subsidiary, and address can be included. |
integration__netsuite__netsuite_list_invoices | netsuite.netsuite_list_invoices | Read | List invoices from NetSuite ERP. Returns invoice records with amounts, statuses, customer references, and dates. Use limit and offset for pagination. |
integration__netsuite__netsuite_list_sales_orders | netsuite.netsuite_list_sales_orders | Read | List sales orders from NetSuite ERP. Returns sales order records with order details, line items, customer references, and statuses. Use limit and offset for pagination. |
integration__netsuite__netsuite_list_items | netsuite.netsuite_list_items | Read | List items (products and services) from NetSuite ERP. Returns item records with names, IDs, types, and pricing. Use limit and offset for pagination. |
integration__netsuite__netsuite_get_current_user | netsuite.netsuite_get_current_user | Read | Get the profile of the currently authenticated NetSuite user. Returns user details like name, email, role, and subsidiary. |