Documentation
¶
Overview ¶
Package mcpserver exposes dbterm's saved database profiles to trusted local agent clients over the Model Context Protocol. The server is stdio-only and read-only by default.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Version string
ConnectionScope string
AllowProfileWrites bool
MaxRows int
QueryTimeout time.Duration
AuditWriter io.Writer
StoreLoader func() (*config.Store, error)
Connector func(*config.ConnectionConfig) (*sql.DB, error)
}
Options controls the local MCP server. Zero values select conservative defaults. StoreLoader and Connector exist so the safety boundary can be tested without using a person's real profile.
Click to show internal directories.
Click to hide internal directories.