Back to Home
director-run icon

director

by director-run

Overview

Director is a Model Context Protocol (MCP) middleware that allows AI agents to manage and utilize playbooks, which are collections of MCP tools, prompts, and configurations.

Installation

Run Command
bun run cli serve

Environment Variables

  • GATEWAY_PORT
  • DATABASE_URL
  • API_KEY
  • LOG_LEVEL
  • NODE_ENV
  • TELEMETRY_WRITE_KEY
  • TELEMETRY_ENABLED

Security Notes

The default empty `API_KEY` in `apps/registry/src/config.ts` makes the registry's protected endpoints (`purge`, `updateEntry`, `populate`, `enrich`, `stats`) publicly accessible by default. The `stdio` transport, a core feature, inherently allows execution of arbitrary shell commands. While designed for running trusted MCP servers, it can be a command injection vector if user-supplied parameters are not carefully sanitized, or if registry entries are malicious. Development configurations include hardcoded passwords (e.g., `POSTGRES_PASSWORD`, sandbox VM `DEFAULT_PASSWORD`). The sandbox is explicitly for running untrusted code in a VM, acknowledging security concerns.

Similar Servers

Stats

Interest Score89
Security Score3
Cost ClassLow
Stars430
Forks48
Last Update2025-12-03

Tags

AI AgentsMCP GatewayTool OrchestrationClient ConfigurationPlaybooksLocal-FirstOAuth