Eulerian Marketing Platform Mcp

io.github.matjmat由 GitHub 帳號 matjmat 發布v1.0.0更新於 Oct 24, 2026

Provides access to the Eulerian Marketing Platform: analytics, attribution & data activation.

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

一個本機代理,將 AI 助理連線到遠端 Eulerian Marketing Platform MCP 伺服器,用於分析、歸因與資料啟用。

可以做什麼
這個套件在本機以 stdio 方式執行 MCP 代理,透過 HTTP 將請求轉送到遠端 Eulerian Marketing Platform MCP 伺服器。它負責 Bearer 權杖驗證,自動探索並向助理公開遠端工具與資源,並記錄請求和回應以便除錯。根據 README,Eulerian API 支援的所有 API 端點都可以透過它查詢,範例包括列出工具、更新目標設定和取得廣告活動詳情。
適用情境
當你已經擁有遠端 Eulerian Marketing Platform MCP 端點,並希望 Claude Desktop、Gemini CLI、Codex CLI、Claude Code、Cursor 或 VS Code Copilot 等助理查詢 Eulerian 的分析、歸因與啟用資料時使用。沒有有效的遠端端點和權杖時它沒有用處。
執行需求
需要 Python 3.10 或更高版本,並在本機安裝 eulerian-marketing-platform 套件。需要將遠端 Eulerian Marketing Platform MCP HTTP 端點設為 EMP_API_ENDPOINT,並將帳戶驗證權杖設為 EMP_API_TOKEN。需要能存取該端點的網路。可選 EMP_LOG_FILE 和 EMP_TIMEOUT。僅支援桌面用戶端,無法透過網頁執行。
安裝前請注意
EMP_API_TOKEN 是與你的 Eulerian 帳戶相關的機密,會以 Bearer 權杖形式傳送到遠端端點;請保存在用戶端設定或提示輸入中,不要硬編碼。代理會把請求和回應(可能包含查詢細節)寫入日誌檔。部分公開的工具可以修改資料,例如更新目標設定,因此核准工具呼叫前請先確認。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Eulerian Marketing Platform Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Eulerian Marketing Platform MCP Server

A Model Context Protocol (MCP) proxy server that bridges AI assistants (Claude Desktop, Gemini CLI, etc ...) to a remote Eulerian Marketing Platform MCP server. This proxy handles authentication, request forwarding, and provides a local MCP interface to your remote Eulerian instance.

How It Works

This server acts as a transparent proxy between local MCP clients and your remote Eulerian Marketing Platform server:

┌─────────────┐        ┌──────────────────┐        ┌────────────────┐│   Claude    │ ◄─────►│  This MCP Proxy  │◄─────► │ Remote Eulerian││   Desktop   │  stdio │  (Local)         │  HTTP  │  MCP Server    │└─────────────┘        └──────────────────┘        └────────────────┘

The proxy:

  • 🔐 Handles authentication with your remote Eulerian server
  • 📡 Forwards MCP requests via HTTP with Bearer token
  • 🛠️ Exposes remote tools and resources to AI assistants
  • 📝 Provides comprehensive logging for debugging
  • ⚡ Uses async HTTP for better performance

Warning

Given the rapid pace of evolution of protocols, implementations and new features coming out, the MCP may or may not be compatible with your suite of tools. Please fill in an issue so that we can check it.

Features

  • 🔌 Proxy Architecture: Bridges local MCP clients to remote Eulerian MCP server via HTTP
  • 🔐 Secure Authentication: Uses Bearer token authentication for remote server access
  • 🌐 Cross-platform support: Works on Windows, Linux, and macOS
  • 🤖 Multiple AI clients: Compatible with Claude Desktop and Gemini CLI
  • 📝 Comprehensive Logging: Logs all requests/responses for debugging
  • ⚡ Async HTTP: Non-blocking requests using httpx for better performance
  • 🛠️ Tool Discovery: Automatically discovers and exposes remote tools
  • ⏱️ Configurable Timeouts: Adjustable request timeouts

