We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/firebase/genkit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
README.md•689 B
# OpenAI Sample.
## Setup environment
### How to Get Your OpenAI API Key
To use the OpenAI plugin, you need an OpenAI API key.
1. **Visit OpenAI Platform**: Go to [OpenAI API Keys](https://platform.openai.com/api-keys) and sign in.
2. **Create API Key**: Click on "Create new secret key".
3. **Add Credits**: You may need to add credits to your account.
For more details, check out the [official documentation](https://platform.openai.com/docs/quickstart).
Export the API key as env variable `OPENAI_API_KEY`:
```bash
export OPENAI_API_KEY=<Your api key>
```
```bash
uv venv
source .venv/bin/activate
```
## Run the sample
TODO
```bash
genkit start -- uv run src/main.py
```