mirror of
https://github.com/aljazceru/mcp-gateway.git
synced 2025-12-17 05:04:24 +01:00
- Added optional debug configuration to `config.yaml` for logging levels. - Implemented Basic and Bearer token authentication methods in the gateway. - Updated `README.md` to include new authentication features and examples. - Integrated Winston for structured logging with customizable log levels. - Modified server command execution for Puppeteer and added YouTube server configuration. - Updated `package.json` and `package-lock.json` to include Winston as a dependency.
38 lines
853 B
YAML
38 lines
853 B
YAML
hostname: "0.0.0.0" # Listen on all interfaces by default
|
|
port: 3000
|
|
|
|
# Debug configuration (optional)
|
|
debug:
|
|
level: "info" # Possible values: "error", "warn", "info", "debug", "verbose"
|
|
|
|
# Authentication configuration (optional)
|
|
# auth:
|
|
# basic:
|
|
# enabled: true
|
|
# credentials:
|
|
# - username: "admin"
|
|
# password: "your-secure-password"
|
|
# bearer:
|
|
# enabled: true
|
|
# tokens:
|
|
# - "your-secure-token"
|
|
|
|
servers:
|
|
# run an MCP server with npx
|
|
filesystem:
|
|
command: npx
|
|
args:
|
|
- -y
|
|
- "@modelcontextprotocol/server-filesystem"
|
|
- "/home/aaron"
|
|
|
|
# run a an MCP server from local source
|
|
puppeteer:
|
|
command: tsx
|
|
args:
|
|
- "/home/aaron/AI/MCP-Servers/src/puppeteer/index.ts"
|
|
|
|
youtube:
|
|
command: tsx
|
|
args:
|
|
- "/home/aaron/AI/mcp-server-youtube-transcript/src/index.ts" |