zkom_mcp_server
0
ZKOM MCP Server is a Model Context Protocol server designed to fetch real-time cryptocurrency prices from Coinbase, featuring an MCP-compliant API, multi-currency support, and a caching mechanism.
ZKOM MCP Server for Cryptocurrency Prices
A Model Context Protocol (MCP) server implementation for retrieving cryptocurrency prices from Coinbase.
Features
- Get real-time exchange rates for cryptocurrencies
- MCP-compliant API responses
- Support for querying prices in various currencies
- Caching mechanism to reduce API calls
Installation
- Clone the repository:
git clone https://github.com/your-username/zkom_mcp_server.git
cd zkom_mcp_server
- Install dependencies:
pip install -r requirements.txt
- Run the server:
python -m app.main
Usage
Send requests to the MCP server endpoints:
GET /v1/crypto/price?symbol=BTC¤cy=USD
Environment Variables
Create a .env
file with the following variables:
# Server configuration
PORT=8000
HOST=0.0.0.0
# Coinbase API configuration
COINBASE_API_URL=https://api.coinbase.com/v2/exchange-rates
API Documentation
Once the server is running, access the API documentation at:
http://localhost:8000/docs
License
MIT