0.0.36 • Published 27 days ago

@smcphub/server v0.0.36

Weekly downloads
-
License
MIT
Repository
-
Last release
27 days 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

27 days ago

0.0.35

28 days ago

0.0.34

28 days ago

0.0.33

28 days ago

0.0.32

28 days ago

0.0.31

1 month ago

0.0.30

1 month ago

0.0.29

1 month ago

0.0.28

1 month ago

0.0.27

1 month ago

0.0.26

1 month ago

0.0.25

1 month ago

0.0.24

1 month ago

0.0.23

2 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

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

3 months ago

0.0.8

3 months ago

0.0.7

3 months ago

0.0.6

3 months ago

0.0.5

3 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago