by modesty
Provides a stdio MCP server that exposes all ServiceNow Fluent SDK commands, API specifications, code snippets, and instructional resources for seamless integration with AI‑driven development environments.
Fluent MCP Server bridges the ServiceNow Fluent SDK with modern AI assistants and IDEs by implementing the Model Context Protocol. It makes commands such as init, build, install, transform, and others accessible through natural‑language prompts and returns structured resources like API specs, snippets, and step‑by‑step instructions.
npx command:
npx -y @modesty/fluent-mcp
fluent-mcp server (examples for Claude Desktop, VS Code Copilot Agent, Cursor, Windsurf, Gemini CLI are provided in the README). The client will start the stdio process and communicate via MCP.sn-spec://business-rule. The server translates these into Fluent CLI commands, runs them, and returns the output or the requested URI content.auth command to add ServiceNow instance aliases, then reference the alias in subsequent commands (install, transform, etc.).version, help, auth, init, build, install, upgrade, dependencies, transform).auth, init, dependencies).sn-spec://{metadataType} – API specifications.sn-instruct://{metadataType} – Best‑practice instructions.sn-snippet://{metadataType}/{snippetId} – Ready‑to‑use code examples.sn-prompt://{promptId} – Development guides.npx.Q: Do I need to install the Fluent SDK separately?
A: No. The MCP server runs the SDK internally via the npx @modesty/fluent-mcp command.
Q: Which Node version is required? A: Node.js 22.15.1 or later, with npm 11.4.1 or newer.
Q: How do I change the working directory for a session?
A: Include the desired path in your initial prompt (e.g., "Set Fluent working directory to /path/to/project") or specify init with the from/appName parameters.
Q: Can I use the server offline?
A: Yes, once the package is downloaded via npx, all commands run locally without external network access.
Q: What if I need a custom environment variable (e.g., API key)?
A: Add it to the env object in the client’s MCP configuration; the server will inherit the process environment.
An MCP server that brings ServiceNow Fluent SDK capabilities to AI-assisted development environments. Enables natural language interaction with ServiceNow SDK commands, API specifications, code snippets, and development resources.
auth, init, build, install, dependencies, transform, download, clean, packbasic and oauth authentication with profile managementThis MCP server implements the complete Model Context Protocol specification with the following capabilities:
Sampling (MCP 2024-11-05) - Leverages client LLM for intelligent error analysis when SDK commands fail
FLUENT_MCP_ENABLE_ERROR_ANALYSIS environment variableElicitation (MCP 2024-11-05) - Interactive parameter collection for complex workflows
init_fluent_app - Prompts for missing project parameters (workingDirectory, template, appName, etc.)Session Management - Tracks working directory per session for multi-project workflows
Root Fallback - Automatically falls back to MCP root context when no session directory is set
Error Handling - Comprehensive error messages with actionable guidance
Type Safety - Full TypeScript implementation with strict typing
# Test with MCP Inspector
npx @modelcontextprotocol/inspector npx @modesty/fluent-mcp
# Or use in your MCP client (see Configuration below)
Example prompt:
Create a new Fluent app in ~/projects/time-off-tracker to manage employee PTO requests
| Tool | Description | Key Parameters |
|---|---|---|
sdk_info |
Get SDK version, help, or debug info | flag (-v/-h/-d), command (optional) |
manage_fluent_auth |
Manage instance authentication profiles | add, list, delete, use, type (basic/oauth) |
init_fluent_app |
Initialize or convert ServiceNow app | workingDirectory (required), template, from (optional) |
build_fluent_app |
Build the application | debug (optional) |
deploy_fluent_app |
Deploy to ServiceNow instance | auth (optional), debug (optional) |
fluent_transform |
Convert XML to Fluent TypeScript | from, auth (optional) |
download_fluent_dependencies |
Download dependencies and type definitions | auth (optional) |
download_fluent_app |
Download metadata from instance | directory, incremental (optional) |
clean_fluent_app |
Clean output directory | source (optional) |
pack_fluent_app |
Create installable artifact | source (optional) |
Note:
manage_fluent_auth,init_fluent_app, anddownload_fluent_dependenciesare interactive commands. Useinit_fluent_appto establish working directory context for subsequent commands.
Standardized URI patterns following MCP specification:
| Resource Type | URI Pattern | Example | Purpose |
|---|---|---|---|
| API Specs | sn-spec://{type} |
sn-spec://business-rule |
API documentation and parameters |
| Instructions | sn-instruct://{type} |
sn-instruct://script-include |
Best practices and guidance |
| Code Snippets | sn-snippet://{type}/{id} |
sn-snippet://acl/0001 |
Practical code examples |
| Prompts | sn-prompt://{id} |
sn-prompt://coding_in_fluent |
Development guides |
Core Types: acl, application-menu, business-rule, client-script, cross-scope-privilege, form, list, property, role, scheduled-script, script-action, script-include, scripted-rest, service-portal, table, ui-action, ui-page, user-preference
Table Types: column, column-generic
ATF (Automated Test Framework): atf-appnav, atf-catalog-action, atf-catalog-validation, atf-catalog-variable, atf-email, atf-form, atf-form-action, atf-form-declarative-action, atf-form-field, atf-reporting, atf-rest-api, atf-rest-assert-payload, atf-server, atf-server-catalog-item, atf-server-record
Requirements: Node.js 22.15.1+, npm 11.4.1+
Add to your MCP client configuration file:
{
"mcpServers": {
"fluent-mcp": {
"command": "npx",
"args": ["-y", "@modesty/fluent-mcp"],
"env": {
"SN_INSTANCE_URL": "https://your-instance.service-now.com",
"SN_AUTH_TYPE": "oauth"
}
}
}
}
Client-Specific Locations:
~/Library/Application Support/Claude/claude_desktop_config.json.vscode/mcp.json (use Command Palette: MCP: Add Server...)~/.gemini/settings.jsonVSCode note: For VSCode, the JSON structure uses
"mcp": { "servers": { ... } }instead of"mcpServers".
Environment Variables:
SN_INSTANCE_URL - ServiceNow instance URL (optional, can use auth profiles instead)SN_AUTH_TYPE - Authentication method: basic or oauth (optional)FLUENT_MCP_ENABLE_ERROR_ANALYSIS - Enable AI error analysis (default: true)FLUENT_MCP_MIN_ERROR_LENGTH - Minimum error length for analysis (default: 50)Setup Authentication
Create a new auth profile for https://dev12345.service-now.com with alias dev-instance
Initialize Project
Create a new Fluent app in ~/projects/asset-tracker for IT asset management
Develop with Resources
Show me the business-rule API specification and provide an example snippet
Build and Deploy
Build the app with debug output, then deploy to dev-instance
The MCP Inspector provides a web interface for testing MCP servers.
# Test published package
npx @modelcontextprotocol/inspector npx @modesty/fluent-mcp
# Or for local development
npm run build && npm run inspect
Objective: Access API specs and code snippets for business rules
Steps:
sn-spec://business-rule in the resource listsn-snippet://business-rule/0001Expected Results:
Objective: Verify SDK version and help information retrieval
Steps:
sdk_info from the tool listflag parameter to -vflag parameter to -hcommand parameter to buildExpected Results:
MIT
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
{
"mcpServers": {
"fluent-mcp": {
"command": "npx",
"args": [
"-y",
"@modesty/fluent-mcp"
],
"env": {}
}
}
}claude mcp add fluent-mcp npx -y @modesty/fluent-mcp