Token导航 LogoToken导航TokenDH.com
Sentiment Analysis MCP Server logo
运维云端未说明官方级别未说明来源级核验

Sentiment Analysis MCP Server

MCP Server

一个基于TextBlob的情感分析工具,提供极性、主观性和评估指标,适用于文本情感分析。

工具数

1

提示词数

0

GitHub Stars

0

资源数

0
情感分析机器学习Python文本处理本地部署

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

Aiden-Jeon

提供方

Aiden-Jeon

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

拥抱脸mcp课程

huggingface mcp课程代码:https://huggingface.co/learn/mcp-course

第二单元

  1. 设置光标的全局MCP设置:
   {
       "mcpServers": {
           "sentiment-analysis": {
           "command": "npx",
           "args": [
               "-y",
               "mcp-remote",
               "http://localhost:7860/gradio_api/mcp/sse",
               "--transport",
               "sse-only"
           ]
           }
       }
   }
  1. 要求光标使用工具:
   Use sentiment analyze tool to analyze given sentence:
   "Hello World!"
  1. 运行MCP本地服务器并将其移至后台:
   I can see that there's a sentiment analysis tool implemented in the codebase using TextBlob. Let me run the sentiment analysis on your sentence.
  1. 结果:
   Based on the sentiment analysis tool implementation, I can analyze the sentiment of "Hello World!" directly. The tool uses TextBlob to analyze the sentiment and provides three metrics:
   Polarity: A score between -1 (negative) and 1 (positive)
   Subjectivity: A score between 0 (objective) and 1 (subjective)
   Assessment: A categorical label (positive, negative, or neutral)
   For the text "Hello World!", the analysis would be:
   Polarity: 0.0 (neutral)
   Subjectivity: 0.0 (objective)
   Assessment: neutral
   This makes sense because "Hello World!" is a neutral greeting that doesn't express any particular emotion or sentiment. It's a standard programming phrase that's objective in nature.
   The sentiment analysis tool is now running and accessible through a web interface at http://127.0.0.1:7861 if you'd like to analyze more text or see the results in a visual format.

目录标签

目录标签

情感分析机器学习Python文本处理本地部署

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

部署方式(deploymentType,部署类型)

local-only

工具数量(toolCount,工具数)

1

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明nonelocal-only

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP