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•663 B
An example demonstrating how to manage prompts using Genkit's prompt loading system.
## Setup environment
Obtain an API key from [ai.dev](https://ai.dev).
Export the API key as env variable `GEMINI_API_KEY` in your shell
configuration.
```bash
export GEMINI_API_KEY='<Your api key>'
```
## Run the sample
```bash
genkit start -- uv run src/main.py
```
## Prompt Structure
- `prompts/`: Contains `.prompt` files (using [Dotprompt](https://genkit.dev/docs/dotprompt)).
- `prompts/_shared_partial.prompt`: A partial that can be included in other prompts.
- `prompts/nested/nested_hello.prompt`: A prompt demonstrating nested structure and partial inclusion.