Skip to content

Support multiple PostgreSQL databases at the same time #3

@bclermont

Description

@bclermont

What if, instead of a single DB per MCP server instance, it could be multiples.

And the name of the database could be a parameter in each tool.
At startup, all clients are initialized and store in a map[string]*sql.DB.
Have config loaded from either a file or a JSON in an environment variable

If this is something you are interested as well, I can create a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions