Skip to content

kifas.secrets.request_create

Ask the user to create a secret with the given name. The user is asked in the question card of their active vibe build; once they enter the value it is stored and the tool resolves to { ok: true, name }. On cancel or 5-minute timeout the tool resolves to { ok: false, error }. The agent never sees plaintext. run_id must be the currently-running vibe run.

Required scopes: secrets:request

Name Type Required Default Description
run_id string yes —
name string yes —
scope "workflow"` | `"org" yes —
workflow_id string no —
hint string no —
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"name": {
"type": "string"
},
"error": {
"type": "string"
},
"hint": {
"type": "string"
}
},
"required": [
"ok",
"name"
],
"additionalProperties": false
}
TypeScript (Anthropic MCP SDK)
import { Client } from '@modelcontextprotocol/sdk/client/index.js'
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamable-http.js'
const transport = new StreamableHTTPClientTransport(
new URL('https://mcp.kifas.io/'),
{
requestInit: {
headers: { Authorization: `Bearer ${process.env.KIFAS_API_KEY}` },
},
},
)
const client = new Client({ name: 'demo', version: '0.1.0' })
await client.connect(transport)
const result = await client.callTool({
name: 'kifas.secrets.request_create',
arguments: {
"run_id": "00000000-0000-0000-0000-000000000000",
"name": "",
"scope": ""
},
})
console.log(result)
Python (httpx, raw JSON-RPC)
import os
import httpx
resp = httpx.post(
"https://mcp.kifas.io/",
headers={
"Authorization": f"Bearer {os.environ['KIFAS_API_KEY']}",
"Content-Type": "application/json",
},
json={
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "kifas.secrets.request_create",
"arguments": {
"run_id": "00000000-0000-0000-0000-000000000000",
"name": "",
"scope": ""
},
},
},
)
print(resp.json())
curl
Terminal window
curl https://mcp.kifas.io/ \
-H "Authorization: Bearer $KIFAS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "kifas.secrets.request_create",
"arguments": {
"run_id": "00000000-0000-0000-0000-000000000000",
"name": "",
"scope": ""
}
}
}'
Raw JSON-RPC body
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "kifas.secrets.request_create",
"arguments": {
"run_id": "00000000-0000-0000-0000-000000000000",
"name": "",
"scope": ""
}
}
}

Want to try kifas.secrets.request_create? Sign in to the dashboard and run it against a real session.

Try in Kifas →