Minted MCP Server

Minted MCP Server

Enables interaction with Minted.com to retrieve address book contacts, order history, and delivery information for recent card orders.

Category
访问服务器

README

Minted MCP Server

MCP server for interacting with Minted.com API - address book, orders, and delivery information.

Credits

This MCP server is based on the authentication pattern from wkarney/minted-export, a utility to export addresses from minted.com. The original repository provided the Selenium-based authentication approach that this MCP server adapts for Model Context Protocol integration.

Features

  • Get Contacts: Retrieve all contacts from Minted address book
  • Get Latest Delivery: Get recipients from the most recent card delivery/order
  • Get Orders: Get order history from Minted

Installation

cd mcp-servers/minted
pip install -r requirements.txt

Configuration

Credentials

The server uses the same credential resolution as the original minted-export scripts:

  1. 1Password (preferred): Configure credentials module to access "Minted.com" item
  2. Environment Variables: Set minted_email and minted_password
  3. Interactive Prompt: Will prompt if credentials not found

Cursor Configuration

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "minted": {
      "command": "python",
      "args": [
        "$REPO_ROOT/mcp-servers/minted/minted_mcp_server.py"
      ],
      "env": {
        "minted_email": "your@email.com",
        "minted_password": "yourpassword"
      }
    }
  }
}

Or use 1Password integration (recommended):

{
  "mcpServers": {
    "minted": {
      "command": "python",
      "args": [
        "$REPO_ROOT/mcp-servers/minted/minted_mcp_server.py"
      ],
      "env": {}
    }
  }
}

Claude Desktop Configuration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "minted": {
      "command": "python",
      "args": [
        "$REPO_ROOT/mcp-servers/minted/minted_mcp_server.py"
      ]
    }
  }
}

Available Tools

get_minted_contacts

Get all contacts from Minted address book.

Returns:

  • count: Number of contacts
  • contacts: Array of contact objects with name, address, etc.

Example:

{
  "success": true,
  "count": 150,
  "contacts": [
    {
      "id": 123,
      "name": "John Doe",
      "address1": "123 Main St",
      "city": "San Francisco",
      "state": "CA",
      "zip": "94102"
    }
  ]
}

get_minted_latest_delivery

Get recipients from the latest Minted card delivery/order.

Returns:

  • delivery_date: Date of the delivery
  • order_id: Order identifier
  • status: Delivery status
  • recipient_count: Number of recipients
  • recipients: Array of recipient objects
  • raw_delivery_data: Complete delivery data structure

Example:

{
  "success": true,
  "delivery_date": "2025-12-15",
  "order_id": "12345",
  "status": "shipped",
  "recipient_count": 25,
  "recipients": [
    {
      "name": "Jane Smith",
      "address1": "456 Oak Ave",
      "city": "New York",
      "state": "NY",
      "zip": "10001"
    }
  ]
}

get_minted_orders

Get order history from Minted.

Parameters:

  • limit (optional): Maximum number of orders to return (default: 10)

Returns:

  • count: Number of orders returned
  • orders: Array of order objects

Example:

{
  "success": true,
  "count": 10,
  "orders": [
    {
      "id": "12345",
      "created_at": "2025-12-15",
      "status": "shipped",
      "total": 125.50
    }
  ]
}

Authentication

The server uses Selenium to authenticate with Minted.com and then uses session cookies for API requests. This matches the authentication pattern used in the original minted-export scripts.

Note: Authentication happens on first API call and cookies are cached for subsequent calls in the same session.

Error Handling

The server returns structured error messages in JSON format when operations fail. Common errors include:

  • Credential errors (missing email/password)
  • Authentication failures
  • API endpoint not found
  • Network timeouts

Security Notes

  • Credentials are never logged or exposed
  • Session cookies are stored in memory only
  • All network requests are to minted.com domains only
  • Use 1Password integration for secure credential management

Troubleshooting

  1. Authentication Fails

    • Verify credentials are correct
    • Check if Minted.com login page structure has changed
    • Try running scripts/export_minted_contacts.py manually to test authentication
  2. API Endpoints Not Found

    • Minted API structure may have changed
    • Check browser Network tab when accessing Minted manually
    • Update endpoints in minted_mcp_server.py if needed
  3. Selenium Issues

    • Ensure Chrome/Chromium is installed
    • webdriver-manager will download ChromeDriver automatically
    • For headless issues, try removing --headless flag temporarily

Notes

  • The server uses headless Chrome via Selenium for authentication
  • Session cookies are cached in memory for the duration of the server process
  • All date fields are returned as strings in ISO format
  • The server runs in stdio mode for MCP communication

License

MIT

Support

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选