.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
OPENAI_API_KEY
secret
OpenAI API key for GPT models (required)
TAVILY_API_KEY
secret
Tavily API key for web search (required)
EMBEDDING
GPT Researcher configuration Embedding model
STRATEGIC_LLM
LLM for strategic research
MAX_ITERATIONS
Maximum number of research iterations (To increase speed, use 2)
LOG_LEVEL
Server configuration
PORT
brew install flyctl && fly launch --from https://github.com/assafelovic/gptr-mcp
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/assafelovic/gptr-mcp
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/assafelovic/gptr-mcp