Create an API key and return its secret once.
Arguments
namestringrequiredName for the API key
project_referencestringProject ID or slug. Creating a project-scoped key requires project.api_keys.manage. Omit for a user-level key; a project-scoped API-key caller retains its enforced project when this field is omitted.
expires_atstringExpiration date in ISO 8601 format
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__create_api_key", "arguments": { "name": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"id\":\"string\",\"project_id\":\"string\",\"user_id\":\"string\",\"name\":\"string\",\"key\":\"string\",\"key_prefix\":\"string\",\"expires_at\":\"string\",\"created_at\":\"string\",\"scopes\":[\"string\"],\"scope\":\"account\"}" } ], "structuredContent": { "id": "string", "project_id": "string", "user_id": "string", "name": "string", "key": "string", "key_prefix": "string", "expires_at": "string", "created_at": "string", "scopes": [ "string" ], "scope": "account" } }}The tool ran; its output is result.structuredContent.