Skip to main content
Glama
.env.exampleβ€’1.96 kB
# SnapBack MCP Server - Environment Configuration Template # # Copy to .env.local, .env.staging, or .env.production # For development: cp .env.example .env.local # # The MCP (Model Context Protocol) server provides AI integration # # IMPORTANT: Never commit .env.local, .env.staging, .env.production # Add to .gitignore: .env.local, .env.staging, .env.production # ================================ # Environment Identification # ================================ # Options: development | staging | production NODE_ENV=development # ================================ # API Configuration # ================================ # SnapBack API server URL # Development: http://localhost:3001 # Staging: https://api.staging.snapback.dev # Production: https://api.snapback.dev API_URL=http://localhost:3001 # ================================ # Authentication # ================================ # API Key for MCP server authentication # Format: sk_live_* (production) or sk_test_* (development) API_KEY=sk_test_your_mcp_api_key_here # ================================ # Database Configuration # ================================ # PostgreSQL connection for direct database access DATABASE_URL=postgresql://snapback:snapback@localhost:5432/snapback_dev # ================================ # MCP Server Configuration # ================================ # Server name and version MCP_SERVER_NAME=snapback-mcp MCP_SERVER_VERSION=1.0.0 # ================================ # Logging # ================================ # Log level: debug, info, warn, error LOG_LEVEL=info # ================================ # Feature Flags # ================================ # Enable specific MCP capabilities ENABLE_FILE_OPERATIONS=true ENABLE_SNAPSHOT_OPERATIONS=true ENABLE_ANALYTICS=true # ================================ # Development/Testing Only # ================================ # Mock API responses (for testing without real API) MOCK_API=false # Enable debug mode DEBUG=false

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/snapback-dev/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server