Prerequisites

  • Python 3.10 or higher - Install Python
  • Access to a remote Eulerian Marketing Platform MCP server (HTTP endpoint)
  • Valid authentication token for the remote server
  • One of the following AI clients:
    • Claude Desktop (Windows, macOS, Linux)
    • Gemini CLI
    • Codex CLI (macOS, Linux)
    • Claude Code (macOS, Linux)
    • Cursor (Windows, macOS, Linux)
    • VS Code with GitHub Copilot (Windows, macOS, Linux)

Available Tools

All API Endpoints supported by the Eulerian API can be queried through the current MCP.

Installation

Quick Start (Recommended)

The easiest way to use this MCP server is with pip.

Make sure pip is installed : python -m pip install --upgrade pip

Install via pip

If you prefer to install the package globally:

bash
pip install eulerian-marketing-platform

Alternative: Install from source

bash
git clone https://github.com/EulerianTechnologies/eulerian-marketing-platform-mcp.gitcd eulerian-marketing-platform-mcppip install -e .

Configuration

Required Environment Variables

  • EMP_API_ENDPOINT: Your remote Eulerian Marketing Platform MCP server URL (HTTP endpoint)
    • Example: https://dem.api.eulerian.com/mcp
  • EMP_API_TOKEN: Your authentication token for the remote server, it is the one linked to your Eulerian account.

Optional Environment Variables

  • EMP_LOG_FILE: Log file location (default: /tmp/eulerian-mcp-proxy.log)
  • EMP_TIMEOUT: Request timeout in seconds (default: 300)

Example .env file

Create a .env.example file in your project:

bash
# RequiredEMP_API_ENDPOINT=https://your-eulerian-instance.com/mcpEMP_API_TOKEN=your_authentication_token_here
# OptionalEMP_LOG_FILE=/var/log/eulerian-mcp-proxy.logEMP_TIMEOUT=600

Setup Instructions by Client

1. Claude Desktop

Two installation methods are available. The DXT extension is the easiest — no terminal required.

Option A: One-click DXT Extension (Recommended)

Desktop Extensions (DXT) let you install MCP servers in Claude Desktop with a single double-click, without editing JSON config files.

Requirements: Python 3.10+ with the package installed:

bash
pip install eulerian-marketing-platform

Install steps:

  1. Download the latest .dxt file from the releases page
  2. Double-click the .dxt file — Claude Desktop opens an installation dialog
  3. Enter your API Endpoint and API Token when prompted
  4. Click Install — the server is ready immediately

That's it. No pip install, no config file editing, no restart required.

To update: download the new .dxt and double-click it again.

Option B: Manual JSON configuration

Claude Desktop supports local MCP servers via stdio transport.

Configuration File Locations
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
Setup Steps
  1. Open Claude Desktop

  2. Access configuration:

    • Click Claude menu → Settings → Developer → Edit Config
    • Or manually edit the JSON file at the location above
  3. Add the server configuration:

json
{  "mcpServers": {    "eulerian-marketing-platform": {      "command": "python",      "args": ["-m", "eulerian_marketing_platform.server"],      "env": {        "EMP_API_ENDPOINT": "https://your-eulerian-instance.com/mcp",        "EMP_API_TOKEN": "your_authentication_token_here"      }    }  }}
  1. Restart Claude Desktop

  2. Verify the connection:

    • Look for a hammer/tools icon (🔨) in the bottom-right corner
    • Click it to see available Eulerian tools
    • Ask Claude: "What Eulerian Marketing Platform tools do you have access to?"
Platform-Specific Notes

Windows:

  • Use the Run dialog (Win + R) and enter %APPDATA%\Claude to quickly navigate to the config directory
  • If using a local installation, ensure Python is in your PATH

Linux:

  • The config directory may not exist initially - create it with: mkdir -p ~/.config/Claude

macOS:

  • Access the config via Finder: Cmd + Shift + G → ~/Library/Application Support/Claude/

