kotlin-cyrpto-price-spring-mcp-server-demo
If you are the rightful owner of kotlin-cyrpto-price-spring-mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A demonstration project showcasing the integration of Spring AI's Model Context Protocol (MCP) server with a cryptocurrency price API service.
This project implements a Spring Boot application that serves as an MCP server, providing tools for AI models to search for cryptocurrencies by name or symbol and retrieve market data for specific cryptocurrencies. The application uses the CoinGecko API to fetch real-time cryptocurrency data. It is built using Kotlin and Spring Boot, and it integrates with AI models through the Model Context Protocol, allowing them to access cryptocurrency data in a standardized manner.
Features
- Cryptocurrency Search: Search for cryptocurrencies, exchanges, categories, and NFTs.
- Market Data Retrieval: Get detailed market data for specific cryptocurrencies.
- MCP Integration: Exposes functionality as tools for AI models via Spring AI's MCP server.
- Logging: Comprehensive logging of tool requests and responses.
Tools
Search Cryptocurrency
search cryptocurrency information by user input query.
Get Market Data
get cryptocurrency market data by id. The id must be used by the return of the searchCryptocurrency tools.