i have been trying to use the ai connector with wi...
# ai-netsuite
b
i have been trying to use the ai connector with windsurf. My first step is to test the mcp server by using postman. I had a message from netsuite saying "*Access via login has been disabled for this role".* My role is configured with MCP Standard and Login with OAuth 2.0 access. Do you know the reason of this message? And what I should change?
r
You are not using Admin role, right?
m
@betremju please refer to our blog A Setup Guide for NetSuite AI Connector with Postman: API Integration Tutorial and check if you're not missing any step.
b
Thanks for the answers. Yes I have been using this guide (very well done). I had successfully authentified but when i do a post method asking the tools, I have an empty list : tools [ ]. Do you have any hint? (and yes i am admin, but i have a second role with mcp standard and log oauth2.0 access.
m
I assume you followed all the steps correctly. If you follow our other blog Connecting MCP with ChatGPT: A Complete Guide, in the appendix section there is one troubleshooting step you can try.
b
Thanks @Mohammad Sharaf Ali. The guide point to restriction on the SuiteApps folder. I checked and there is no restriction set on the SuiteApps folder and the com.netsuite.mcpstandardtools folder.
m
This appears to be a straightforward process. You install the SuiteApp. Then create a custom role with all the permissions (as in the last article shared), and assign that to your user. Then in Postman (assuming all details in auth are set up correctly) you log in and grant access to the client which in turn will return you an access token. Finally from Postman you make a
tools/list
call to get all exposed tools. That's it! Try with the
method: initialize
and it should return your server
protocolVersion: 2025-06-18
.