Introduction
Working on several software projects at once usually means juggling separate chat windows, tool configurations, and database credentials. A technical lead at ProvenBase Inc describes a practical approach that keeps multiple AI-assisted projects active inside a single environment while maintaining clear boundaries between their data sources. The method relies on the Model Context Protocol and a tool called GateRook, which assigns each project its own named endpoint with dedicated connections, tool settings, and access controls.
What Happened
The author outlines a setup for two fictional projects: an online store and a booking service. Instead of giving one AI assistant blanket access to every database and cache, the workflow creates two MCP endpoints—shop-dev and booking-dev—each wired to its own PostgreSQL database and Redis cache. Both endpoints can stay active at the same time, allowing parallel conversations about order statuses and reservation availability without mixing up which service is being queried.
The walkthrough covers several specific steps:
- Creating endpoint-specific connections so shop-dev only sees store resources and booking-dev only sees booking resources.
- Connecting both endpoints to the same AI client, with a Cursor example showing how project-level configuration differs from global settings.
- Scoping database credentials using separate PostgreSQL roles limited to read access on relevant tables.
- Running separate conversations with explicit instructions about which endpoint and connection to use.
- Temporarily disabling access for one project or even a single connection, such as turning off a cache while keeping a database online.
Why This Matters
When multiple projects share the same underlying technologies, such as PostgreSQL and Redis, a vague tool name becomes ambiguous. Without clear separation, an AI assistant might accidentally inspect the wrong schema or return data from the wrong application. Named endpoints make the service path explicit before any tool call happens. The ability to pause an endpoint or a single connection also gives developers a quick way to narrow focus without tearing down and rebuilding their configuration. Because credentials and tool modes are preserved when access is switched off, teams can resume work later without starting from scratch.
Key Takeaways
- Give each project its own MCP endpoint with a descriptive name, such as shop-dev or booking-dev.
- Assign separate database and cache connections to each endpoint so resources never bleed between projects.
- Use project-level AI client configuration rather than global settings when you need strict per-project tool availability.
- Scope database credentials with dedicated roles and prefer read-only access for investigative work.
- Pause an entire endpoint to block new service requests for a project, or switch off one connection—like a cache—while leaving others available.
- Remember that switching access does not erase existing conversation history or block tools outside the MCP path, such as direct shell commands.
Conclusion
Managing multiple AI projects in one environment is possible without sacrificing isolation or clarity. By treating service access as a configurable layer—complete with named endpoints, scoped credentials, and simple on/off switches—developers can run parallel investigations across different applications while keeping the boundaries visible. The approach works best when paired with explicit task instructions and regular checks of which workspace, endpoint, and connection are active before starting any new work.

Discussion
Join the conversation
Thoughtful reactions, questions, and follow-up ideas help shape the next story.