Expand description
MCP server setup, tool definitions, handlers, and transport dispatch.
Defines Server which implements the MCP ServerHandler trait.
Tool registration uses [build_tool_router] to conditionally include
tools based on the database backend and read-only setting.
Structs§
- Create
Database Request - Request to create a database.
- GetTable
Schema Request - Request to get a table’s schema.
- List
Tables Request - Request to list tables in a database.
- Query
Request - Request for
read_queryandwrite_querytools. - Server
- MCP server backed by a database backend.