
yimcp
一个结合易经占卜功能的 Model Context Protocol 学习教程,基于 Spring.ai 和 Claude 桌面接口。
Repository Info
About This Server
一个结合易经占卜功能的 Model Context Protocol 学习教程,基于 Spring.ai 和 Claude 桌面接口。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Yi Master MCP Server
Overview
Yi Master MCP Server is a learning tutorial for Model Context Protocol implementation that integrates I Ching divination capabilities. This project demonstrates how to develop AI-powered divination services using Spring.ai and allows users to perform Six Lines (Liuyao) divination through Claude desktop interface.
Features
- Model Context Protocol (MCP) implementation tutorial
- Six Lines (Liuyao) I Ching divination system
- Integration with Spring.ai framework
- Compatible with Claude desktop access
- Interactive divination experience
Prerequisites
- Java Development Kit (JDK 17 or higher)
- Maven or Gradle
- Spring Boot knowledge
- Basic understanding of Spring.ai
- Claude API credentials (for desktop access)
Installation
-
Clone the repository:
git clone https://github.com/yourusername/yimaster-mcp.git cd yimaster-mcp -
Build the project:
./mvnw clean install
Usage
After starting the application, you can access the Yi Master divination service through:
- Claude Desktop client: Connect to the server endpoint
- Web interface: Access
http://localhost:8080in your browser - API: Send requests to the divination endpoints
Performing Six Lines (Liuyao) Divination
- Start a new divination session
- Focus on your question or concern
- Follow the prompts to generate the six lines
- Receive and interpret your hexagram reading
Model Context Protocol (MCP) Learning
This project serves as a tutorial for understanding Model Context Protocol:
- How to structure context for AI interactions
- Implementing Spring.ai integrations
- Managing conversation state and context
- Optimizing prompts for divination accuracy
Documentation
Detailed documentation is available in the docs directory:
- API Reference
- YI Basics
- Hexagram Interpretations
- MCP Implementation Guide
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Quick Start
Clone the repository
git clone https://github.com/geeeezx/yimcpInstall dependencies
cd yimcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.