
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.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
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 · 采集于 2026-11-13 10:35:33 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
本项目基于 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.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
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.