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.
Nessuna recensione ancora. Sii il primo a recensire!
Accedi per unirti alla conversazione
Read a file from the filesystem. This action retrieves the content of a specified file.
Add two numbers together. Parameters: a (number), b (number)
A prompt that generates a happy response based on the provided action. Input parameter: action (string, optional, defaults to 'clap your hands')