genkit-mcp-integration

Operate Genkit flows, runtimes, and traces through Model Context Protocol tools.

Updated Aug 17, 2026
One-click install
npx skills add https://github.com/DingJun1028/esggo-kv --skill genkit-mcp-integration-dingjun1028
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: genkit-mcp-integration
Source: https://github.com/DingJun1028/esggo-kv/tree/main/.agents/skills/genkit-mcp-integration
Command: npx skills add https://github.com/DingJun1028/esggo-kv --skill genkit-mcp-integration-dingjun1028

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Working with Genkit projects requires knowing flow input schemas, managing background runtimes, and debugging failed executions, which is error-prone when done blindly through manual commands. ## Core Features & Use Cases - Flow Discovery and Execution: List all defined Genkit flows with their input schemas via list_flows, then run them safely with run_flow using schema-validated JSON input. - Trace-Based Debugging: Retrieve detailed execution traces with get_trace using a traceId to diagnose errors and analyze performance instead of guessing from surface errors. - Runtime Lifecycle Control: Start, restart, or stop the Genkit development server with start_runtime, restart_runtime, and kill_runtime when connections fail. - Documentation Lookup: Query official Genkit guides and docs with get_usage_guide, search_genkit_docs, and read_genkit_docs to avoid outdated API usage. - Use Case: When a flow execution returns an unexpected result, extract the traceId from the response and call get_trace to pinpoint the failing step before changing any code. ## Quick Start Ask the agent to list all available Genkit flows and their input schemas, then run a specific flow with a JSON payload matching that schema.

Frequently Asked Questions about genkit-mcp-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a Genkit flow through MCP tools?▼

First call list_flows to get the exact input schema for the target flow, then call run_flow with the flowName and a JSON input string matching that schema. This schema-first approach prevents execution failures from malformed input.

How to debug a failed Genkit flow execution?▼

Extract the traceId returned by run_flow and pass it to get_trace to retrieve the detailed execution trace. Analyzing the trace reveals the failing step and performance data, which is more reliable than modifying code based on surface error messages.

What tools does the Genkit MCP server provide?▼

The server provides documentation tools (get_usage_guide, list_genkit_docs, search_genkit_docs, read_genkit_docs), flow tools (list_flows, run_flow, get_trace), and runtime tools (start_runtime, restart_runtime, kill_runtime).

Why does my Genkit flow connection fail?▼

Connection failures usually mean the Genkit runtime is not running. Use start_runtime to launch the development server or restart_runtime to recover an unhealthy process before retrying flow execution.

Can I look up Genkit documentation without leaving the agent?▼

Yes, use search_genkit_docs with keywords or get_usage_guide for a specific language such as js or go. The read_genkit_docs tool then returns the full content of a selected document.