Skip to main content
Glama

Genkit MCP

Official
by firebase
README.md908 B
# Ollama plugin for Genkit See [official documentation](https://genkit.dev/docs/integrations/ollama/) for more. ## Installing the plugin ```bash npm i --save genkitx-ollama ``` ## Using the plugin ```ts import { genkit } from 'genkit'; import { ollama } from 'genkitx-ollama'; const ai = genkit({ plugins: [ ollama({ models: [{ name: 'gemma' }], serverAddress: 'http://127.0.0.1:11434', // default local address }), ], }); async function main() { const { text } = await ai.generate({ prompt: 'hi Gemini!', model: 'ollama/gemma', }); console.log(text); } main(); ``` The sources for this package are in the main [Genkit](https://github.com/firebase/genkit) repo. Please file issues and pull requests against that repo. Usage information and reference details can be found in [Genkit documentation](https://genkit.dev/docs/plugins/ollama/). License: Apache 2.0

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/firebase/genkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server