-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.env.example
More file actions
89 lines (70 loc) · 3.32 KB
/
.env.example
File metadata and controls
89 lines (70 loc) · 3.32 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Environment Variables Template
# Copy this file to .env and fill in your personal credentials
# IMPORTANT: Add .env to .gitignore - never commit secrets!
# =============================================================================
# REQUIRED - MCP Server Credentials
# =============================================================================
# Apidog MCP Server
# Get your personal token from: https://app.apidog.com/settings/tokens
# Used by: api-documentation-analyzer agent, /api-docs command
APIDOG_API_TOKEN=your-personal-apidog-token-here
# Figma MCP Server
# Get your personal token from: https://www.figma.com/settings
# Click "Personal Access Tokens" → Generate new token
# Used by: /import-figma command
FIGMA_ACCESS_TOKEN=your-personal-figma-token-here
# OpenRouter API (for Claudish CLI tool)
# Get your API key from: https://openrouter.ai/keys
# Used by: External AI model calls (Codex, Grok, GPT-5, etc.)
# Used by: /implement command (multi-model plan review, code review, design validation)
OPENROUTER_API_KEY=sk-or-v1-your-key-here
# =============================================================================
# OPTIONAL - Additional MCP Servers
# =============================================================================
# GitHub MCP Server (optional)
# Get from: https://github.com/settings/tokens
# Scopes needed: repo, read:user
# Used by: GitHub operations, repository management
# GITHUB_PERSONAL_ACCESS_TOKEN=ghp_your-github-token-here
# PostgreSQL Database (optional)
# Format: postgresql://user:password@host:port/database
# Used by: Database MCP server tools
# POSTGRES_CONNECTION_STRING=postgresql://localhost/mydb
# =============================================================================
# OPTIONAL - Tool Configuration
# =============================================================================
# Chrome Browser Path (optional, usually auto-detected)
# Only needed if Chrome is installed in non-standard location
# Used by: ui-manual-tester agent, browser-debugger skill
# CHROME_EXECUTABLE_PATH=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
# Codex CLI API Key (optional, only if using paid tier)
# Get from: https://console.anthropic.com
# Used by: senior-code-reviewer-codex agent
# CODEX_API_KEY=your-codex-api-key-here
# =============================================================================
# SETUP INSTRUCTIONS
# =============================================================================
# 1. Copy this file to .env:
# cp .env.example .env
# 2. Edit .env and add your personal tokens
# nano .env
# 3. Load environment variables:
# source .env
# 4. Verify configuration:
# /configure-mcp apidog
# 5. Test MCP connections:
# npx -y @apidog/mcp-server --token $APIDOG_API_TOKEN --test-connection
# npx -y @modelcontextprotocol/server-figma --token $FIGMA_ACCESS_TOKEN --test
# =============================================================================
# SECURITY NOTES
# =============================================================================
# ✅ DO:
# - Keep .env local (add to .gitignore)
# - Use personal tokens (not shared team tokens)
# - Regenerate tokens if compromised
# - Use different tokens for different projects
# ❌ DON'T:
# - Commit .env to git
# - Share tokens via Slack/email
# - Use production tokens for development
# - Hardcode tokens in scripts