该MCP(模型上下文协议)服务器提供Merge API与任何支持MCP协议的LLM提供者之间的集成(例如:
概览
该MCP(模型上下文协议)服务器支持Merge API与任何支持MCP协议的LLM提供商(例如Claude for Desktop)之间的集成,使你能够使用自然语言与合并数据交互。 - 使用自然语言查询合并API实体 - 获取关于合并数据模型及其字段的信息 - 通过对话式接口创建和更新实体 - 支持多个合并API类别(HRIS、ATS等) - 合并API密钥和账户令牌 - Python 3.10及以上版本 - uv 这里有一个示例配置文件,可以用来设置合并MCP。 注意:如果“uvx”命令不行,试试绝对路径(即 /Users/username/.local/bin/uvx) 2. 从官方网站下载Claude桌面版 3. 下载后,打开应用,按照说明设置你的账户 4. 导航到。这样可以打开一个名为claude_desktop_config.json的文件。
概述(AI 翻译)
该MCP(模型上下文协议)服务器支持Merge API与任何支持MCP协议的LLM提供商(例如Claude for Desktop)之间的集成,使你能够使用自然语言与合并数据交互。
✨ 特色
- 使用自然语言查询合并API实体
- 获取关于合并数据模型及其字段的信息
- 通过对话式接口创建和更新实体
- 支持多个合并API类别(HRIS、ATS等)
📦 安装
先决条件
- 合并API密钥和账户令牌
- Python 3.10 或更高版本
- 紫外线
使用独立安装程序安装uv:
或者通过PIP:
🔌 MCP设置
这里有一个示例配置文件,可以用来设置合并MCP。
注意:如果“uvx”命令不行,试试绝对路径(即 /Users/username/.local/bin/uvx)
Claude桌面配置示例
-
确保你已安装
uvx -
从官方网站下载Claude桌面版
-
下载后,打开应用,按照说明设置你的账户
-
进入设置→开发者→编辑配置。这应该会在文本编辑器中打开一个名为
claude_desktop_config.json的文件。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Merge MCP Server
This MCP (Model Context Protocol) server provides integration between Merge API and any LLM provider supporting the MCP protocol (e.g., Claude for Desktop), allowing you to interact with your Merge data using natural language.
✨ Features
- Query Merge API entities using natural language
- Get information about your Merge data models and their fields
- Create and update entities through conversational interfaces
- Support for multiple Merge API categories (HRIS, ATS, etc.)
📦 Installation
Prerequisites
- A Merge API key and account token
- Python 3.10 or higher
- uv
Install uv with standalone installer:
# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
or through pip:
# With pip.
pip install uv
# With pipx.
pipx install uv
🔌 MCP setup
Here is an example config file which you can use to set up Merge MCP.
{
"mcpServers": {
"merge-mcp-server": {
"command": "uvx",
"args": ["merge-mcp"],
"env": {
"MERGE_API_KEY": "your_api_key",
"MERGE_ACCOUNT_TOKEN": "your_account_token"
}
}
}
}
Note: If “uvx” command does not work, try absolute path (i.e. /Users/username/.local/bin/uvx)
Example Claude Desktop configuration
-
Ensure you have
uvxinstalled -
Download Claude Desktop from the official website
-
Once downloaded, open the app and follow the instructions to set up your account
-
Navigate to Settings → Developer → Edit Config. This should open a file named
claude_desktop_config.jsonin a text editor. -
Copy the MCP server setup JSON above and paste it into the text editor
-
Replace
your_api_keyandyour_account_tokenwith your actual Merge API key and Linked Account token. You will also need to replaceuvxwith the absolute path to the command in the config file (i.e./Users/username/.local/bin/uvx). You can find the absolute path by runningwhich uvxthrough your terminal. -
Save the config file
-
Restart Claude Desktop to see your tools. The tools may take a minute to appear
Example Python client configuration
- Setting up your environment
# Create project directory
mkdir mcp-client
cd mcp-client
# Create virtual environment
python -m venv .venv
# Activate virtual environment
# On Windows:
.venv\Scripts\activate
# On Unix or MacOS:
source .venv/bin/activate
# Install required packages
pip install mcp uv anthropic python-dotenv
# Create our main file
touch client.py
- Setting up your API keys
# Add your ANTHROPIC_API_KEY and MERGE_API_KEY to .env
echo "ANTHROPIC_API_KEY=" >> .env
echo "MERGE_API_KEY=" >> .env
# Add .env file to .gitignore
echo ".env" >> .gitignore
安装
uvx merge-mcp配置
{
"mcpServers": {
"merge-mcp-server": {
"command": "uvx",
"args": ["merge-mcp"],
"env": {
"MERGE_API_KEY": "your_api_key",
"MERGE_ACCOUNT_TOKEN": "your_account_token"
}
}
}
}