MCP ExplorerExplorer

Gabi Mcp Server

@app-sreon 10 months ago
1 MIT
FreeCommunity
AI Systems
A MCP server for Gabi

Overview

What is Gabi Mcp Server

gabi-mcp-server is a specialized MCP server designed for Gabi, enabling seamless interaction with Gabi instances.

Use cases

Use cases include querying databases through Gabi in development workflows, automating data retrieval tasks, and enhancing productivity with Copilot in VSCode.

How to use

To use gabi-mcp-server, clone the repository, build it using ‘make build’, log in to the Gabi cluster with ‘oc login’, and configure your VSCode workspace with the provided JSON settings.

Key features

Key features include integration with VSCode, support for SQL queries, and the ability to interact with Gabi instances through a streamlined command interface.

Where to use

gabi-mcp-server is primarily used in software development environments where Gabi is employed, particularly for applications requiring database interactions.

Content

Gabi MCP server

This repo contains a MCP server for gabi.

Disclaimer

:warning: The use of this MCP server must be limited to local or internal models

For now, to run it within vscode with copilot for example:

  • clone this repository
  • run make build. This uses podman to create an image `localhost/gabi-mcp-server:latest`` locally
  • add the following the your vscode workspace .vscode/mcp.json file:
{
  "servers": {
    "gabi": {
      "type": "stdio",
      "command": "podman",
      "args": [
        "run",
        "-i",
        "-e",
        "GABI_ENDPOINT=<your Gabi instance URL>",
        "-e",
        "GABI_TOKEN=<Your Openshift token: oc whoami -t>",
        "localhost/gabi-mcp-server:latest"
      ]
    }
  }
}
  • oc login to the cluster running gabi and update your token in the file above. These expire typically every 24h.

You can now chat with Copilot in VSCode:

run select * from cars on gabi and show the output

Example output (from real life):

I’ll run a SQL query on Gabi to show you all data from the cars table. First, I need to check if the Gabi server is available and ready.

Ran check on gabi (MCP Server)

Great! The Gabi server is reachable and ready. Now I’ll run your SQL query to select all data from the cars table.

Ran query on gabi (MCP Server)

Here are the results of your query SELECT * FROM cars:

brand model year
Ford Mustang 1964

As you can see, there’s one row in the cars table with a Ford Mustang

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers