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
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Note: Use `init` command to switch to a working directory for existing Fluent pr
| `help` | Get help information about ServiceNow SDK commands | `command`: (Optional) The specific command to get help for |
| `upgrade` | Upgrade ServiceNow SDK to the latest version | `check`: (Optional) Only check for updates without upgrading, `debug`: (Optional) Enable debug - **disabled for now** |
| `auth` | Authenticate to a ServiceNow instance | `add`: (Optional) Instance URL to add, `type`: (Optional) Authentication method, `alias`: (Optional) Alias for the instance |
| `init` | Initialize a new ServiceNow application | `from`: (Optional) sys_id or path, `appName`: App name, `packageName`: Package name, `scopeName`: Scope name, `auth`: (Optional) Authentication alias |
| `init` | Initialize a new ServiceNow application | `from`: (Optional) sys_id or path, `appName`: App name, `packageName`: Package name, `scopeName`: Scope name, `auth`: (Optional) Authentication alias, `template`: (Optional) Project template (base, javascript.react, typescript.basic, typescript.react, javascript.basic) [new in now-sdk@v4] Select a template that defines the default application structure: `Basic now-sdk boilerplate`: An application with only the basic structure necessary for development in source code. `JavaScript now-sdk + basic`: An application configured for development in ServiceNow Fluent and JavaScript. `JavaScript now-sdk + fullstack React`: An application configured for development in ServiceNow Fluent, JavaScript, and React. `TypeScript now-sdk + basic`: An application configured for development in ServiceNow Fluent and TypeScript. TypeScript source files in the src/server directory are transpiled into JavaScript modules. `TypeScript now-sdk + fullstack React`: An application configured for development in ServiceNow Fluent, TypeScript, and React. TypeScript source files in the src/server directory are transpiled into JavaScript modules.|
| `build` | Build a ServiceNow application package | `source`: Path to source files, `frozenKeys`: (Optional) Whether to use frozen keys |
| `install` | Install a ServiceNow application to an instance | `source`: (Optional) Package path, `reinstall`: (Optional) Whether to reinstall, `auth`: (Optional) Authentication alias, `open-browser`: (Optional) Open browser after install, `info`: (Optional) Show info after install |
| `transform` | Transform ServiceNow metadata to Fluent source code | `from`: (Optional) Path to metadata, `directory`: (Optional) Package path, `preview`: (Optional) Preview only, `auth`: (Optional) Authentication alias |
Expand Down Expand Up @@ -154,6 +154,7 @@ Add MCP server configuration in Cursor settings:

1. `CMD + ,` to open settings, navigate to Cascade => MCP Servers => Manage MCPs => View raw config
2. Add configuration.

```json
{
"mcpServers": {
Expand All @@ -168,8 +169,8 @@ Add MCP server configuration in Cursor settings:
}
}
```
3. Refresh when back to Manage MCPs page.

3. Refresh when back to Manage MCPs page.

#### Gemini CLI

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 @@ -67,7 +67,7 @@ Fluent MCP is a Model Context Protocol (MCP) server that provides ServiceNow SDK
- `npx now-sdk transform`
- `npx now-sdk dependencies`

2.3.1 `npx now-sdk init [--from <sys_id or path>] [--appName <name>] [--packageName <name>] [--scopeName <name>] [--auth <alias>]`: Initialize a new ServiceNow application in the current directory. Details can be found by terminal command `npx now-sdk --help init`. Example: `npx now-sdk init --from dbce0f6a3b3fda107b45b5d355e45af6 --appName Example App --packageName example-app --scopeName x_snc_example --auth devuser1`
2.3.1 `npx now-sdk init [--from <sys_id or path>] [--appName <name>] [--packageName <name>] [--scopeName <name>] [--auth <alias>] [--template <template>]`: Initialize a new ServiceNow application in the current directory. In SDK v4, `appName`, `packageName`, and `scopeName` are optional and can be provided interactively. `--template` accepts one of: `base`, `javascript.react`, `typescript.basic`, `typescript.react`, `javascript.basic`. Details can be found by terminal command `npx now-sdk --help init`. Example: `npx now-sdk init --from dbce0f6a3b3fda107b45b5d355e45af6 --appName Example App --packageName example-app --scopeName x_snc_example --auth devuser1 --template typescript.react`
2.4 Build command:
2.4.1 `npx now-sdk build <source> [--frozenKeys <flag>]`: Compile source files and generate an installable package. Details can be found by terminal command `npx now-sdk --help build`. Example: `npx now-sdk build /path/to/package --frozenKeys true`
2.5 Install command:
Expand Down
Loading