0.0.22 • Published 1 month ago

@smcphub/client v0.0.22

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

Welcome to @smcphub/client šŸ‘‹

Version Documentation License: MIT

MCP Client of smcphub.com

SMCP Client is a simple and easy-to-use client for smcphub.com. It provides a simple API to interact with all the MCP Servers hosted in the smcphub.com.

SMCP hub is a platform that allows you to find the MCP servers which users published, or also publish your MCP Servers and get them listed and hosted on the website.

šŸ  Homepage

Install

npm i @smcphub/client

OR

yarn add @smcphub/client

Usage

// import the SDK
import SmcphubClient from '@smcphub/client';

// Instantiate the client
const smcphubClient = new SmcphubClient({
    api_key: 'your-api-key'
});

// Connect the MCP Server
smcphubClient
.connect()
.then(tools => {
    console.log(tools);
})
.catch(err => {
  console.error(err);
});
    
// Call the tool
smcphubClient
.callTool('get_weather', {'city': 'ę­å·ž'})
.then(content => {
    console.log(content);
})
.catch(err => {
  console.error(err);
});

Author

šŸ‘¤ SMCPHUB

0.0.22

1 month ago

0.0.21

1 month ago

0.0.20

2 months ago

0.0.19

2 months ago

0.0.18

3 months ago

0.0.17

3 months ago

0.0.16

3 months ago

0.0.15

3 months ago

0.0.14

3 months ago

0.0.13

3 months ago

0.0.12

3 months ago

0.0.11

3 months ago

0.0.10

3 months ago

0.0.9

4 months ago

0.0.8

4 months ago

0.0.7

4 months ago

0.0.6

4 months ago

0.0.5

4 months ago

0.0.4

4 months ago

0.0.3

4 months ago

0.0.2

4 months ago

0.0.1

4 months ago