Skip to main content
Glama

Genkit MCP

Official
by firebase
dev.nix1.26 kB
## Default Nix Environment for Typescript + Gemini Examples ## Requires the sample to be started with npx run genkit:dev # To learn more about how to use Nix to configure your environment # see: https://developers.google.com/idx/guides/customize-idx-env { pkgs, ... }: { # Which nixpkgs channel to use. channel = "stable-24.05"; # or "unstable" # Use https://search.nixos.org/packages to find packages packages = [ pkgs.nodejs_20 pkgs.util-linux ]; # Sets environment variables in the workspace env = { }; idx = { # Search for the extensions you want on https://open-vsx.org/ and use "publisher.id" extensions = [ ]; # Workspace lifecycle hooks workspace = { # Runs when a workspace is first created onCreate = { npm-install = "npm run setup"; default.openFiles = [ "README.md" "server/src/index.ts" ]; }; onStart = { npm-run-server = "npm run start:server:idx"; }; }; previews = { enable = true; previews = { web = { cwd = "genkit-app"; command = ["npm" "run" "start" "--" "--port" "$PORT"]; env = { PORT = "$PORT"; }; manager = "web"; }; }; }; }; }

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