@@ -65,7 +65,7 @@ compatibility with the modern JavaScript ecosystem.
6565## Installation
6666
6767``` bash
68- npm install @mcp- toolbox/core
68+ npm install @toolbox-sdk /core
6969```
7070
7171## Quickstart
@@ -74,7 +74,7 @@ Here's a minimal example to get you started. Ensure your Toolbox service is runn
7474
7575``` javascript
7676
77- import { ToolboxClient } from ' @mcp- toolbox/core' ;
77+ import { ToolboxClient } from ' @toolbox-sdk /core' ;
7878const client = new ToolboxClient (URL );
7979
8080async function quickstart () {
@@ -91,15 +91,15 @@ quickstart();
9191> [ !NOTE]
9292> This guide uses modern ES Module (` import ` ) syntax. If your project uses
9393> CommonJS, you can import the library using require: `const { ToolboxClient }
94- > = require('@mcp- toolbox/core ')`;.
94+ > = require('@toolbox-sdk /core ')`;.
9595
9696## Usage
9797
9898Import and initialize a Toolbox client, pointing it to the URL of your running
9999Toolbox service.
100100
101101``` javascript
102- import { ToolboxClient } from ' @mcp- toolbox/core' ;
102+ import { ToolboxClient } from ' @toolbox-sdk /core' ;
103103
104104// Replace with the actual URL where your Toolbox service is running
105105const URL = ' http://127.0.0.1:5000' ;
@@ -207,8 +207,8 @@ that fresh credentials or header values can be used.
207207You can configure these dynamic headers as seen below:
208208
209209``` javascript
210- import { ToolboxClient } from ' @mcp- toolbox/core' ;
211- import {getGoogleIdToken } from ' @mcp- toolbox/core/auth'
210+ import { ToolboxClient } from ' @toolbox-sdk /core' ;
211+ import {getGoogleIdToken } from ' @toolbox-sdk /core/auth'
212212
213213const URL = ' http://127.0.0.1:5000' ;
214214const getGoogleIdTokenGetter = () => getGoogleIdToken (URL );
@@ -237,8 +237,8 @@ For Toolbox servers hosted on Google Cloud (e.g., Cloud Run) and requiring
2372373 . ** Connect to the Toolbox Server**
238238
239239 ``` javascript
240- import { ToolboxClient } from ' @mcp- toolbox/core' ;
241- import {getGoogleIdToken } from ' @mcp- toolbox/core/auth'
240+ import { ToolboxClient } from ' @toolbox-sdk /core' ;
241+ import {getGoogleIdToken } from ' @toolbox-sdk /core/auth'
242242
243243 const URL = ' http://127.0.0.1:5000' ;
244244 const getGoogleIdTokenGetter = () => getGoogleIdToken (URL );
@@ -355,7 +355,7 @@ const authTools = await toolbox.loadToolset({"myAuth": getAuthToken})
355355### Complete Authentication Example
356356
357357` ` ` javascript
358- import { ToolboxClient } from ' @mcp- toolbox/core' ;
358+ import { ToolboxClient } from ' @toolbox-sdk /core' ;
359359
360360async function getAuthToken () {
361361 // ... Logic to retrieve ID token (e.g., from local storage, OAuth flow)
@@ -399,7 +399,7 @@ specific tool instance.
399399
400400` ` ` javascript
401401
402- import { ToolboxClient } from ' @mcp- toolbox/core' ;
402+ import { ToolboxClient } from ' @toolbox-sdk /core' ;
403403
404404const URL = ' http://127.0.0.1:5000' ;
405405let client = new ToolboxClient (URL );
@@ -456,7 +456,7 @@ const dynamicBoundTool = tool.bindParam("param", getDynamicValue)
456456[LangchainJS](https://js.langchain.com/docs/introduction/)
457457
458458` ` ` javascript
459- import {ToolboxClient } from " @mcp- toolbox/core"
459+ import {ToolboxClient } from " @toolbox-sdk /core"
460460import { tool } from " @langchain/core/tools" ;
461461
462462let client = ToolboxClient (URL )
@@ -485,7 +485,7 @@ Agents](https://langchain-ai.github.io/langgraphjs/reference/functions/langgraph
485485[LlamaindexTS](https://ts.llamaindex.ai/)
486486
487487` ` ` javascript
488- import {ToolboxClient } from " @mcp- toolbox/core"
488+ import {ToolboxClient } from " @toolbox-sdk /core"
489489import { tool } from " llamaindex" ;
490490
491491let client = ToolboxClient (URL )
@@ -514,7 +514,7 @@ workflows](https://ts.llamaindex.ai/docs/llamaindex/modules/agents/agent_workflo
514514
515515[GenkitJS](https://genkit.dev/docs/get-started/#_top)
516516` ` ` javascript
517- import {ToolboxClient } from " @mcp- toolbox/core"
517+ import {ToolboxClient } from " @toolbox-sdk /core"
518518import { genkit , z } from ' genkit' ;
519519import { googleAI } from ' @genkit-ai/googleai' ;
520520
0 commit comments