MCP 服务工具
About
MCP 服务工具 is a Model Context Protocol server that provides tool integrations for AI service APIs. It currently supports Hugging Face (text, image, speech, zero‑shot tasks) and Dify (conversational and text generation apps) services. It is aimed at developers who want to use MCP…
Details
- Author
- JQSC
- GitHub stars
- 1
- Downloads
- 188
- Categories
- Other, API
Jump to
- Hugging Face: text generation, classification, QA, summarization, translation, fill‑mask
- Hugging Face: image classification, segmentation, image‑to‑text, zero‑shot image/text classification
- Hugging Face: automatic speech recognition
- Dify: chat with conversation history support
- Dify: text generation via completion endpoint
- Dify: conversation listing and renaming
Install dependencies with npm install, create a .env file with the required API keys (HUGGINGFACE_API_KEY, DIFY_API_KEY, DIFY_BASE_URL), then start the Dify MCP service using npm run start:dify. For Hugging Face, import and call the tool functions directly in TypeScript, providing the API key and model parameters.
MCP 服务工具
这是一个 MCP(Model Context Protocol)服务工具集合,用于调用各种 AI 服务 API。
功能特点
Hugging Face MCP 服务
- 支持文本生成、分类、问答、摘要等 NLP 任务
- 支持图像分类、分割、图像到文本等 CV 任务
- 支持语音识别等语音处理任务
- 支持零样本学习分类任务
Dify MCP 服务 (新增)
- 支持对话型应用 API 调用
- 支持文本生成型应用 API 调用
- 支持对话历史管理
- 支持对话列表查询和管理
安装
首先,安装必要的依赖:
npm install
配置
在项目根目录创建 .env 文件,并添加以下配置:
```
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




