
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A demonstration project pairing an MCP Server and Client, using a local Ollama model to invoke tools through natural language.
Go MCP server demo with local LLM tool calling is cataloged as an MCP server attributed to patrick7241. A demonstration project pairing an MCP Server and Client, using a local Ollama model to invoke tools through natural language. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Go MCP server demo with local LLM tool calling are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The MCP server listens by default on port 2002.
The example uses the qwen2:1.5b model pulled and run through Ollama.
README.md · c19b9a083f88 · Fetched 2026-11-13 10:35:33 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
本项目基于 mark3labs/mcp-go 实现了一个 MCP Server 与 MCP Client 通信的演示,结合 Ollama 启动本地大语言模型,实现自然语言调用工具的能力。
.sql 文件http://localhost:11434)请参考官网:https://ollama.com
根据操作系统下载安装 Ollama CLI 工具。
在命令行中执行以下命令,拉取你需要的模型(示例使用 qwen2:1.5b):
ollama pull qwen2:1.5b
ollama run qwen2:1.5b
模型将监听本地端口:http://localhost:11434/api/generate
打开并编辑 pkg/config/config.yml:
ollama:
model: qwen2:1.5b
mysql:
host: localhost
port: 3306
user: root
password: your_password
database: your_database
sql:
sqlFilePath: E:/your/path/to/test.sql
✅ 注意事项:
model名称需与ollama pull和ollama run保持一致mysql信息替换为你本地或远程数据库连接参数sqlFilePath设置为你希望读取的.sql文件绝对路径
进入主服务目录并运行:
cd cmd/server
go run main.go
默认监听地址:http://localhost:2001
在新终端中启动 MCP 服务:
cd cmd/mcp-server
go run main.go
默认监听地址:http://localhost:2002
服务将自动注册以下工具:
read_file: 读取指定的 .sql 文件内容query_db: 执行任意 SQL 并返回查询结果Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Go MCP server demo with local LLM tool calling from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/go-mcp-demo)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.