Skip to content

Add MCP server - #145

Merged
ryannedolan merged 5 commits into
mainfrom
mcp-server
Aug 13, 2025
Merged

ryannedolan merged 5 commits into
mainfrom
mcp-server

Conversation

@ryannedolan

Copy link
Copy Markdown
Collaborator

Summary

  • Add simple MCP server impl

Details

MCP enables various AI models to invoke external tools. This PR implements a minimal MCP wrapper around the Hoptimator JDBC driver. Anything that understands MCP can launch the "server" and issue SQL commands.

Testing

Tested with Anthropic's MCP Inspector and Claude Desktop. Verified the model is able to interrogate a K8s cluster via the SQL interface.

With very minimal prompting, Claude figured out how to query databases, deploy pipelines, check status, and install new databases.

My MCP configuration, for reference:

{
    "mcpServers": {
        "default-server": {
            "command": "./hoptimator-mcp-server/start",
            "args": [],
            "env": {
            }
        }
    }
}

@jogrogan jogrogan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Maybe just add a snippet to the README on how to use this?

@ryannedolan
ryannedolan enabled auto-merge (squash) August 13, 2025 15:29
@ryannedolan
ryannedolan merged commit 9cb36dd into main Aug 13, 2025
1 check passed
@ryannedolan
ryannedolan deleted the mcp-server branch August 13, 2025 15:39
jogrogan added a commit that referenced this pull request Aug 13, 2025
* MCP extensions

* Refactor to make extensible

* Better formatting & limit query call

* Update query description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants