# Authentication
All API requests require Bearer token authentication.
## Headers
```
Authorization: Bearer YOUR_TOKEN_HERE
```
## Token Generation
Tokens are generated on environment creation and have a 90-day expiration.
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/statespace-tech/toolfront'
If you have feedback or need assistance with the MCP directory API, please join our Discord server