2. Gemini CLI

Gemini CLI supports MCP servers through its configuration file.

Prerequisites

Install Gemini CLI if you haven't already:

bash
npm install -g @google/gemini-cli
Configuration File Location

~/.gemini/settings.json

Setup Steps
  1. Create or edit the settings file:
bash
# Create the directory if it doesn't existmkdir -p ~/.gemini
# Edit the settings filenano ~/.gemini/settings.json
  1. Add the MCP server configuration:
json
{  "mcpServers": {    "eulerian-marketing-platform": {      "command": "python",      "args": ["-m", "eulerian_marketing_platform.server"],      "env": {        "EMP_API_ENDPOINT": "https://your-eulerian-instance.com/mcp",        "EMP_API_TOKEN": "your_authentication_token_here"      }    }  }}
  1. Start Gemini CLI:
bash
gemini
  1. Verify the connection:
    • Use the /mcp command to see connected servers
    • Ask Gemini: "What tools are available from the Eulerian Marketing Platform?"
Platform-Specific Notes

Windows:

  • Settings file location: %USERPROFILE%\.gemini\settings.json
  • Create directory: mkdir %USERPROFILE%\.gemini

Linux/macOS:

  • Standard location: ~/.gemini/settings.json

3. Codex CLI

Codex CLI supports MCP servers configured in ~/.codex/config.toml. The configuration is shared between the CLI and the Codex IDE extension (VS Code).

Prerequisites
  • Node.js 18+ and npm
  • Codex CLI installed: npm install -g @openai/codex
  • Python 3.10+ with this package installed (pip install eulerian-marketing-platform)
  • A ChatGPT Plus, Pro, Team, Edu, or Enterprise subscription (or an OpenAI API key)
Option A: Using the codex mcp add command (easiest)

Run the following command to register the Eulerian MCP server:

bash
codex mcp add eulerian-marketing-platform \  --env EMP_API_ENDPOINT=https://your-eulerian-instance.com/mcp \  --env EMP_API_TOKEN=your_authentication_token_here \  -- python -m eulerian_marketing_platform.server

That's it — Codex will update ~/.codex/config.toml for you.

Option B: Edit config.toml manually

Open (or create) ~/.codex/config.toml and add the following:

toml
[mcp_servers.eulerian-marketing-platform]command = "python"args = ["-m", "eulerian_marketing_platform.server"]tool_timeout_sec = 300
[mcp_servers.eulerian-marketing-platform.env]EMP_API_ENDPOINT = "https://your-eulerian-instance.com/mcp"EMP_API_TOKEN = "your_authentication_token_here"

Note: The section name must use mcp_servers (with an underscore). Using mcp-servers or any other variant will silently fail.

Option C: Project-scoped configuration

To limit the MCP server to a specific project, create a .codex/config.toml file at the root of that project with the same content as above. The project must be marked as trusted by Codex.

Verify the connection
  1. Launch Codex in your terminal:
    bash
    codex
  2. Type /mcp in the interactive TUI to see all connected MCP servers.
  3. Confirm that eulerian-marketing-platform appears in the list with its available tools.
  4. Try asking:
    What Eulerian Marketing Platform tools do you have access to?
Managing the server
bash
# List all configured MCP serverscodex mcp
# Remove the servercodex mcp remove eulerian-marketing-platform
Troubleshooting (Codex CLI)
  • Server not appearing in /mcp: Verify that the [mcp_servers.eulerian-marketing-platform] section is present in ~/.codex/config.toml and that the TOML syntax is valid.
  • Timeout errors: Increase tool_timeout_sec in config.toml (default is 60 seconds). Eulerian queries can take longer, so 300 is recommended.
  • Authentication errors: Double-check that EMP_API_ENDPOINT and EMP_API_TOKEN are correct.
  • Python not found: Ensure the python command resolves to Python 3.10+. You may need to use python3 instead:
    toml
    command = "python3"
  • Package not found: Make sure eulerian-marketing-platform is installed in the Python environment that Codex will invoke. Run python -m eulerian_marketing_platform.server manually to confirm it works.
  • Check logs: Monitor the proxy logs for detailed error information:
    bash
    tail -f /tmp/eulerian-mcp-proxy.log

