Labsco
sergeiledvanov logo

Wise MCP Server

โ˜… 8

from sergeiledvanov

A gateway for the Wise API to manage recipients, requiring a Wise API token.

๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

Wise MCP Server

A MCP (Machine Communication Protocol) server that serves as a gateway for the Wise API, providing simplified access to Wise's recipient functionality.

Features

  • List all recipients from your Wise account via a simple MCP resource
  • Automatically handles authentication and profile selection
  • Uses the Wise Sandbox API for development and testing
  • Available as a Docker image for easy integration

Get an API token

https://wise.com/your-account/integrations-and-tools/api-tokens

Create a new token here.

Available MCP Resources

The server provides the following MCP resources:

list_recipients

Returns a list of all recipients from your Wise account.

Parameters:

  • profile_type: The type of profile to list recipients for. One of [personal, business]. Default: "personal"
  • currency: Optional. Filter recipients by currency code (e.g., 'EUR', 'USD')

get_recipient_requirements

Fetches recipient requirements for creating a new recipient. If account details are provided, validates the account details against the requirements.

Parameters:

  • source_currency: The source currency code (e.g., 'USD')
  • target_currency: The target currency code (e.g., 'EUR')
  • source_amount: The amount in the source currency
  • profile_type: The type of profile to use. One of [personal, business]. Default: "personal"
  • account: Optional. The recipient account details to validate against requirements. If not provided, returns the initial account requirements.

create_recipient

Creates a new recipient with the provided account details.

Parameters:

  • profile_type: The type of profile to use. One of [personal, business]. Default: "personal"
  • account: The recipient account details compliant with Wise API requirements. This should include:
    • accountHolderName: Name of the account holder
    • currency: Target currency code (e.g., 'EUR')
    • type: Account type (e.g., 'iban', 'sort_code', etc.)
    • details: Object containing account-specific details (varies by currency and country)

send_money

Sends money to a recipient using the Wise API.

Parameters:

  • profile_type: The type of profile to use (personal or business)
  • source_currency: Source currency code (e.g., 'USD')
  • source_amount: Amount in source currency to send
  • recipient_id: The ID of the recipient to send money to
  • payment_reference: Optional. Reference message for the transfer (defaults to "money")
  • source_of_funds: Optional. Source of the funds (e.g., "salary", "savings")

Development

Project Structure

wise-mcp/
โ”œโ”€โ”€ .env                # Environment variables (not in git)
โ”œโ”€โ”€ .env.example        # Example environment variables
โ”œโ”€โ”€ pyproject.toml      # Project dependencies and configuration
โ”œโ”€โ”€ README.md           # This file
โ””โ”€โ”€ src/                # Source code
    โ”œโ”€โ”€ main.py         # Entry point
    โ””โ”€โ”€ wise_mcp/       # Main package
        โ”œโ”€โ”€ api/        # API clients
        โ”‚   โ””โ”€โ”€ wise_client.py # Wise API client
        โ”œโ”€โ”€ resources/  # MCP resources
        โ”‚   โ””โ”€โ”€ recipients.py  # Recipients resource
        โ””โ”€โ”€ app.py      # MCP application setup

Adding New Features

To add new features:

  1. Add new API client methods in src/wise_mcp/api/wise_client.py
  2. Create new resources in src/wise_mcp/resources/
  3. Import and register the new resources in src/wise_mcp/app.py