通过集成统一的MCP客户端或者API接口,然后申请API Key即可使用本站所有MCP服务
绝大部分的MCP Servers已经静态安装好,直接可以调用,不需要每次都初始化
只需要维护一个MCP客户端或接口,不需要单独维护每个MCP服务
所有的MCP服务和工具的调用都会记录日志
提供与OpenSearch的交互能力。该服务器通过一组工具支持搜索文档、分析索引和管理集群
提供与 Elasticsearch的交互能力。该服务器通过一组工具支持搜索文档、分析索引和管理集群
该 MCP 服务器可与 Google Drive 集成,支持列出、读取和搜索文件
提供网页数据爬取、结构化数据提取和网页爬取等多种工具,同时支持轻松接入通用浏览器代理
支持 AI 助手与 Obsidian 知识库(Vault)交互的 MCP
支持将 DeepSeek 强大的语言模型与 Claude Desktop 等 MCP 兼容应用无缝集成
// 需先安装: npm i @smcphub/client
// 导入SDK
import SmcphubClient from '@smcphub/client';
// 初始化MCP Client
const smcphubClient = new SmcphubClient({
api_key: 'your-api-key'
});
// 连接MCP Server
smcphubClient
.connect()
.then(tools => {
console.log(tools);
})
.catch(err => {
console.error(err);
});
// 调用工具
smcphubClient
.callTool('get_weather', {'city': '杭州'})
.then(content => {
console.log(content);
})
.catch(err => {
console.error(err);
});
// 获取所有购买的MCP Servers
curl -X GET https://smcphub.com/mcp/service/list \
-H "x-api-key: your-api-key" \
-H "x-timestamp: current timestamp" \
-H "Content-Type: application/json"
// 调用工具
curl -X POST https://smcphub.com/mcp/tool/call \
-H "x-api-key: your-api-key" \
-H "x-timestamp: current timestamp" \
-H "Content-Type: application/json" \
-d {name: "tool-name", args: {arg1: "val1", arg2: "val2"}}