@genkit-ai/mcp 1.28.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/examples/client/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { googleAI } from '@genkit-ai/google-genai';
|
|
18
18
|
import { createMcpClient } from '@genkit-ai/mcp';
|
|
19
19
|
import { genkit } from 'genkit';
|
|
20
20
|
import { logger } from 'genkit/logging';
|
|
@@ -32,5 +32,5 @@ const everythingClient = createMcpClient({
|
|
|
32
32
|
|
|
33
33
|
const ai = genkit({
|
|
34
34
|
plugins: [googleAI(), everythingClient],
|
|
35
|
-
model:
|
|
35
|
+
model: googleAI.model('gemini-2.5-pro'),
|
|
36
36
|
});
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"author": "",
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@genkit-ai/
|
|
15
|
+
"@genkit-ai/google-genai": "file:../../../google-genai",
|
|
16
16
|
"@modelcontextprotocol/server-filesystem": "^0.5.1",
|
|
17
17
|
"@modelcontextprotocol/server-github": "^0.5.1",
|
|
18
18
|
"genkit": "file:../../../../genkit",
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"genai",
|
|
10
10
|
"generative-ai"
|
|
11
11
|
],
|
|
12
|
-
"version": "1.
|
|
12
|
+
"version": "1.29.0",
|
|
13
13
|
"description": "A Genkit plugin that provides interoperability between Genkit and Model Context Protocol (MCP). Both client and server use cases are supported.",
|
|
14
14
|
"main": "./lib/index.js",
|
|
15
15
|
"types": "./lib/index.d.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@modelcontextprotocol/sdk": "^1.13.0",
|
|
34
|
-
"genkit": "^1.
|
|
34
|
+
"genkit": "^1.29.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"get-port": "^5.1.0",
|