0.0.36 • Published 2 months ago

@smcphub/server v0.0.36

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Welcome to @smcphub/server šŸ‘‹

Version Documentation License: MIT

MCP Server of SMCPHUB

SMCP Server 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/server

OR

yarn add @smcphub/server

Usage

Use official MCP Client to connect to the MCP Server.

// 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);
});

Or customize the MCP Server.

Author

šŸ‘¤ SMCPHUB

0.0.36

2 months ago

0.0.35

2 months ago

0.0.34

2 months ago

0.0.33

2 months ago

0.0.32

2 months ago

0.0.31

2 months ago

0.0.30

2 months ago

0.0.29

2 months ago

0.0.28

2 months ago

0.0.27

2 months ago

0.0.26

2 months ago

0.0.25

2 months ago

0.0.24

2 months ago

0.0.23

3 months ago

0.0.22

3 months ago

0.0.21

3 months ago

0.0.20

3 months ago

0.0.19

3 months ago

0.0.18

3 months ago

0.0.17

4 months ago

0.0.16

4 months ago

0.0.15

4 months ago

0.0.14

4 months ago

0.0.13

4 months ago

0.0.12

4 months ago

0.0.11

4 months ago

0.0.10

4 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