Skip to content

jooh95/coinone-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coinone-mcp-server

This project provides a server-side implementation of the Coinone Cryptocurrency Exchange OpenAPI using the Model Context Protocol (MCP). It offers comprehensive tools including the retrieval of market data, access to account balance information, order creation and cancellation.

Setup

  1. Create a virtual environment using uv:
uv venv
  1. Activate the virtual environment:
# On Unix/MacOS:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate
  1. Install the package in development mode:
uv pip install -e .

Environment Variables

To use the Coinone API, set the following environment variables in a .env file:

COINONE_ACCESS_TOKEN=your_access_token
COINONE_SECRET_KEY=your_secret_key

Config the MCP Server

To config the MCP server, you can use:

{
  "mcpServers": {
    "coinone-mcp-server": {
      "command": "/full/path/to/coinone-mcp-server/.venv/bin/python",
      "args": [
        "/full/path/to/coinone-mcp-server/main.py"
      ]
    }
  }
}

Available Tools

Tool Description
place_order Place an order on Coinone.
get_orderbook Get the current orderbook (market prices) for a specific market.
get_balance Retrieve all Coinone balances.
get_active_orders Get a list of open (active) orders.
cancel_order Cancel an order.

Caution

  • This server is capable of executing live trades; therefore, exercise caution when using it.
  • Ensure that your API keys are stored securely and never expose them in public repositories.

License

Apache 2.0

About

MCP(Model Context Protocol) server for Coinone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages