Conversation
Summary: Implements Model Context Protocol server to enable LLMs to consume StackQL as a first-class information source. Key features: - Backend interface abstraction for flexible query execution - Comprehensive configuration with JSON/YAML support - Complete MCP protocol implementation (initialize, resources, tools) - Multiple transport support (stdio, TCP, WebSocket) - Zero dependencies on StackQL internals - Example backend for testing and demonstration The package provides clean separation of concerns with interfaces that can be implemented for in-memory, TCP, or other communication methods as requested in issue #110. 🤖 Generated with [Claude Code](https://claude.ai/code) --- - Hide all concrete types behind interfaces except config structures - Make factory functions return interface types - Create hierarchical schema interface instead of flat schema - Add nolint comments for driver import - Remove unused imports and ensure clean API 🤖 Generated with [Claude Code](https://claude.ai/code) --- Summary: - Leverage golang mcp SDK. - Conform golang versioning. - Added `stackql_mcp_client` to Dockerfile. - Agnostic backend for MCP. - Added robot test `MCP HTTP Server Run List Tools`. - Added robot test `MCP HTTP Server Verify Greeting Tool`. - Added robot test `MCP HTTP Server List Providers Tool`. - Added robot test `MCP HTTP Server List Services Tool`. - Added robot test `MCP HTTP Server List Resources Tool`. - Added robot test `MCP HTTP Server List Methods Tool`. - Added robot test `MCP HTTP Server Query Tool`. - Doc improvements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
NOTE: We acknowledge the contribution of Claude Code to this change set.
Implements Model Context Protocol server to enable LLMs to consume StackQL as a first-class information source.
Key features:
The package provides clean separation of concerns with interfaces that can be implemented for in-memory, TCP, or other communication methods as requested in issue #110.
🤖 Generated with Claude Code
🤖 Generated with Claude Code
Summary:
stackql_mcp_clientto Dockerfile.MCP HTTP Server Run List Tools.MCP HTTP Server Verify Greeting Tool.MCP HTTP Server List Providers Tool.MCP HTTP Server List Services Tool.MCP HTTP Server List Resources Tool.MCP HTTP Server List Methods Tool.MCP HTTP Server Query Tool.Type of change
Issues referenced.
N/A.
Evidence
MCP HTTP Server Run List Tools.MCP HTTP Server Verify Greeting Tool.MCP HTTP Server List Providers Tool.MCP HTTP Server List Services Tool.MCP HTTP Server List Resources Tool.MCP HTTP Server List Methods Tool.MCP HTTP Server Query Tool.Checklist:
Variations
N/A.
Tech Debt
Technical debt is not worsened in this change.