4. Claude Code

Claude Code is Anthropic's terminal-based coding agent. It supports MCP servers configured via the claude mcp CLI command or by editing ~/.claude.json.

Prerequisites
  • Node.js 18+ and npm
  • Claude Code installed: npm install -g @anthropic-ai/claude-code
  • Python 3.10+ with this package installed (pip install eulerian-marketing-platform)
  • An Anthropic API key or Claude subscription
Option A: Using the claude mcp add command (easiest)
bash
claude mcp add eulerian-marketing-platform \  -e EMP_API_ENDPOINT=https://your-eulerian-instance.com/mcp \  -e EMP_API_TOKEN=your_authentication_token_here \  -- python -m eulerian_marketing_platform.server

By default this adds the server with local scope (current project only). To make it available in all projects, add the -s user flag:

bash
claude mcp add -s user eulerian-marketing-platform \  -e EMP_API_ENDPOINT=https://your-eulerian-instance.com/mcp \  -e EMP_API_TOKEN=your_authentication_token_here \  -- python -m eulerian_marketing_platform.server
Option B: Edit ~/.claude.json manually

Open ~/.claude.json and add the server under the mcpServers key:

json
{  "mcpServers": {    "eulerian-marketing-platform": {      "type": "stdio",      "command": "python",      "args": ["-m", "eulerian_marketing_platform.server"],      "env": {        "EMP_API_ENDPOINT": "https://your-eulerian-instance.com/mcp",        "EMP_API_TOKEN": "your_authentication_token_here"      }    }  }}
Verify the connection
  1. Launch Claude Code:
    bash
    claude
  2. Type /mcp to see the status of all connected MCP servers.
  3. Confirm that eulerian-marketing-platform appears and shows as connected.
  4. Try asking:
    What Eulerian Marketing Platform tools do you have access to?
Managing the server
bash
# List all configured MCP serversclaude mcp list
# Get details for a specific serverclaude mcp get eulerian-marketing-platform
# Remove the serverclaude mcp remove eulerian-marketing-platform
Troubleshooting (Claude Code)
  • Server not appearing in /mcp: Run claude mcp list to confirm it is registered. Check ~/.claude.json for JSON syntax errors.
  • Python not found: Ensure the python command resolves to Python 3.10+. You may need to use python3 instead.
  • Package not found: Make sure eulerian-marketing-platform is installed in the Python environment that Claude Code will invoke.
  • Debug mode: Launch Claude Code with verbose MCP logging:
    bash
    claude --mcp-debug
  • Check logs: Monitor the proxy logs for detailed error information:
    bash
    tail -f /tmp/eulerian-mcp-proxy.log

5. Cursor

Cursor is an AI-powered code editor with built-in MCP support.

Prerequisites
  • Cursor installed (download from cursor.com)
  • Python 3.10+ with this package installed (pip install eulerian-marketing-platform)
Configuration File Location
  • Global: ~/.cursor/mcp.json
  • Project-scoped: .cursor/mcp.json in your project root
Setup Steps
  1. Open (or create) the configuration file:
bash
# Global configurationmkdir -p ~/.cursornano ~/.cursor/mcp.json
  1. Add the MCP server configuration:
json
{  "mcpServers": {    "eulerian-marketing-platform": {      "command": "python",      "args": ["-m", "eulerian_marketing_platform.server"],      "env": {        "EMP_API_ENDPOINT": "https://your-eulerian-instance.com/mcp",        "EMP_API_TOKEN": "your_authentication_token_here"      }    }  }}
  1. Restart Cursor to load the new configuration.

  2. Verify the connection:

    • Open Cursor Settings → Tools & Integrations → MCP Servers
    • Confirm that eulerian-marketing-platform appears and shows a green status
    • Switch to Agent mode in the Copilot pane
    • Ask: "What Eulerian Marketing Platform tools do you have access to?"
