|
""" |
|
MCP Sentiment Analysis Server Package. |
|
|
|
This package provides a complete Model Context Protocol server implementation |
|
for sentiment analysis with Gradio web interface integration. |
|
""" |
|
|
|
from .sentiment_analyzer import ( |
|
SentimentAnalyzer, |
|
SentimentResult, |
|
SentimentLabel, |
|
get_analyzer, |
|
analyze_sentiment |
|
) |
|
|
|
from .tools import ( |
|
MCPTools, |
|
get_tools, |
|
list_tools, |
|
call_tool |
|
) |
|
|
|
from .mcp_server import ( |
|
SentimentMCPServer, |
|
MCPServerRunner, |
|
create_server |
|
) |
|
|
|
from .gradio_interface import ( |
|
GradioInterface, |
|
create_gradio_interface |
|
) |
|
|
|
__version__ = "1.0.0" |
|
__author__ = "MCP Sentiment Analysis Team" |
|
__description__ = "Model Context Protocol server for sentiment analysis with Gradio interface" |
|
|
|
__all__ = [ |
|
|
|
"SentimentAnalyzer", |
|
"SentimentResult", |
|
"SentimentLabel", |
|
"get_analyzer", |
|
"analyze_sentiment", |
|
|
|
|
|
"MCPTools", |
|
"get_tools", |
|
"list_tools", |
|
"call_tool", |
|
|
|
|
|
"SentimentMCPServer", |
|
"MCPServerRunner", |
|
"create_server", |
|
|
|
|
|
"GradioInterface", |
|
"create_gradio_interface", |
|
] |