-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
71 lines (55 loc) · 1.98 KB
/
.env.example
File metadata and controls
71 lines (55 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# MCP Hot-Reload Configuration Example
# Copy this file to .env and modify as needed
# ==============================================
# Basic MCP Server Configuration
# ==============================================
# Command to start your MCP server
MCP_SERVER_COMMAND=node
# Arguments passed to the MCP server command
# Examples:
# - Node.js: path/to/server.js
# - Python: -m my_mcp_server
# - Deno: run --allow-all server.ts
MCP_SERVER_ARGS=tests/fixtures/mcp_server_v1.js
# File to watch for changes (triggers server restart)
# Can be a single file or directory
MCP_WATCH_FILE=tests/fixtures/mcp_server_v1.js
# ==============================================
# Advanced Configuration
# ==============================================
# Debounce delay in milliseconds (prevents rapid restarts)
# Default: 2000 (2 seconds)
# MCP_DEBOUNCE_MS=2000
# Maximum time to wait for server startup (milliseconds)
# Default: 30000 (30 seconds)
# MCP_STARTUP_TIMEOUT_MS=30000
# Maximum time to wait for server shutdown (milliseconds)
# Default: 10000 (10 seconds)
# MCP_SHUTDOWN_TIMEOUT_MS=10000
# Log level for debugging
# Options: debug, info, warn, error
# Default: info
# MCP_LOG_LEVEL=info
# ==============================================
# Development Examples
# ==============================================
# Example 1: Python MCP Server
# MCP_SERVER_COMMAND=python
# MCP_SERVER_ARGS=-m my_mcp_server
# MCP_WATCH_FILE=src/my_mcp_server/
# Example 2: Deno MCP Server
# MCP_SERVER_COMMAND=deno
# MCP_SERVER_ARGS=run --allow-all server.ts
# MCP_WATCH_FILE=server.ts
# Example 3: Multiple files/directories
# MCP_WATCH_FILE=src/,config/settings.json,package.json
# Example 4: TypeScript compilation
# MCP_SERVER_COMMAND=npx
# MCP_SERVER_ARGS=tsx src/server.ts
# MCP_WATCH_FILE=src/
# ==============================================
# Port Configuration (Optional)
# ==============================================
# If your MCP server uses specific ports, document them here
# MCP_SERVER_PORT=3000
# MCP_ADMIN_PORT=3001