Token导航 LogoToken导航TokenDH.com
Northwind MCP Layer logo
AI代理未说明官方级别未说明来源级核验

Northwind MCP Layer

MCP Server

一个轻量级的基于Go的MCP协议服务器,设计用于在VS Code中本地运行,将GitHub Copilot Chat与实时的northwind-api连接起来,支持通过自然语言查询实时数据。

工具数

4

提示词数

0

GitHub Stars

1

资源数

0
自然语言查询GitHub CopilotGoClaudeClaudeVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

NicholasRaynes

提供方

NicholasRaynes

最后核验

2026/5/17 20:22

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

🧠 北风mcp层

一个轻量级的基于Go的模型上下文协议(MCP)服务器,设计用于在VS Code中本地运行,将GitHub Copilot Chat与实时聊天连接起来 northwind-api. 它将所有Northwind业务端点作为结构化MCP工具公开,支持实时数据的自然语言查询。

用法

  1. 在VS代码中打开\

打开 northwind-mcp-layer VS Code中的项目。

  1. 启动本地MCP服务器\

使用中的配置启动MCP服务器 .vscode/mcp.json.\ 这将自动启动Gin HTTP服务器并公开MCP工具。

  1. 配置GitHub Copilot聊天\

在GitHub Copilot Chat中,通过指向中定义的本地服务器来加载MCP工具 mcp.json.

  1. 查询Northwind数据\

在Copilot Chat中使用自然语言提示与实时Northwind端点进行交互,例如:

- Provide details on customers from Germany. - What's the inventory status of products that need reordering?

备注

  • northwind-api 后端作为免费层Render web服务托管。最初访问时可能需要几秒钟才能启动。
  • 根据我的经验,Claude模型在与此MCP层交互时往往效果最佳。

架构概述

northwind-mcp-layer/
├── cmd/
│   └── mcp/               # Application entrypoint (starts the MCP Gin HTTP server)
├── internal/
│   └── mcp/               # Core MCP logic (request handling, tool routing)
├── go.mod / go.sum        # Go module dependencies
├── .vscode/
│   └── mcp.json           # MCP server configuration for Github Copilot (auto-loads server, tools, and API base)
└── README.md              # Project documentation

示例工具

工具名称描述示例参数
get_customers从Northwind API检索客户country=Germany, city=London
get_orders按客户、员工或年份检索订单year=1998, customer_id=ALFKI
get_sales_by_country按国家查看总销售额year=1998
get_top_customers按收入查看顶级客户limit=10, country=USA

每个MCP工具对应于 northwind-api 并且可以通过MCP协议动态地提供给Github Copilot。

示例提示

  • Provide some details on our customers from Germany.
  • What are our shipping costs for the year 1997?
  • What's the inventory status of our products that need to be reordered?
  • What's the supplier performance of Pavlova, Ltd.?

技术栈

  • 语言:Go 1.23+
  • 框架:金
  • 协议:模型上下文协议(MCP)
  • 集成:GitHub Copilot聊天

配套项目

https://github.com/nicholasraynes/northwind-api

  • 为该MCP层提供实时数据的REST API后端。使用分析扩展(订单、产品、供应商、KPI)实现Northwind数据集。

目录标签

目录标签

自然语言查询GitHub CopilotGoClaudeMCP协议本地部署GitHubCopilotVSCode插件实时数据

支持客户端

ClaudeVS Code

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP