Get current user

Return the profile of the signed-in user; GraphQL and MCP also return the profile of the user who owns an API key.

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__get_current_user",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"string\",\"email\":\"string\",\"name\":\"string\",\"avatar_src\":\"string\",\"role\":[\"string\"],\"approved\":false,\"subscription\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"user_id\":\"00000000-0000-0000-0000-000000000000\",\"line_items\":[{\"kind\":\"plan\",\"quantity\":0}],\"expires_at\":\"string\",\"created_at\":\"string\",\"canceled_at\":\"string\"}}"      }    ],    "structuredContent": {      "id": "string",      "email": "string",      "name": "string",      "avatar_src": "string",      "role": [        "string"      ],      "approved": false,      "subscription": {        "id": "00000000-0000-0000-0000-000000000000",        "user_id": "00000000-0000-0000-0000-000000000000",        "line_items": [          {            "kind": "plan",            "quantity": 0          }        ],        "expires_at": "string",        "created_at": "string",        "canceled_at": "string"      }    }  }}

The tool ran; its output is result.structuredContent.