Platform-Specific Notes

Windows:

  • Global config file: %USERPROFILE%\.cursor\mcp.json
  • If python is not in your PATH, use the full path to the Python executable in the command field.

macOS/Linux:

  • Standard location: ~/.cursor/mcp.json
Troubleshooting (Cursor)
  • Server not appearing: Verify that ~/.cursor/mcp.json contains valid JSON. Restart Cursor after any config change.
  • Tools not available: Make sure you are in Agent mode (not Ask mode) in the Cursor chat panel.
  • Python not found: Ensure the python command resolves to Python 3.10+. You may need to use python3 or a full path.
  • Check logs: Monitor the proxy logs:
    bash
    tail -f /tmp/eulerian-mcp-proxy.log

6. VS Code / GitHub Copilot

Visual Studio Code supports MCP servers through GitHub Copilot's Agent mode. MCP requires VS Code 1.101 or later.

Prerequisites
  • VS Code 1.101+ with the GitHub Copilot extension
  • Python 3.10+ with this package installed (pip install eulerian-marketing-platform)
  • A GitHub Copilot subscription
Configuration File Locations
  • Workspace: .vscode/mcp.json in your project root (recommended)
  • User/Global: accessible via the command MCP: Open User Configuration

Note: VS Code uses a "servers" key (not "mcpServers") inside mcp.json.

Setup Steps
  1. Create the workspace configuration file:
bash
mkdir -p .vscodenano .vscode/mcp.json
  1. Add the MCP server configuration:
json
{  "servers": {    "eulerian-marketing-platform": {      "type": "stdio",      "command": "python",      "args": ["-m", "eulerian_marketing_platform.server"],      "env": {        "EMP_API_ENDPOINT": "https://your-eulerian-instance.com/mcp",        "EMP_API_TOKEN": "your_authentication_token_here"      }    }  }}

Alternatively, to make the server available globally across all workspaces, add the configuration to your User Settings (JSON) (Ctrl+Shift+P → Preferences: Open User Settings (JSON)):

json
{  "mcp": {    "servers": {      "eulerian-marketing-platform": {        "type": "stdio",        "command": "python",        "args": ["-m", "eulerian_marketing_platform.server"],        "env": {          "EMP_API_ENDPOINT": "https://your-eulerian-instance.com/mcp",          "EMP_API_TOKEN": "your_authentication_token_here"        }      }    }  }}
  1. Start the MCP server:

    • Open the .vscode/mcp.json file in the editor
    • Click the Start button that appears above the server definition (code lens)
    • Or use the Command Palette: MCP: List Servers → select the server → Start
  2. Verify the connection:

    • Switch to Agent mode in the GitHub Copilot Chat panel (toggle located near the chat input)
    • Click the Tools button (🔧) in the Copilot pane to see available Eulerian tools
    • Ask: "What Eulerian Marketing Platform tools do you have access to?"
Using input variables for secrets

To avoid hardcoding your token, you can use VS Code input variables:

json
{  "inputs": [    {      "type": "promptString",      "id": "empToken",      "description": "Eulerian Marketing Platform API Token",      "password": true    }  ],  "servers": {    "eulerian-marketing-platform": {      "type": "stdio",      "command": "python",      "args": ["-m", "eulerian_marketing_platform.server"],      "env": {        "EMP_API_ENDPOINT": "https://your-eulerian-instance.com/mcp",        "EMP_API_TOKEN": "${input:empToken}"      }    }  }}

VS Code will prompt you for the token when the server starts.

