r/Netsuite • u/Top_Pace_6904 • 2d ago
How are you preventing users from accessing restricted data with Claude or other MCP connections?
We're setting up Claude (in read-only) for our users now, but we're running into issues with permissions and data security.
For example, we want our customer service, purchasing, and marketing departments to be able to run reports and analysis based on sales order records. However, when we give their MCP role access to sales order records, a user can potentially export the entire customer list with addresses, phones, and emails, which is what we don't want to happen.
12
Upvotes
5
u/PercMaint 2d ago
You can set up a separate role for the claude MCP connector with the permissions you want it to have. Make sure the users normal role does not have permissions for the MCP connector. When they connect claude to netsuite it will ask what role they want to use, and the only role that would work with the mcp connector is the role you created.
4
u/Southern-Message-882 2d ago
tbh giving direct record-level access to sales orders will almost always expose the customer entity data attached to them. A safer route is revoking raw table permissions on that role and only exposing specific, sanitized saved searches that exclude the contact fields.
1
u/adultdaycare81 2d ago
MCP respects permissions. We have a couple roles for it
2
u/rowlje 2d ago
The connector shouldn’t be able to do anything anyone logged in as that role can’t do. Are you sure your access for the MCP connector is correct
2
u/Ok-Avocado-1425 2d ago
One of those considerations is Caludes access and the other is not trusting your team.
2
u/agentUi 1d ago
giving an mcp role direct read access to the sales order and customer records is always going to expose pii fields like emails and phone numbers because netsuite permissions are record level rather than column level. instead of exposing raw sales order tables to claude, restrict the integration role exclusively to pre built saved searches or locked down restlet endpoints that only return aggregated sku, date, and territory columns with customer contact fields stripped out completely.
1
u/No_Refrigerator_8636 1d ago
We cloned roles and gave them Claude access. So Claude can only do what the user was allowed to do anyhow.
1
u/Digitalmeesh Consultant 1d ago
Could maybe provide a custom tool?
1
u/rico_andrade 1d ago
Create custom MCPs with Celigo
1
u/Rahul-SuiteCloudDev 16h ago
What if we provide instruction to the AI agent to NEVER provide contact details for entity records?
1
u/stony-builds 3h ago
[cracks knuckles]
Our app, Kipper was born to do this. Best of all, we can do this for *non-netsuite* users, at a fraction of the price of a regular NetSuite license. So all of your sales, support, operations, etc can access record level information with their AI tools. We are strictly read-only so there's no risk of writing back to NetSuite.
We handle user provisioning and user security, with fine grained permissions that can restrict a user to a subsidiary, or a segment, or certain objects, or whatever you want. And your users can use their AI tools or chat on Slack/Teams/SMS. Shoot me a DM and I'll be glad to demo and set you up on an extended free trial. Or see our live demo, https://kipper.com/netsuite-claude-connector/