An MCP server that enables real - time access to cryptocurrency prices, market summaries, and asset listings from the Upbit exchange.
A server implementation for Upbit Cryptocurrency Exchange OpenAPI using the Model Context Protocol (MCP). This project provides tools to interact with Upbit exchange services, such as retrieving market data (quotes, orderbooks, trade history, chart data), account information, creating and canceling orders, managing deposits/withdrawals, and performing technical analysis.
get_ticker
)get_orderbook
)get_trades
)get_market_summary
)get_accounts
)get_orders
)get_order
)get_deposits_withdrawals
)create_order
)create_order
)cancel_order
)์๋๋ ์ค์ ์ฑํ ์์ ์ด๋ฏธ์ง์ ๋๋ค.
Before you begin, you need to get your Upbit API keys:
UPBIT_ACCESS_KEY
, UPBIT_SECRET_KEY
) in the .env
file (see Installation section)Clone the repository:
git clone https://github.com/solangii/upbit-mcp-server.git
cd upbit-mcp-server
Install dependencies:
cd upbit-mcp-server
uv sync
If you don't have uv
installed yet, you can install it as follows:
Using uv
provides faster installation and more reliable dependency resolution.
# Install uv
curl -Ls https://astral.sh/uv/install.sh | sh
# Add uv to your PATH
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc # or bashrc, depending on your shell
Set up environment variables:
Create a .env
file in the project root and add your Upbit API keys:
UPBIT_ACCESS_KEY=your_access_key_here
UPBIT_SECRET_KEY=your_secret_key_here
You can add the MCP server directly to Claude's configuration file:
Install Claude Desktop
Add the following to your Claude Desktop configuration:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration (adjust paths as needed):
{
"mcpServers": {
"upbit-mcp-server": {
"command": "/full/path/to/upbit-mcp-server/.venv/bin/python",
"args": [
"/full/path/to/upbit-mcp-server/main.py"
]
}
}
}
Restart Claude to load the new configuration.
fastmcp install main.py --name "Upbit API"
uv run python main.py
fastmcp dev main.py
MIT