Skip to content

v0.3.1 - relm MCP

Choose a tag to compare

@agmonetti agmonetti released this 04 Sep 23:28
· 22 commits to main since this release

What's New in v...

Model Context Protocol (MCP) Support

relm now includes a dedicated MCP server binary (relm-mcp), turning relm into a unified database interface for AI coding agents and assistants (such as Antigravity / agy, Claude Desktop, Cursor, and Windsurf).

Instead of configuring separate MCP servers for each database technology, a single relm-mcp server provides access across all 9 supported database engines: SQLite, PostgreSQL, MySQL, MariaDB, SQL Server, MongoDB, Redis, Cassandra, and Neo4j.

MCP Tools Included

  • list_objects — List tables, collections, keys, or node labels.
  • browse — Paginate through data using native engine pagination (keyset, cursors, skip/limit).
  • inspect — Inspect table schemas, column types, primary keys, indexes, and storage metadata.
  • query — Execute raw queries in the native language (SQL, MQL, RESP, CQL, Cypher).
  • connect — Connect or switch databases dynamically using a DSN or saved connection name.
  • list_connections — Discover saved database profiles from ~/.config/relm/connections.json.

Safe by Design

  • --read-only mode: Block write operations (INSERT, UPDATE, DROP, SET, mutations) at the server level to allow agents to safely analyze production or development environments.

Quick Start

Add to your mcp_servers.json:

{                                                                                                                                                        
  "mcpServers": {                                                                                                                                        
    "relm": {                                                                                                                                            
      "command": "go",                                                                                                                                   
      "args": [                                                                                                                                          
        "run",                                                                                                                                           
        "github.com/agmonetti/relm/cmd/relm-mcp@latest",                                                                                                 
        "--read-only",                                                                                                                                   
        "postgres://user:pass@localhost:5432/mydb"                                                                                                       
      ]                                                                                                                                                  
    }                                                                                                                                                    
  }                                                                                                                                                      
}                                                                                                                                                        

Or install the binary globally with go install github.com/agmonetti/relm/cmd/relm-mcp@latest.