-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Still hitting the same error unfortunately. The create_subflow tool itself seems to be gated behind NOW_ASSIST_ENABLED on the NowAIKit server side, regardless of instance or flags.
A couple of things worth trying:
Verify the env variable is actually being picked up — run this in your terminal to test directly:
bash NOW_ASSIST_ENABLED=true npx -y nowaikit
Check your NowAIKit version — the feature may require v2.0+:
bash npx -y nowaikit --version
Raise it on GitHub — this looks like it could be a bug where create_subflow incorrectly requires Now Assist even when it shouldn't: github.com/aartiq/nowaikit/issues
Would you like me to try an alternative approach — using create_flow_action with a script instead, which may not have the same restriction?
Below is config setup and Now Assist subscription exist for me and also enalbed in the config
{
"mcpServers": {
"Sandbox": {
"command": "node",
"args": [
"C:\Users\merugus\AppData\Roaming\npm\node_modules\nowaikit\dist\server.js",
"-y",
"nowaikit",
"--allow-write",
"--allow-cmdb",
"--allow-scripting",
"--allow-agentic"
],
"env": {
"SERVICENOW_INSTANCE_URL": "https://myinstance.service-now.com",
"SERVICENOW_AUTH_METHOD": "basic",
"WRITE_ENABLED": "true",
"SCRIPTING_ENABLED": "true",
"MCP_TOOL_PACKAGE": "full",
"SERVICENOW_BASIC_USERNAME": "admin",
"SERVICENOW_BASIC_PASSWORD": "admin",
"SERVICENOW_AUTH_MODE": "per-user",
"NOWASSIST_ENABLED": "true",
"SN_INSTANCE_ENVIRONMENT": "staging"
}
}
},
"preferences": {
"coworkScheduledTasksEnabled": false,
"ccdScheduledTasksEnabled": true,
"sidebarMode": "chat",
"bypassPermissionsModeEnabled": true,
"coworkWebSearchEnabled": true
}
}