what is ZKOM MCP Server?
ZKOM MCP Server is a Model Context Protocol (MCP) server implementation designed to retrieve real-time cryptocurrency prices from Coinbase.
how to use ZKOM MCP Server?
To use the ZKOM MCP Server, clone the repository, install the dependencies, and run the server. You can then send requests to the server endpoints to get cryptocurrency prices.
key features of ZKOM MCP Server?
- Get real-time exchange rates for various cryptocurrencies.
- MCP-compliant API responses for seamless integration.
- Support for querying prices in multiple currencies.
- Caching mechanism to optimize API calls and improve performance.
use cases of ZKOM MCP Server?
- Integrating cryptocurrency price data into financial applications.
- Building dashboards for real-time cryptocurrency market analysis.
- Developing trading bots that require up-to-date price information.
FAQ from ZKOM MCP Server?
- What cryptocurrencies can I get prices for?
You can retrieve prices for any cryptocurrency supported by Coinbase.
- Is there a limit to the number of API calls?
The caching mechanism helps reduce the number of API calls, but be mindful of Coinbase's API rate limits.
- How do I access the API documentation?
Once the server is running, you can access the API documentation at http://localhost:8000/docs.
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