Overview
what is go-mcp-demo?
The go-mcp-demo project is a demonstration of communication between an MCP Server and an MCP Client, utilizing the mark3labs/mcp-go framework and integrating with Ollama to enable natural language tool invocation.
how to use go-mcp-demo?
To use go-mcp-demo, install the Ollama CLI tool, pull and run the desired model, configure the settings in the config.yml file, and then start both the MCP Client and Server services.
key features of go-mcp-demo?
- Integrated MCP Server and Client communication framework
- Execute natural language commands to read local .sql files and perform MySQL queries
- Inference using the Ollama local large model
use cases of go-mcp-demo?
- Reading and executing SQL queries from local files.
- Interacting with databases using natural language commands.
- Demonstrating the capabilities of large language models in database management.
FAQ from go-mcp-demo?
- What is the purpose of this project?
This project serves as a demonstration of how to integrate an MCP Server and Client with natural language processing capabilities.
- Do I need to install any dependencies?
Yes, you need to install the Ollama CLI tool and configure your database settings.
- Can I use any SQL database?
Yes, you can connect to any MySQL database by providing the correct connection parameters in the configuration file.