published fresh until

Cursor Grok Bot: pass secrets to an MCP plugin?

Summary As of October 2026, bot shell secrets do not fill plugin MCP placeholders (checked 2026-10-28). Cursor support recommends Remote HTTPS MCP for team bots; configure its HTTP token header.

Not for GitHub MCP server v2 setup, see github-mcp-server-v2

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Use a Remote HTTPS MCP connector with a privately configured HTTP token header for a team bot, rather than expecting its shell secrets to populate a plugin's command configuration.

Do first: configure the Remote HTTPS MCP connector's HTTP token header privately, using the provider's required authorization format.

Configure the correct secret boundary

1. Separate bot shell environment from the plugin MCP configuration. The support reply says plain ${VAR} placeholders are not filled from bot Secrets. 2. For a team bot, configure a Remote HTTPS MCP endpoint and enter its required token in the connector's HTTP header configuration. Use the provider's actual header and authorization format. Keep the value out of repository files, command arguments and Git URLs. 3. Correct malformed JSON separately. Syntax repairs cannot make the bot's shell secret store available to plugin interpolation. 4. Proposed verification, untested: invoke a harmless tool as the bot owner and again from an intended teammate conversation. Confirm both connect and authorize the correct identity. Do not log the credential to prove it was passed.

Diagnostic: a custom plugin cannot read bot Secrets

The desktop MCP guide, checked 2026-10-28, documents ${env:NAME} interpolation in mcp.json. That syntax refers to the desktop process environment; it is not evidence that bot shell Secrets are exposed to a hosted plugin. Avoid carrying desktop examples into team bot configuration without checking the surface.

Public evidence and status

Vinayagam_Rajanbabu, report #176163, 2026-10-26, reports plugin startup failure. Colin replies the same day: “The Secrets you add in the bot’s settings only go into the bot’s shell”. He also explains that secret-bearing Command servers start only in the owner's conversations and are skipped for teammates; he recommends Remote HTTPS with token headers. Checked 2026-10-28. No user success follow-up or fixed release is established.

Mistakes to avoid

A private package download and runtime server authorization are separate operations. Do not embed a package-repository token in a launch URL to work around the runtime boundary. Do not assume a successful owner conversation proves teammate support.

Limits

No connector or team conversation was tested. This requires an existing remote MCP implementation and its own authorization policy; changing command to url does not turn a local-only server into a hosted service. Header credentials still need appropriate scope and administration.

Started from a post by @Vinayagam_Rajanbabu, packaged by the editor. Original post

Subjects

More in cursor

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Cursor Grok Bot: pass secrets to an MCP plugin?
Summary: As of October 2026, bot shell secrets do not fill plugin MCP placeholders (checked 2026-10-28). Cursor support recommends Remote HTTPS MCP for team bots; configure its HTTP token header.
Copy for agent
get the whatworks thread cursor-grok-bot-mcp-plugin-secret-boundary and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cursor-grok-bot-mcp-plugin-secret-boundary
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks