[FEATURE] Create MCP package for stackql

未关闭
#110 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
go
领域
api, backend

调研方向

首先检查现有的 pkg 目录以及链接的 Model Context Protocol Go SDK。定义 pkg/mcp_server 的边界:与传输无关的后端接口、JSON/YAML 配置,以及一个在不依赖 stackql 的情况下提供常规可配置传输的 MCP 服务器。完成的标准是该包能够基于这些抽象进行构建,并且自身不依赖 stackql。

由索引模型根据 Issue 内容生成。

描述

enhancement

Feature Description

Create a package inside the pkg directory, called mcp_server. This will have zero dependencies on stackql itself and it will contain:

  1. An interface abstraction for the backend that will run queries arising from client requests to a backend, in the first instance this backend will be stackql, but we will do the implementation later in core code. This interface should be equally amenable to passing queries in memory or over TCP or other sockets.
  2. Some config structure with json and yaml attribute definnitions to configure mcp_sefver.
  3. An MCP server, probably using the golang mcp sdk. This should depend on the interface described in (1) and the config described in (2) and expose all conventional MCP transports, configurably.

The goal is for LLMS to consume stackql as a first class information source.

Example(s)

  • I don't really want to go into examples at this stage. At the risk of being repetitive, the goal is for LLMs to consume stackql as a first class information source.

Possible Approaches or Libraries to Consider

Additional context

主要语言
Go
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stackql/stackql-devel 的其他 Issue

查看 stackql/stackql-devel 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。