# MCP Server Authentication
# The MCP server uses JWT tokens that contain Reddit OAuth credentials
# You must obtain a valid MCP JWT token through the OAuth flow:
# 1. Start the MCP server
# 2. Make an authenticated request to trigger OAuth flow
# 3. Authorize with Reddit
# 4. Exchange authorization code for MCP JWT token
# 5. Use the MCP JWT token here (valid for 24 hours)
# REQUIRED: MCP JWT access token (contains embedded Reddit OAuth tokens)
MCP_ACCESS_TOKEN=your-mcp-jwt-token-here
# Server configuration
PORT=3000
MCP_BASE_URL=http://127.0.0.1:3000
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/ozipi/brainloop-mcp-server-v2'
If you have feedback or need assistance with the MCP directory API, please join our Discord server