Quick answer: Replit Secrets provide environment-based credential access for your project; published-project settings and access roles need separate review. Adding Gazebo can centralise authorised retrieval, but does not isolate Agent from other available credentials or enforce how a returned provider key is used.
Separate secret storage from runtime access
Replit's Secrets tool stores sensitive values separately from ordinary project files and makes them available to project code as environment variables. Non-sensitive settings belong in configurations rather than being treated as credentials.
Encrypted storage is useful, but authorised code still needs the plaintext value to authenticate a request. If an agent's permitted tools can run code with access to an environment value, that is a possible access path. The model does not automatically see every secret, and the Secrets user interface is not the complete runtime boundary.
Assess the particular project's permissions, connected tools and execution environment. Do not assume that every Agent session receives every credential, or that a masked value is inaccessible to code authorised to use it.
Review development and production separately
Replit documents production app secrets in Publishing settings. Review those separately from development values, including whether a production credential is unnecessarily available during development.
Where possible, use different provider credentials for test and production, with permissions appropriate to each. Do not infer that a workspace and its published app always use identical credentials.
Similarly, distinguish access to project code from access to a published app. Check actual visibility and collaboration settings rather than assume a project's plan establishes who can read its files.
Watch files, remixes and browser bundles
Project files: a credential in .env, source code, a fixture or a copied configuration is still file content. Its exposure depends on permissions, version history, sharing and exports. Use the Secrets tool instead of pasting real values into instructions or committed files.
Remixes: Replit's documentation distinguishes owners, collaborators and other users when describing secret visibility. Do not assume either that every remix receives values or that no remix or runtime can access them. File-based credentials require separate review, regardless of how the Secrets tool behaves.
Frontend code: framework public-variable mechanisms can expose values when included in a client bundle. Examples include Vite's VITE_ and Next.js's NEXT_PUBLIC_ conventions. Check the framework's actual build behaviour and generated client code; secret storage does not make a browser-delivered value private.
A static frontend has no private server runtime for secret-bearing requests. Use an appropriate backend when a request requires a private credential. Static publishing does not require or justify putting that credential into browser JavaScript.
Where Gazebo can add value
For several agents and services, Gazebo offers a common place to manage retrieval permissions and inspect credential-access history. That is different from controlling everything an Agent session can do.
The MCP tool get_credential returns an approved stored provider key to the requesting runtime and its host. It does not execute the provider request or mint a new operation-specific key. Its declared method is retrieval-policy context; the returned key's provider permissions govern subsequent use.
A named identity can make retrieval easier to manage. It does not automatically create a project sandbox or a unique session identity.
Connect MCP without assuming project isolation
Replit's MCP connection guide describes the integrations/settings flow for adding a custom server:
- Open MCP server settings and add a custom server.
- Enter a display name and the hosted HTTPS endpoint,
https://app.gazebohq.com/api/mcp. - Use the authentication path supported by the client and server: OAuth where compatible, or a manual agent bearer header.
- Follow the client's test/save and authentication prompts.
For a manual header, use a Gazebo agent token, not an account API token. For OAuth, approve only the service keys needed and use their explicit key names in retrieval calls. Do not mix both authentication paths as though they were one setup.
Replit's documentation describes connected MCP capabilities as available across projects. Adding a server is therefore not evidence of isolation to the project where you first use it. Review which tools and connection identities are available in the actual session.
This is vendor-documented setup guidance, not a completed end-to-end Gazebo/Replit compatibility test. The Gazebo MCP overview explains its endpoint and authentication requirements.
Verify retrieval and handling deliberately
Start with get_identity. Use a fictional service key for the first retrieval, check its event with list_audit_events and inspect the relevant output and logging surfaces.
Ask Agent not to display the value, but do not treat that request as a guarantee against model, tool or host exposure. Revoke the test grant or agent and confirm a fresh retrieval fails without reconnecting.
For real work, review unnecessary inherited access and constrain actual execution tools. Telling Agent to use MCP does not remove readable environment values, disable other integrations or prevent a tool from using a previously returned key.
Respond at the right boundary
Gazebo records retrieval attempts, not every external API operation performed while building. A missing retrieval event does not prove no provider access occurred; consult runtime and provider records.
Revoke Gazebo access to stop future retrieval. If a provider credential may already be exposed, restrict, revoke or replace it at the provider as appropriate, accounting for legitimate consumers. Do not promise that this leaves every application unaffected.
See environment and runtime trust boundaries and MCP configuration security for the broader handling rules.
Last reviewed: 8 November 2026. Independent editorial; not affiliated with or endorsed by Replit. Platform settings and availability can change; consult the linked official documentation.