Skyenet MCP Ace
rating : 2 points
downloads : 7.2K
๐ SkyeNet-MCP-ACE
ServiceNow Background Script Execution for AI Agents - A Model Context Protocol (MCP) server that enables AI agents to execute server-side JavaScript directly on ServiceNow instances with context bloat reduction features.
๐ Quick Start
Prerequisites
- Node.js 20+ (system-wide installation recommended)
- ServiceNow instance with API access
- Root/sudo access for system-wide installation
Installation
# Clone the repository
git clone https://github.com/skyenet/skyenet-mcp-ace.git
cd skyenet-mcp-ace
# Bulletproof deployment (handles all edge cases)
sudo ./bulletproof-deploy.sh
# Verify installation
./bulletproof-verify.sh
Configuration
Create your ServiceNow credentials file:
# Copy the example file
cp servicenow-ace.env.example ~/.servicenow-ace.env
# Edit with your ServiceNow details
nano ~/.servicenow-ace.env
Required environment variables:
SNOW_INSTANCE=https://your-instance.service-now.com
SNOW_USERNAME=your-username
SNOW_PASSWORD=your-password
Codex Integration
Add to your Codex configuration (/etc/codex/config.toml):
[[mcp.servers.skyenet-ace]]
command = "/usr/local/sbin/skyenet-mcp-ace-server"
args = []
โจ Features
๐ป Available Tools
1. execute_background_script
Execute server-side JavaScript directly on ServiceNow instances.
Parameters:
script(string): The JavaScript code to executequiet(boolean, optional): Ultra-minimal response mode
Example:
// Get user information
var user = new GlideRecord('sys_user');
user.get('admin');
gs.print(user.getDisplayValue());
2. execute_table_operation
Perform CRUD operations on ServiceNow tables with context bloat reduction.
Parameters:
operation(string): GET, POST, PUT, DELETEtable(string): Table name (e.g., 'sys_user', 'incident')sys_id(string, optional): Record sys_id for specific operationssys_ids(array, optional): Multiple sys_ids for batch operationsfields(array, optional): Specific fields to retrievequery(string, optional): Encoded query stringlimit(number, optional): Maximum records to returnstrict_fields(boolean, optional): Enable strict field validationresponse_mode(string, optional): 'minimal' for reduced response size
Examples:
// Get user records
{
"operation": "GET",
"table": "sys_user",
"fields": ["sys_id", "user_name", "email"],
"limit": 10,
"response_mode": "minimal"
}
// Create incident
{
"operation": "POST",
"table": "incident",
"data": {
"short_description": "New incident",
"priority": "3"
}
}
3. execute_updateset_operation
Manage ServiceNow Update Sets with context bloat reduction.
Parameters:
operation(string): recent, contents, set_working, get_workingupdate_set_sys_id(string, optional): Update Set sys_idresponse_mode(string, optional): 'minimal' for reduced response sizequiet(boolean, optional): Ultra-minimal response mode
Examples:
// Get recent XML activity (minimal mode)
{
"operation": "recent",
"response_mode": "minimal"
}
// Set working update set
{
"operation": "set_working",
"update_set_sys_id": "abc123def456",
"quiet": true
}
๐ง Context Bloat Reduction Features
Minimal Mode
- Table API: Truncates large fields, limits records, removes redundant data
- Update Sets: Limits to 5 records, compact summaries, flattened structure
- Background Scripts: Truncates output, removes verbose logging
Quiet Mode
- Ultra-minimal responses: Only success/failure status
- No verbose output: Essential information only
- Reduced token usage: 90%+ reduction in response size
Response Size Examples
- Standard Table API: ~15KB
- Minimal Table API: ~700 bytes
- Quiet Update Set: ~300 bytes
- Minimal Update Set: ~2.6KB
๐ Maintenance
Update Installation
# Pull latest changes
git pull origin main
# Re-run bulletproof deployment
sudo ./bulletproof-deploy.sh
# Verify everything works
./bulletproof-verify.sh
Clean Reinstall
# Clean everything
sudo rm -rf /usr/local/lib/node_modules/skyenet-mcp-ace
sudo rm -f /usr/local/sbin/skyenet-mcp-ace-server
# Re-run bulletproof deployment
sudo ./bulletproof-deploy.sh
# Verify
./bulletproof-verify.sh
๐จ Troubleshooting
Server Won't Start
# Check server binary
ls -la /usr/local/sbin/skyenet-mcp-ace-server
# Test manually
/usr/local/sbin/skyenet-mcp-ace-server
# Check Node.js version
/usr/bin/node --version
Codex Timeout Issues
# Verify server works
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | /usr/local/sbin/skyenet-mcp-ace-server
# Check Codex configuration
cat /etc/codex/config.toml | grep skyenet
Permission Issues
# Fix permissions
sudo chmod +x /usr/local/sbin/skyenet-mcp-ace-server
# Verify ownership
sudo chown root:root /usr/local/sbin/skyenet-mcp-ace-server
๐ Project Structure
SkyeNet-MCP-ACE/
โโโ bulletproof-deploy.sh # Bulletproof deployment script
โโโ bulletproof-verify.sh # Comprehensive verification
โโโ src/ # TypeScript source code
โ โโโ index.ts # Main MCP server
โ โโโ servicenow/ # ServiceNow integration
โ โโโ utils/ # Utility functions
โโโ build/ # Compiled JavaScript
โโโ README.md # This file
๐ Security
- Credential Management: Separate from MCP-Connect
- Field Validation: Prevents injection attacks
- Error Handling: Secure error responses
- System-wide Installation: Proper permissions
๐ Performance
- Response Times: < 3 seconds for most operations
- Memory Usage: Optimized for AI agent interactions
- Token Efficiency: 90%+ reduction in context bloat
- Reliability: Bulletproof deployment ensures stability
๐ก Usage Tip
For detailed deployment instructions, see the bulletproof deployment script comments.

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
26.3K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
49.2K
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
16.5K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.9K
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
21.6K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
47.8K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
16.7K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
68.9K
4.7 points
ยฉ 2025AIBase
