MCP ExplorerExplorer

Mcp Toolbox Sdk Js

@googleapison 16 days ago
1 Apache-2.0
FreeCommunity
AI Systems
#databases#genai#langchain#langchain-js#llamaindex#llms#mcp#mcp-client
Javascript SDK for interacting with the MCP Toolbox for Databases.

Overview

What is Mcp Toolbox Sdk Js

mcp-toolbox-sdk-js is a JavaScript SDK designed for interacting with the MCP Toolbox, allowing developers to integrate its functionalities into their applications, particularly those related to databases.

Use cases

Use cases include building applications that require database CRUD operations, integrating AI functionalities into existing database systems, and developing data-driven applications leveraging the MCP Toolbox.

How to use

To use mcp-toolbox-sdk-js, developers need to install the SDK via npm, import it into their NodeJS application, and then utilize its methods to interact with the MCP Toolbox functionalities.

Key features

Key features include seamless integration with MCP Toolbox, support for various database operations, and compatibility with Gen AI applications.

Where to use

mcp-toolbox-sdk-js can be used in any application that requires database interactions, especially in the context of Gen AI applications and data management solutions.

Content

MCP Toolbox
Logo

MCP Toolbox SDKs for JS

License: Apache
2.0

This repository contains JS SDKs designed to seamlessly integrate the
functionalities of the MCP
Toolbox
into your Gen AI
applications. These SDKs allow you to load tools defined in Toolbox and use them
as standard JS functions or objects within popular orchestration frameworks
or your custom code.

This simplifies the process of incorporating external functionalities (like
Databases or APIs) managed by Toolbox into your GenAI applications.

Overview

The MCP Toolbox service provides a centralized way to manage and expose tools
(like API connectors, database query tools, etc.) for use by GenAI applications.

These JS SDKs act as clients for that service. They handle the communication needed to:

  • Fetch tool definitions from your running Toolbox instance.
  • Provide convenient JS objects or functions representing those tools.
  • Invoke the tools (calling the underlying APIs/services configured in Toolbox).
  • Handle authentication and parameter binding as needed.

By using these SDKs, you can easily leverage your Toolbox-managed tools directly
within your JS applications or AI orchestration frameworks.

Which Package Should I Use?

Choosing the right package depends on how you are building your application:

  • @mcp-toolbox/core:
    This is a framework agnostic way to connect the tools to popular frameworks
    like Langchain, LlamaIndex and Genkit.

Available Packages

This repository hosts the following TS packages. See the package-specific
README for detailed installation and usage instructions:

Package Target Use Case Integration Path Details (README) Npm Version
toolbox-core Framework-agnostic / Custom applications Use directly / Custom packages/toolbox-core/ 📄 View README 0.1.0

Getting Started

To get started using Toolbox tools with an application, follow these general steps:

  1. Set up and Run the Toolbox Service:

    Before using the SDKs, you need the main MCP Toolbox service running. Follow
    the instructions here: Toolbox Getting Started
    Guide

  2. Install the Appropriate SDK:

    Choose the package based on your needs (see “Which Package Should I Use?” above) and install it:

    # For the core, framework-agnostic SDK
    npm install @mcp-toolbox/core
    
  3. Use the SDK:

    Consult the README for your chosen package (linked in the “Available
    Packages
    ” section above) for detailed instructions on
    how to connect the client, load tool definitions, invoke tools, configure
    authentication/binding, and integrate them into your application or
    framework.

Contributing

Contributions are welcome! Please refer to the
CONTRIBUTING.md
to get started.

License

This project is licensed under the Apache License 2.0. See the
LICENSE file
for details.

Support

If you encounter issues or have questions, please check the existing GitHub
Issues
for the main Toolbox
project. If your issue is specific to one of the SDKs, please look for existing
issues here or
open a new issue in this repository.

Tools

No tools

Comments