
mailgun/mailjet-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Mailjet의 API의 모델 Context Protocol 서버 구현
개요
이 프로젝트는 Mailjet API에 대한 Model Context Protocol (MCP) 서버를 제공하며, 표준 도구 인터페이스를 통해 Mailjet의 연락처, 캠페인, 세그먼트, 통계, 워크플로우 (및 더 많은) API와 상호 작용하는 호환 가능한 AI Agent (예: Claude Desktop)를 제공합니다. 프로젝트는 NPM에서 사용할 수 있으며 NPX를 통해 실행할 수 있습니다. 서버를 로컬로 시작하려면 다음 명령을 실행하십시오. 대부분의 시간은 AI 데스크탑 앱을 활용하고 Mailjet MCP를 직접 연결할 수 있습니다. 이 경우 다음 MCP 구성을 추가하십시오. config 파일 생성 또는 수정: - MacOS: ~/Library/Application Support/Claude/claude desktop config.json - Windows: %APPDATA%/Claude/claude desktop config.json 다음과 같은 환경 변수는 현재 서버에서 지원됩니다. 사이트맵 Inspector는 도구를 나열하고, 호출하고 원시 프로토콜 메시지를 읽습니다. 서버는 stdio에 통신하므로 Inspector가 당신을 위해 시작합니다. 실행:
개요(AI 번역)
개요
이 프로젝트는 Mailjet API에 대한 Model Context Protocol (MCP) 서버를 제공하며, 표준 도구 인터페이스를 통해 Mailjet의 연락처, 캠페인, 세그먼트, 통계, 워크플로우 (및 더 많은) API와 상호 작용하는 호환 가능한 AI Agent (예: Claude Desktop)를 제공합니다.
빠른 시작
NPX를 통한 실행
프로젝트는 NPM에서 사용할 수 있으며 NPX를 통해 실행할 수 있습니다.
서버를 로컬로 시작하려면 다음 명령을 실행하십시오.
대부분의 시간은 AI 데스크탑 앱을 활용하고 Mailjet MCP를 직접 연결할 수 있습니다. 이 경우 다음 MCP 구성을 추가하십시오.
수동 설치
-
저장소를 복제:
-
의존성 및 빌드 설치 :
-
Claude 데스크탑 구성:
config 파일 생성 또는 수정:
- 맥 OS:
~/Library/Application Support/Claude/claude_desktop_config.json - 윈도우:
%APPDATA%/Claude/claude_desktop_config.json
그런 다음 MCP 서버를 시작합니다.
다음 구성 추가:
지원 환경 변수
다음과 같은 환경 변수는 현재 서버에서 지원됩니다.
테스트
로컬 테스트 스위트를 실행:
MCP Inspector로 서버 검사
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Mailjet MCP Server
Overview
This project provides a Model Context Protocol (MCP) server for the Mailjet API, enabling compatible AI agents (e.g. Claude Desktop) to interact with Mailjet’s contact, campaign, segmentation, statistics, workflow (and more) APIs through a standardized tool interface.
Quick Start
Execution through NPX
The project is available on NPM and can be executed through NPX.
In order to start the server locally, simply run the following command:
MAILJET_API_KEY="YOUR_api_key:YOUR_secret_key" npx mailjet-mcp-server
Most of the time, you can choose to take advantage your AI desktop app and link Mailjet MCP directly to it. In this case please add the following MCP config:
"mcpServers": {
"mailjet": {
"command": "npx",
"args": [
"-y",
"@mailjet/mailjet-mcp-server"
],
"env": {
"MAILJET_API_KEY": "YOUR_api_key:YOUR_secret_key"
}
}
}
Manual Installation
-
Clone the repository:
git clone https://github.com/mailgun/mailjet-mcp-server.git cd mailjet-mcp-server -
Install dependencies and build:
pnpm install -
Configure Claude Desktop:
Create or modify the config file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
- MacOS:
Then start the MCP server:
node src/mailjet-mcp.js
Add the following configuration:
{
"mcpServers": {
"mailjet": {
"command": "node",
"args": ["CHANGE/THIS/PATH/TO/mailjet-mcp-server/src/mailjet-mcp.js"],
"env": {
"MAILJET_API_KEY": "YOUR_api_key:YOUR_secret_key"
}
}
}
}
Supported environment variables
The following environment variables are currently supported by the server:
MAILJET_API_KEY="your_api_key:your_secret_key" # REQUIRED, used for authenticating your account
MAILJET_API_REGION="eu" # OPTIONAL, used to change to the EU servers, if desired
Testing
Run the local test suite with:
NODE_ENV=test pnpm test
Inspecting the server with MCP Inspector
MCP Inspector lets you list the tools, call them and read the raw protocol messages.
The server communicates over stdio, so the Inspector starts it for you. Run:
MAILJET_API_KEY="YOUR_api_key:YOUR_secret_key" pnpm inspect
설치
npx -y @mailjet/mailjet-mcp-server설정
"mcpServers": {
"mailjet": {
"command": "npx",
"args": [
"-y",
"@mailjet/mailjet-mcp-server"
],
"env": {
"MAILJET_API_KEY": "YOUR_api_key:YOUR_secret_key"
}
}
}