Coremcp MCP Server

A Model Context Protocol (MCP) server, written in Go, that exposes SQL databases as MCP tools and prompts. It runs as a single static binary, embeds

Local serverstdioGo

What is the Coremcp MCP server?

A Model Context Protocol (MCP) server, written in Go, that exposes SQL databases as MCP tools and prompts. It runs as a single static binary, embeds its drivers, and talks either stdio (for local MCP clients like Claude Desktop) or an. The coremcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 8 defined tools rather than through you.

What it actually does

CoreMCP is the open-source, on-prem gateway component of CoreBase, an AI agent platform for your company's data. Chat with your databases and APIs directly, or let autonomous and event-triggered agents run multi-step automations across them — databases (SQL Server 2000+, PostgreSQL), REST and GraphQL APIs, and 50+ SaaS connectors.

Its toolset

Everything the assistant can do here goes through one of these:

  • name — "get_daily_sales"
  • Binary — Download from the Releases page — linux/amd64, linux/arm64, darwin/{amd64,arm64}, windows/amd64
  • query_database — The query_database tool exposed by this server
  • list_tables — Tables with column counts, primary keys, foreign key counts
  • describe_table — Full schema for one table: columns, types, nullability, PKs, FKs, column comments
  • list_views — The list_views tool exposed by this server
  • list_procedures — Stored procedures with parameter names, types, modes (IN/OUT/INOUT), and a ready-to-copy example call
  • execute_procedure — Calls a stored procedure with named parameters. Only enabled when readonly: false.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

When to reach for it

Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Coremcp's toolset — name, Binary, query_database and 5 more — is a fair guide to whether it matches your workflow. It is maintained by corebasehq; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the coremcp mcp server does with a few real requests.

Available tools

ToolWhat it does
name"get_daily_sales"
BinaryDownload from the [Releases page](https://github.com/corebasehq/coremcp/releases) — linux/amd64, linux/arm64, darwin/{amd64,arm64}, windows/amd64.
query_databaseThe query_database tool exposed by this server.
list_tablesTables with column counts, primary keys, foreign key counts.
describe_tableFull schema for one table: columns, types, nullability, PKs, FKs, column comments.
list_viewsThe list_views tool exposed by this server.
list_proceduresStored procedures with parameter names, types, modes (IN/OUT/INOUT), and a ready-to-copy example call.
execute_procedureCalls a stored procedure with named parameters. **Only enabled when readonly: false.**

How to install the Coremcp MCP server

{
  "mcpServers": {
    "coremcp": {
      "command": "/path/to/coremcp",
      "args": ["serve", "-c", "/path/to/coremcp.yaml"],
      "env": {}
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Coremcp to name.
  • Use Coremcp to Binary.
  • Use Coremcp to query database.

Frequently asked questions

It connects Coremcp to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (name, Binary, query_database, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Coremcp directly.