0.0.22 ⢠Published 4 months ago
@smcphub/client v0.0.22
Welcome to @smcphub/client š
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
4 months ago
0.0.21
4 months ago
0.0.20
4 months ago
0.0.19
4 months ago
0.0.18
5 months ago
0.0.17
5 months ago
0.0.16
5 months ago
0.0.15
5 months ago
0.0.14
5 months ago
0.0.13
5 months ago
0.0.12
5 months ago
0.0.11
6 months ago
0.0.10
6 months ago
0.0.9
6 months ago
0.0.8
6 months ago
0.0.7
6 months ago
0.0.6
6 months ago
0.0.5
6 months ago
0.0.4
6 months ago
0.0.3
6 months ago
0.0.2
6 months ago
0.0.1
6 months ago