FOCUS DATA MCP 服务器 [中文]
模型上下文协议(MCP)服务器使人工智能助手能够直接查询数据结果。用户可以通过自然语言从DataFocus获取数据结果。
特征
在DataFocus上注册开通一个应用空间,导入(直连)需要分析的数据表。
选择Datafocus数据表初始化对话框
自然语言数据采集结果
先决条件
jdk 23 或更高版本。下载jdk
gradle 8.12 或更高版本。下载gradle
注册Datafocus以获取 bearer token:
在Datafocus注册一个账户
创建应用程序
进入应用程序
管理 -> 接口认证 -> Bearer Token -> 新建 Bearer Token
安装
克隆此存储库:
构建服务器:
MCP 配置
将服务器添加到您的 MCP 设置文件(通常位于~/AppData/Roaming/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
):
可用工具
1. 表列表
获取 datafocus 中的表格列表。
参数:
name
(可选):要过滤的表名bearer
(必需):持有者令牌
例子:
2. gptText2DataInit
初始化对话。
参数:
names
(必需):选定的表名称bearer
(必需):持有者令牌language
(可选):语言['english','chinese']
例子:
3. gptText2DataData
查询数据结果。
参数:
chatId
(必填):聊天IDinput
(必需):自然语言bearer
(必需):持有者令牌
例子:
响应格式
所有工具都以以下格式返回响应:
Visual Studio Code Cline 示例
vsCode 安装 cline 插件
mcp 服务器配置
使用
获取表格列表
初始化对话
查询:工资总额是多少
接触:
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
DataFocus下支持多轮对话的智能数据查询插件,提供即插即用的ChatBI能力。
Related Resources
Related MCP Servers
- -securityAlicense-qualityEnables LLMs to interact with Dify AI's chat completion API, including conversation context support and a restaurant recommendation tool.Last updated -10MIT License
- -securityAlicense-qualityA lightweight server that uses ChatGPT to qualify leads using the BANT framework (Budget, Authority, Need, Timeline) through a conversational question-by-question approach.Last updated -3MIT License
CB Insights MCP Serverofficial
AsecurityFlicenseAqualityAn interface that allows developers to interact with ChatCBI LLM through AI Agents, providing access to CB Insights' conversational AI capabilities.Last updated -18- -securityAlicense-qualityEnables AI assistants to interact with Power BI datasets through natural language, allowing users to query data, generate DAX, and get insights without leaving their AI assistant.Last updated -59MIT License