mcp-netsuite-practice
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-netsuite-practiceHow much stock do we have for SKU ASAFE-BARRIER-01?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP NetSuite Practice
Python MCP server that exposes read-only NetSuite tools for agents such as Claude Desktop or Claude Code. It lets an LLM query warehouse stock and order status without putting API keys in the client.
Tool | Arguments | Description |
|
| Available units for a SKU in warehouse |
|
| Current status of an order |
| (none) | Admin-only mock catalog reload (RBAC demo) |
NetSuite access goes through a stable client interface. Local development uses a mock with sample inventory data; the same interface can later target a real sandbox via environment variables.
Product specification: project.md.
Agent quality harness: AGENTS.md (also CLAUDE.md).
Stack
Python 3.12+
Official
mcpSDK (stdioand HTTP/SSE)FastAPI + Uvicorn for remote transport
OAuth2 authorization-code + PKCE (demo IdP) and JWT bearer auth
Pydantic / pydantic-settings for schemas and config
Docker, Kubernetes manifests, Terraform module for cluster deploy
Related MCP server: Constructoo MCP Server
Architecture
flowchart TD
Agent[Agent: Claude Desktop / Claude Code]
OAuth[OAuth2 PKCE demo IdP]
MCP[MCP Server FastAPI SSE]
RBAC[RBAC by role]
Tools[Tools: stock / order / admin]
Schemas[Pydantic schemas]
Client[NetSuite client interface]
Mock[Mock data]
Sandbox[NetSuite sandbox]
Agent -->|stdio local| MCP
Agent -->|HTTP SSE + Bearer JWT| MCP
Agent --> OAuth
OAuth -->|access token| Agent
MCP --> RBAC
RBAC --> Tools
MCP --> Schemas
Tools --> Client
Client --> Mock
Client -.-> SandboxThe MCP server exposes typed tools to the agent. Remote mode validates a JWT from the PKCE flow and enforces least privilege (for example sales cannot call admin_reload_catalog). Tools call a NetSuite client interface so the protocol layer stays decoupled from the ERP.
How to use
Requirements: Python 3.12+, uv.
Local stdio (Claude Desktop / Claude Code)
uv sync
uv run python -m mcp_netsuite_practice{
"mcpServers": {
"netsuite-practice": {
"command": "uv",
"args": [
"--directory",
"C:/Users/antonio/Desktop/MCP-netsuite-practice",
"run",
"python",
"-m",
"mcp_netsuite_practice"
]
}
}
}Example prompts:
“How much stock do we have for SKU BARRIER-01?”
“What is the status of order SO-10042?”
Remote SSE (FastAPI)
cp .env.example .env
uv run python -m mcp_netsuite_practice --transport sseEndpoints:
Path | Purpose |
| Liveness/readiness |
| PKCE authorize (demo login via query params) |
| Exchange code + |
| MCP SSE transport |
| MCP SSE message endpoint |
Obtain a token (PKCE), then call MCP with Authorization: Bearer <token>.
Roles: sales, ops, admin. Sales may use stock/order tools only.
Docker
docker compose up --buildKubernetes / Terraform
Manifests:
deploy/k8s/Terraform module:
deploy/terraform/(see its README)
Variable | Purpose |
|
|
| Issuer / resource base URL for OAuth metadata |
| HS256 signing secret |
| Public PKCE client id |
| Enable bearer auth on SSE ( |
|
|
uv run pytestMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.6MIT
- FlicenseNot gradedqualityDmaintenanceMock MCP server for validating Constructoo Copilot data access, exposing read-only tools like counting customer properties, retrieving project status, and fetching appointments.
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server providing access to NetSuite data through OAuth 2.0 with PKCE authentication. Works seamlessly with any MCP-compatible client including Claude Code, Cursor IDE, and Gemini CLI.23419MIT
- FlicenseNot gradedqualityBmaintenanceDemo MCP server that exposes order and customer data as read-only tools for AI assistants, simulating a business API or internal data source.
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
MCP server exposing Kettle Logic insight articles & industry guidance as tools + resources.
A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/awnt9/mcp-netsuite-practice'
If you have feedback or need assistance with the MCP directory API, please join our Discord server