Troubleshooting (VS Code)
  • MCP not available: Ensure you are running VS Code 1.101 or later and have the GitHub Copilot extension installed and enabled.
  • Tools not appearing: MCP tools only work in Agent mode. Toggle to Agent mode in the Copilot Chat panel.
  • Start button not showing: The code lens (Start button) only appears if the .vscode folder is at the root of your workspace.
  • Python not found: Ensure the python command resolves to Python 3.10+. You may need to use python3 or a full path.
  • Check logs: Monitor the proxy logs:
    bash
    tail -f /tmp/eulerian-mcp-proxy.log

Usage Examples

Once configured with any client, you can interact with your remote Eulerian Marketing Platform:

User: "What tools are available from Eulerian?"→ Proxy calls list_remote_tools() and returns all available tools
User: "Call the update_goal tool"→ Proxy forwards to remote server and update goal settings
User: "Show me campaign details for CAMP-12345"→ Claude uses call_eulerian_tool() to fetch specific campaign
User: "What resources are available?"→ Proxy lists all available data sources

The AI assistant will automatically use the appropriate proxy tools to fulfill your requests.

Viewing Logs

Monitor proxy activity in real-time:

bash
# Default log locationtail -f /tmp/eulerian-mcp-proxy.log
# Custom log locationtail -f /var/log/eulerian-mcp-proxy.log

You'll see detailed logging of:

  • Requests to the remote server
  • HTTP responses and status codes
  • Tool calls and results
  • Errors and warnings

Troubleshooting

Common Issues

"EMP_API_ENDPOINT environment variable is required"
  • Solution: Ensure you've set the EMP_API_ENDPOINT in your configuration
  • Check that there are no typos in the environment variable name
"EMP_API_TOKEN environment variable is required"
  • Solution: Ensure you've set the EMP_API_TOKEN in your configuration
  • Verify your token is valid and hasn't expired
Server not appearing in Claude Desktop
  • Solution:
    • Restart Claude Desktop completely
    • Check the configuration file for JSON syntax errors
    • Verify the file path in your config is correct
    • Look at logs:
      • macOS: ~/Library/Logs/Claude/mcp-server-*.log
      • Windows: %APPDATA%\Claude\logs\
Tools not showing in Gemini CLI
  • Solution:
    • Use /mcp command to check server status
    • Verify the settings.json is valid JSON
    • Restart Gemini CLI

Debug Mode

For detailed debugging:

bash
# Run with MCP Inspectornpx @modelcontextprotocol/inspector uvx eulerian-marketing-platform
# Or with environment variablesEMP_API_ENDPOINT=your_endpoint EMP_API_TOKEN=your_token uvx eulerian-marketing-platform

Development

Running Tests

bash
# Install development dependenciespip install -e ".[dev]"
# Run testspytest
# Run with coveragepytest --cov=eulerian_marketing_platform

Building from Source

bash
# Clone the repositorygit clone https://github.com/EulerianTechnologies/eulerian-marketing-platform-mcp.gitcd eulerian-marketing-platform-mcp
# Install in development modepip install -e .
# Build Python distribution (wheel + tarball)pip install buildpython -m build
# Build DXT extension for Claude Desktopnpx @anthropic-ai/dxt pack .# → eulerian-marketing-platform-mcp.dxt

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

MCP server for MCP Registry

mcp-name: io.github.matjmat/eulerian-marketing-platform-mcp

Changelog

0.2.9

  • Add manifest.json for Claude Desktop DXT extension support
  • DXT package: one-click install with credential prompts, no JSON config editing

0.2.8

  • fixes for proxy disconnection
  • remove unnecessary logging

0.2.3

  • fixes disconnection issue with notifications

0.2.0

  • Move to full Proxy mode
  • Remove instructions for uvx deployment
  • Remove instructions for Mistral integration (too complex)

0.1.0 (Initial Release)

  • Initial MCP server implementation
  • Support for Claude Desktop, Gemini CLI
  • Cross-platform support (Windows, Linux, macOS)
  • Environment-based configuration

Note: Replace all placeholder URLs and tokens with your actual Eulerian Marketing Platform credentials before use.

來源:README.md,提交 8a30e6e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分