- Explore MCP Servers
- luno-mcp
Luno Mcp
What is Luno Mcp
luno-mcp is a Model Context Protocol (MCP) server that provides access to the Luno cryptocurrency exchange API, enabling integration with various MCP-compatible clients.
Use cases
Use cases for luno-mcp include developing trading bots, building financial dashboards, and enhancing development environments with contextual cryptocurrency data.
How to use
To use luno-mcp, set up the server and connect it to your Luno account. You can then access the API through compatible clients like VS Code’s Copilot to retrieve contextual information and functionalities related to cryptocurrency trading.
Key features
Key features of luno-mcp include integration with Luno’s API, support for MCP-compatible clients, and the ability to provide contextual information for cryptocurrency trading.
Where to use
luno-mcp can be used in fields such as cryptocurrency trading, financial applications, and any software development that requires integration with Luno’s exchange services.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Luno Mcp
luno-mcp is a Model Context Protocol (MCP) server that provides access to the Luno cryptocurrency exchange API, enabling integration with various MCP-compatible clients.
Use cases
Use cases for luno-mcp include developing trading bots, building financial dashboards, and enhancing development environments with contextual cryptocurrency data.
How to use
To use luno-mcp, set up the server and connect it to your Luno account. You can then access the API through compatible clients like VS Code’s Copilot to retrieve contextual information and functionalities related to cryptocurrency trading.
Key features
Key features of luno-mcp include integration with Luno’s API, support for MCP-compatible clients, and the ability to provide contextual information for cryptocurrency trading.
Where to use
luno-mcp can be used in fields such as cryptocurrency trading, financial applications, and any software development that requires integration with Luno’s exchange services.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Luno MCP Server
A Model Context Protocol (MCP) server that provides access to the Luno cryptocurrency exchange API.
This server enables integration with VS Code’s Copilot and other MCP-compatible clients, providing contextual information and functionality related to the Luno cryptocurrency exchange.
⚠️ Beta Warning
This project is currently in beta phase. While we’ve made every effort to ensure stability and reliability, you may encounter unexpected behavior or limitations. Please use it with care and consider the following:
- This MCP server config may change without prior notice
- Performance and reliability might not be optimal
- Not all Luno API endpoints are implemented yet
We welcome feedback and bug reports to help improve the project. Please report any issues you encounter via the GitHub issue tracker.
Features
- Resources: Access to account balances, transaction history, and more
- Tools: Functionality for creating and managing orders, checking prices, and viewing transaction details
- Security: Secure authentication using Luno API keys
- VS Code Integration: Easy integration with VS Code’s Copilot features
Usage
Setting up credentials
The server requires your Luno API key and secret. These can be obtained from your Luno account settings, see here for more info: https://www.luno.com/developers.
Command-line options
--transport: Transport type (stdioorsse, default:stdio)--sse-address: Address for SSE transport (default:localhost:8080)--domain: Luno API domain (default:api.luno.com)--log-level: Log level (debug,info,warn,error, default:info)
Available Tools
| Tool | Category | Description |
|---|---|---|
get_ticker |
Market Data | Get current ticker information for a trading pair |
get_order_book |
Market Data | Get the order book for a trading pair |
list_trades |
Market Data | List recent trades for a currency pair |
get_balances |
Account Information | Get balances for all accounts |
create_order |
Trading | Create a new buy or sell order |
cancel_order |
Trading | Cancel an existing order |
list_orders |
Trading | List open orders |
list_transactions |
Transactions | List transactions for an account |
get_transaction |
Transactions | Get details of a specific transaction |
Examples
Working with wallets
You can ask Copilot to show your wallet balances:
What are my current wallet balances on Luno?
Trading
You can ask Copilot to help you trade:
Create a limit order to buy 0.001 BTC at 50000 ZAR
Transaction history
You can ask Copilot to show your transaction history:
Show me my recent Bitcoin transactions
Market Data
You can ask Copilot to show market data:
Show me recent trades for XBTZAR
What's the latest price for Bitcoin in ZAR?
VS Code Integration
To integrate with VS Code, add the following to your settings.json file (or click on the badge at the top of this README for the docker config).
With Docker
This configuration will make VS Code run the Docker container. Ensure Docker is running on your system.
Building from source
For MCP client usage: Add one of the config options below to your VS Code settings.json or mcp.json file. The credentials will be provided through VS Code’s input prompts.
For direct development: You’ll also need to set up environment variables or a .env file as described in the CONTRIBUTING.md file.
For stdio transport
For SSE transport
Installation
Prerequisites
- Go 1.24 or later
- Luno account with API key and secret
Building from Source
-
Clone the repository:
git clone https://github.com/luno/luno-mcp cd luno-mcp -
Build the binary:
go build -o luno-mcp ./cmd/server -
Make it available system-wide (optional):
sudo mv luno-mcp /usr/local/bin/
Note: When using with MCP clients like VS Code, credentials are provided through the client’s input system. For direct development and testing, see the credential setup instructions in CONTRIBUTING.md.
Security Considerations
This tool requires API credentials that have access to your Luno account. Be cautious when using API keys, especially ones with withdrawal permissions. It’s recommended to create API keys with only the permissions needed for your specific use case.
Best Practices for API Credentials
- Create Limited-Permission API Keys: Only grant the permissions absolutely necessary for your use case
- Never Commit Credentials to Version Control: Ensure
.envfiles are always in your.gitignore - Rotate API Keys Regularly: Periodically regenerate your API keys to limit the impact of potential leaks
- Monitor API Usage: Regularly check your Luno account for any unauthorized activity
Contributing
If you’d like to contribute to the development of this project, please see the CONTRIBUTING.md file for guidelines.
License
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










