API Key Setup
Get API Key
Sign up or log in at app.greptile.com and copy your API key.
MCP Client Configuration
Claude Desktop
Location:~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
Custom Applications
Direct HTTP Integration:Authentication Verification
Test Tools
Ask Claude to use Greptile tools:
- “What custom context does my organization have?”
- “List recent merge requests”
- “Search for security-related comments”
Common Authentication Errors
Invalid API Key:Security Best Practices
- Store API keys in environment variables, not code
- Use separate API keys for different environments
- Rotate API keys regularly
- Monitor API key usage in Greptile dashboard
- Restrict API key permissions to minimum required scope