MCP tools
set_secret
Store an API key or other secret for an app, outside the code.
The app reads it as env.NAME in server code. It works from the next request, with no redeploy. The value is stored encrypted and never shown again.
Save my HubSpot token as HUBSPOT_TOKEN for the lead tracker: pat-na1-...Parameters
appstringrequiredApp name, address name, URL or id.
namestringrequiredCapital letters, digits and underscores, starting with a letter, 2 to 64 characters. For example HUBSPOT_TOKEN. Names starting with INHAUS_ are reserved.
valuestringrequiredThe secret value. Up to 5 KB.
Result
app_idstringThe app's id.
namestringThe secret's name.
updated_atstringWhen it was saved.
The value is never echoed back.
Required role
Editor or Owner.