Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 25 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ Resources can be accessed by direct URI or through the `resources/list` method.
"mcpServers": {
"fluent-mcp": {
"command": "npx",
"args": ["-y", "@modesty/fluent-mcp"]
"args": ["-y", "@modesty/fluent-mcp"],
"env": {
"SN_INSTANCE_URL": "http://localhost:8080",
"SN_AUTH_TYPE": "oauth"
}
}
}
}
Expand All @@ -116,7 +120,11 @@ Resources can be accessed by direct URI or through the `resources/list` method.
"fluent-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@modesty/fluent-mcp"]
"args": ["-y", "@modesty/fluent-mcp"],
"env": {
"SN_INSTANCE_URL": "http://localhost:8080",
"SN_AUTH_TYPE": "oauth"
}
}
}
}
Expand All @@ -132,7 +140,11 @@ Add MCP server configuration in Cursor settings:
"mcpServers": {
"fluent-mcp": {
"command": "npx",
"args": ["-y", "@modesty/fluent-mcp"]
"args": ["-y", "@modesty/fluent-mcp"],
"env": {
"SN_INSTANCE_URL": "http://localhost:8080",
"SN_AUTH_TYPE": "oauth"
}
}
}
}
Expand All @@ -147,7 +159,11 @@ Add MCP server configuration in Cursor settings:
"mcpServers": {
"fluent-mcp": {
"command": "npx",
"args": ["-y", "@modesty/fluent-mcp"]
"args": ["-y", "@modesty/fluent-mcp"],
"env": {
"SN_INSTANCE_URL": "http://localhost:8080",
"SN_AUTH_TYPE": "oauth"
}
}
}
}
Expand All @@ -167,7 +183,11 @@ Configure in `~/.gemini/settings.json` or `./.gemini/settings.json`:
"args": [
"-y",
"@modesty/fluent-mcp"
]
],
"env": {
"SN_INSTANCE_URL": "http://localhost:8080",
"SN_AUTH_TYPE": "oauth"
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion doc/prd-fluent-mcp-servicenow.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Fluent MCP is a Model Context Protocol (MCP) server that provides ServiceNow SDK
2.3 Init command:
prerequisites:
- Change the current working directory to the directory where you want to create the ServiceNow application.
- The current working directory must not already contain a ServiceNow application, meaning it must not contain a `now.config.json` file, and it's package.json (if exists) must not have dependencies for `@servicenow/now-sdk` or `@servicenow/now-sdk-cli`. Otherwise, return a message indicating that the current directory already contains a Fluent (ServiceNow SDK) application, and tell the user current scope name and package name.
- The current working directory must not already contain a ServiceNow application, meaning it must not contain a `now.config.json` file, and it's package.json (if exists) must not have dependencies for `@servicenow/sdk`. Otherwise, return a message indicating that the current directory already contains a Fluent (ServiceNow SDK) application, and tell the user current scope name and package name.
- working directory handling:
- If working directory is provided
- If the provided working directory doesn't exist, create it, save it as the working directory for the session, then move onto command execution
Expand Down
Loading