coremcp.yaml from the binary’s directory by default. Override with --config /path/to/file.yaml. All sections are optional except sources (you need at least one).
Top-level shape
server
logging
JSON format is the right choice for systemd / Docker — easier to ship into Loki, Datadog, etc.
sources
A list. Each entry defines one database or API the agent will expose to MCP clients. Source names must be unique within an agent.
Database sources (mssql)
firebird is a placeholder — the factory returns “not implemented yet” on connect. Tracking issue: firebird driver.REST sources
GraphQL sources
custom_tools
Define reusable SQL or API queries as named MCP tools your client can call directly.
security
Environment variable expansion
Anywhere a string is expected, CoreMCP expands${VAR} from the process environment. Useful for keeping secrets out of the YAML file:
Full example
A completecoremcp.yaml exercising every section: