Back to Home
DistributorX icon

switch-mcp-server

Verified Safe

by DistributorX

Overview

Provides comprehensive Enfocus Switch scripting documentation via MCP to AI assistants for development and context-aware help.

Installation

Run Command
npx github:DistributorX/switch-mcp-server

Environment Variables

  • DOC_ROOT

Security Notes

The server operates over stdin/stdout (stdio) primarily, limiting direct network attack vectors. It has zero external runtime dependencies, relying only on Node.js built-ins. Crucially, it implements robust path sanitization (uriToPath, sanitizeUri, abs.startsWith(DOC_ROOT)) to prevent directory traversal attacks when reading resources. JSON parsing includes error handling. There are no signs of 'eval' usage, arbitrary command execution from user input, or hardcoded secrets. The only minor potential risk could be denial-of-service if very large documentation files are repeatedly requested via 'resources/read' or 'search_docs' leading to high memory/CPU usage, but this is inherent to serving large documents and mitigated by the application's single-threaded Node.js nature and typical MCP client behavior.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens3000
Stars0
Forks0
Last Update2025-11-26

Tags

MCPDocumentationSwitch ScriptingAI AssistantJSON-RPC