This Genkit MCP plugin, developed by Firebase, provides seamless integration between Genkit and the Model Context Protocol (MCP). It enables Genkit developers to both consume MCP tools, prompts, and resources as a client and expose Genkit functionality as an MCP server. The client automatically discovers and registers available MCP actions with Genkit, while the server exposes Genkit tools and prompts via MCP. Built with TypeScript, it offers flexible configuration options for connecting to MCP servers, including local process spawning and remote connections. The implementation handles parsing and coercion of MCP responses for compatibility with Genkit's structured approach. It is particularly useful for developers looking to extend Genkit's capabilities with external MCP-compatible services or expose their Genkit-based AI assistants as MCP servers.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Add two numbers together. Parameters: a (number), b (number)
A prompt that expresses happiness. Default action is 'clap your hands'.
Retrieve custom resource content. No parameters.
Fetch the contents of a file specified by its URI. Parameters: uri (string)