Uses Pydantic for data modeling of NetSuite entities including sales orders, invoices, customers, and items, enabling structured data validation and serialization.
NetSuite MCP Server
A Model Context Protocol (MCP) server for querying NetSuite sales orders and invoices with filtering capabilities.
Features
- Query sales orders and invoices
- Filter by customer, item, or date range
- Get summary statistics
- Customer and item-specific analysis
- Sample data for testing and development
Installation
- Install dependencies:
Usage
Running the Server
Or using the installed script:
Available Tools
1. Query Sales Orders
2. Query Invoices
3. Get Customer Summary
4. Get Item Summary
Available Resources
netsuite://sales-orders
- All sales ordersnetsuite://invoices
- All invoicesnetsuite://customers
- All customersnetsuite://items
- All items/products
Sample Data
The server includes sample data for testing:
- Customers: Acme Corp, TechStart Inc, Retail Plus
- Items: Widget A, Widget B, Service Pack, Gadget Pro
- Sales Orders: 3 sample orders with different statuses
- Invoices: 3 sample invoices linked to sales orders
Filter Options
All query tools support the following filters:
- customer_id: Exact customer ID match
- customer_name: Partial customer name match (case-insensitive)
- item_id: Exact item ID match
- item_name: Partial item name match (case-insensitive)
- status: Exact status match
- start_date: Filter records created after this date
- end_date: Filter records created before this date
- include_summary: Include summary statistics in response
Development
Project Structure
Extending the Server
To add new functionality:
- Add new data models to
models.py
- Extend the data service in
data_service.py
- Add new tools or resources to
server.py
License
MIT License
This server cannot be installed
A Model Context Protocol server that enables querying and analyzing NetSuite sales orders and invoices with filtering capabilities by customer, item, date range, and other parameters.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server enabling product searches across e-commerce platforms, price history tracking, and product specification-based searches using natural language prompts.Last updated -814PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides database interaction capabilities through SQLite, enabling users to run SQL queries, analyze business data, and automatically generate business insight memos.Last updated -616TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that allows execution of SOQL queries and interaction with Salesforce data through a standardized interface.Last updated -JavaScript
- AsecurityAlicenseAqualityA comprehensive Model Context Protocol server for SQL Server database operations that provides 10 powerful tools for database analysis, object discovery, and data manipulation.Last updated -106TypeScriptMIT License