Skip to content

Add Multi-Tenancy Support#80

Open
chensxb97 wants to merge 17 commits intoClickHouse:mainfrom
chensxb97:main
Open

Add Multi-Tenancy Support#80
chensxb97 wants to merge 17 commits intoClickHouse:mainfrom
chensxb97:main

Conversation

@chensxb97
Copy link
Copy Markdown

This PR is similar to #48. The intention is provide multi-tenancy in a single MCP server but in a more flexible manner. If no custom prefix is defined, we assign a "default" tenant, otherwise we create tenant IDs based on the prefix used. To prevent any confusion, "default" is not allowed as a prefix.

For my team's usecases, we are planning to have a single MCP server to intelligently communicate with more than 5 clusters so this implementation provides that flexibility for us.

README and unit tests have been updated accordingly. Am welcome to any feedback.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Aug 19, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants