Back to Home
andreswebs icon

mcbox

Verified Safe

by andreswebs

Overview

A pluggable MCP (Model Context Protocol) server for local AI agents to execute user-defined tools written in Bash or any other programming language.

Installation

Run Command
mcbox

Environment Variables

  • MCBOX_DATA_HOME
  • MCBOX_CONFIG_HOME
  • MCBOX_SERVER_CONFIG_FILE
  • MCBOX_TOOLS_CONFIG_FILE
  • MCBOX_TOOLS_LIB_FILE
  • MCBOX_CORE_LIB_FILE
  • MCBOX_TOOLS_FUNCTION_NAME_PREFIX
  • MCBOX_LOG_LEVEL
  • OTEL_LOG_LEVEL
  • XDG_CONFIG_HOME
  • XDG_DATA_HOME

Security Notes

The core server is designed to be lightweight and uses stdio for communication, limiting direct network exposure. It relies on JSON schemas for input validation and provides helper functions like `is_readable_file` to mitigate common shell vulnerabilities. However, the security largely depends on the user's implementation of custom tools in `tools.bash`. Improper sanitization of `jq --raw-output` results or unvalidated file paths in tool functions could lead to shell injection or path traversal vulnerabilities. Users must follow best practices for secure shell scripting when adding tools.

Similar Servers

Stats

Interest Score30
Security Score7
Cost ClassLow
Avg Tokens50
Stars1
Forks0
Last Update2025-12-03

Tags

MCP ServerBashjqAI Agent ToolsPluggable