Conversational ServiceNow Development Platform
Talk to your ServiceNow instance through Claude Code or OpenCode • 2 Unified MCP Servers • 411 ServiceNow Tools • BYOLLM Support • Complete UX Workspace Creation
Snow-Flow is a conversational ServiceNow development platform that bridges Claude Code with ServiceNow through specialized MCP (Model Context Protocol) servers. Instead of navigating ServiceNow's web interface, you develop through natural conversation with Claude Code, which orchestrates multi-agent workflows to handle complex ServiceNow operations.
- Claude Agent SDK Integration: Powered by @anthropic-ai/claude-agent-sdk for orchestration
- Unified MCP Servers: 2 consolidated servers with 411 tools for complete ServiceNow access
- Local Development Bridge: Edit ServiceNow artifacts locally with native development tools
- Machine Learning: TensorFlow.js neural networks for ServiceNow data analysis
- Conversational Interface: Develop ServiceNow solutions through natural language
- Universal ServiceNow Operations: Query any table, manage incidents, deploy widgets
- Local Artifact Editing: Pull ServiceNow artifacts to local files, edit with native tools, push back
- Claude Agent SDK Coordination: Orchestration managed by official Anthropic SDK
- Real Machine Learning: Neural networks for incident classification and anomaly detection
- Comprehensive API Coverage: 411 tools across all major ServiceNow modules
Want to use ANY LLM provider instead of just Claude? Snow-Flow now supports OpenCode - an open-source AI coding agent that works with 75+ LLM providers!
| Feature | OpenCode | Claude Code |
|---|---|---|
| LLM Support | 75+ providers | Claude only |
| Models | Claude, GPT, Gemini, Local | Claude only |
| Cost | Your API costs | $20/month Claude Pro |
| Offline | ✅ Yes (Ollama) | ❌ No |
# 1. Install OpenCode
npm install -g @opencode/cli
# 2. Install Snow-Flow
npm install -g snow-flow
# 3. Configure OpenCode for Snow-Flow
cd /path/to/snow-flow
opencode config import opencode-config.example.json
# 4. Configure .env with ServiceNow + LLM API keys
cp .env.example .env
# Edit .env with your ServiceNow credentials and LLM provider API keys
# 5. Start developing!
opencode💡 Tip: Set your preferred model in .env:
DEFAULT_LLM_PROVIDER=anthropic # or openai, google, ollama
DEFAULT_ANTHROPIC_MODEL=claude-sonnet-4
ANTHROPIC_API_KEY=your-key📚 Full Documentation: See README_OPENCODE.md and OPENCODE_SETUP.md for complete setup instructions.
# 1. FIRST: Install Claude Code
npm install -g @anthropic-ai/claude-code
# 2. Login and start Claude Code
claude login
cd /your/project/directory
claude --dangerously-skip-permissions# 2. THEN: Install Snow-Flow (while Claude Code is running)
npm install -g snow-flow# Initialize configuration
snow-flow init
# Authenticate with ServiceNow
snow-flow auth login
# Create anything in ServiceNow through conversation
snow-flow swarm "create incident dashboard widget with real-time charts"# Authenticate with ServiceNow
snow-flow auth login
# Verify connection
snow-flow auth status- Navigate to: System OAuth → Application Registry
- Click: New → "Create an OAuth API endpoint for external clients"
- Configure OAuth Application:
- Name:
Snow-Flow Integration(or any name you prefer) - Redirect URL:
http://localhost:3005/callback⚠️ MUST be exactly this! - Refresh Token Lifespan:
0(unlimited - recommended) - Access Token Lifespan:
1800(30 minutes)
- Name:
- Save - ServiceNow will auto-generate:
- Client ID (copy this)
- Client Secret (copy this - shown only once!)
- Create
.envfile in your project with:SNOW_INSTANCE=your-instance.service-now.com SNOW_CLIENT_ID=<your_client_id> SNOW_CLIENT_SECRET=<your_client_secret>
- Run:
snow-flow auth login- Opens browser automatically for ServiceNow login
- Redirects to
http://localhost:3005/callbackafter authentication - Stores OAuth tokens locally for future use
Why this exact redirect URL?
Snow-Flow starts a local OAuth callback server on port 3005. ServiceNow must redirect to exactly http://localhost:3005/callback - any mismatch (wrong port, missing /callback) will cause "Invalid redirect_uri" errors.
❌ "Could not find artifact with sys_id xyz..."
- Real cause: OAuth token expired (misleading error message)
- Solution:
snow-flow auth login - Note: Fixed in v4.5.3 with clear OAuth error messages
❌ Stdio connection errors
- Cause: Claude Code not running before Snow-Flow
- Solution: Start Claude Code first:
claude --dangerously-skip-permissions
❌ Permission errors
- Cause: Not logged into Claude Code
- Solution:
claude loginbefore using Snow-Flow
Snow-Flow's Queen Agent makes strategic decisions about task execution:
- Solo Mode: Simple tasks handled directly
- Team Mode: Complex tasks spawn specialized agent teams
- Parallel Execution: Multiple agents work simultaneously for maximum speed
Available Agent Types:
widget-creator- Service Portal widget developmentsecurity-specialist- ACL and compliance validationml-specialist- Machine learning model trainingperformance-optimizer- Code and query optimizationintegration-specialist- REST/SOAP integrations
Snow-Flow includes TensorFlow.js neural networks for ServiceNow data analysis through the swarm command:
# Train ML models and analyze ServiceNow data conversationally
snow-flow swarm "train incident classifier on last 6 months of data"
snow-flow swarm "predict change risk for upcoming release"
snow-flow swarm "detect anomalies in incident patterns"ML Capabilities (via swarm command):
- Incident Classification: LSTM networks for categorizing incidents
- Change Risk Assessment: Neural networks for change management
- Anomaly Detection: Autoencoder models for identifying unusual patterns
- Time Series Analysis: Forecasting for ServiceNow metrics
2 Unified MCP Servers (411 Tools):
- ServiceNow Unified Server (235+ tools): Complete ServiceNow operations including deployment, automation, platform dev, integrations, properties, security, reporting, ML, knowledge, catalog, change management, virtual agent, flows, workspaces, mobile, UI Builder, CMDB, events, HR, CSM, DevOps, and local development
- Snow-Flow Orchestration Server (176+ tools): Swarm coordination, agent spawning, task orchestration, neural training (TensorFlow.js), memory management, and performance tracking
Essential Tools:
snow_query_table- Query any ServiceNow table with flexible filteringsnow_pull_artifact- Pull ServiceNow artifacts to local files for editingsnow_deploy- Deploy widgets and artifacts with coherence validationml_train_incident_classifier- Train neural networks on ServiceNow datasnow_execute_script_with_output- Execute ServiceNow background scripts
Snow-Flow bridges ServiceNow with local development tools:
# Pull any ServiceNow artifact to local files
snow_pull_artifact({ sys_id: 'widget_sys_id', table: 'sp_widget' })
# Edit locally using Claude Code's native file tools:
# - Full search and replace across all files
# - Multi-file editing and refactoring
# - Git integration and version control
# - Advanced code navigation
# Push changes back with validation
snow_push_artifact({ sys_id: 'widget_sys_id' })Local Development Features:
- Native Editing: Use Claude Code's full editing capabilities
- File-based Development: Work with ServiceNow artifacts as local files
- Validation: Coherence checking before pushing back to ServiceNow
- Version Control: Integrate with Git workflows
- Multi-artifact Support: Widgets, scripts, flows, and more
Claude Agent SDK (@anthropic-ai/[email protected])
├── Manages MCP server lifecycle
├── Handles agent coordination
├── Provides intelligent task routing
└── Ensures resource optimization
Snow-Flow uses 2 unified MCP servers (411 tools total):
- ServiceNow Unified: All ServiceNow operations, deployment, automation, development, integrations, and advanced features
- Snow-Flow Orchestration: Swarm coordination, neural networks, memory management, and performance analytics
# Create a complete incident dashboard
snow-flow swarm "create incident dashboard with real-time incident counts by priority, ML-powered trend analysis, interactive charts and filtering, and mobile-responsive design"# Discover and optimize incident management process
snow-flow swarm "analyze incident management process and provide optimization recommendations"# Automated compliance audit
snow-flow swarm "perform SOX compliance audit and generate remediation plan"Snow-Flow configuration is automatically created by snow-flow init and stored in .mcp.json. All settings are managed through the init command - no manual configuration needed.
# ServiceNow instance
SNOW_INSTANCE=your-instance.service-now.com
# OAuth credentials
SNOW_CLIENT_ID=your-client-id
SNOW_CLIENT_SECRET=your-client-secret- Conversational Development: Build ServiceNow solutions through natural language
- Local Tool Integration: Use familiar development environments
- Multi-agent Coordination: Complex tasks handled by specialized agents
- Real-time Validation: Immediate feedback on ServiceNow artifacts
- Universal Operations: Query and manage any ServiceNow table or process
- Automated Analysis: ML-powered insights from ServiceNow data
- Batch Operations: Handle large-scale ServiceNow operations efficiently
- Process Intelligence: Understand ServiceNow workflows through data analysis
- Conversational Architecture: Design ServiceNow solutions through discussion with Claude
- Pattern Recognition: Identify and apply ServiceNow best practices automatically
- Cross-module Integration: Coordinate development across ServiceNow modules
- Risk Assessment: Analyze impact of changes before implementation
- Node.js: 18.0.0 or higher
- ServiceNow: Any supported version
- Memory: 4GB RAM recommended for ML training
- Storage: 1GB free space for models and artifacts
- Documentation: Comprehensive guides included
- GitHub: https://github.com/groeimetai/snow-flow
- NPM: https://www.npmjs.com/package/snow-flow
- Issues: Bug reports and feature requests welcome
MIT License - see LICENSE file for details.
Snow-Flow: Conversational ServiceNow development through Claude Code.