Retirement Lab MCP User Keys API

The mcp-user-keys API from Retirement Lab — 3 operation(s) for mcp-user-keys.

GitHub OpenAPI

Operations 4

GET /api/account/mcp-keys List Mcp Keys #
POST /api/account/mcp-keys Issue Mcp Key #
POST /api/account/mcp-keys/{key_id}/rotate Rotate Mcp Key #
DELETE /api/account/mcp-keys/{key_id} Revoke Mcp Key #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/retirementlab-app:retirementlab-app-mcp-user-keys-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

retirementlab-app-mcp-user-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Income Simulator MCP User Keys API
  version: 0.1.0
tags:
- name: mcp-user-keys
paths:
  /api/account/mcp-keys:
    get:
      tags:
      - mcp-user-keys
      summary: List Mcp Keys
      operationId: list_mcp_keys_api_account_mcp_keys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpUserKeyListResponse'
      security:
      - HTTPBearer: []
    post:
      tags:
      - mcp-user-keys
      summary: Issue Mcp Key
      operationId: issue_mcp_key_api_account_mcp_keys_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/McpUserKeyIssueRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpUserKeyIssueResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/account/mcp-keys/{key_id}/rotate:
    post:
      tags:
      - mcp-user-keys
      summary: Rotate Mcp Key
      operationId: rotate_mcp_key_api_account_mcp_keys__key_id__rotate_post
      parameters:
      - required: true
        schema:
          type: integer
          title: Key Id
        name: key_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpUserKeyIssueResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/account/mcp-keys/{key_id}:
    delete:
      tags:
      - mcp-user-keys
      summary: Revoke Mcp Key
      operationId: revoke_mcp_key_api_account_mcp_keys__key_id__delete
      parameters:
      - required: true
        schema:
          type: integer
          title: Key Id
        name: key_id
        in: path
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    McpUserKeyIssueRequest:
      properties:
        label:
          type: string
          maxLength: 200
          minLength: 1
          title: Label
      type: object
      required:
      - label
      title: McpUserKeyIssueRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    McpUserKeyListResponse:
      properties:
        keys:
          items:
            $ref: '#/components/schemas/McpUserKeySummary'
          type: array
          title: Keys
        active_count:
          type: integer
          title: Active Count
        max_active_keys:
          type: integer
          title: Max Active Keys
      type: object
      required:
      - keys
      - active_count
      - max_active_keys
      title: McpUserKeyListResponse
    McpUserKeySummary:
      properties:
        id:
          type: integer
          title: Id
        label:
          type: string
          title: Label
        masked_token:
          type: string
          title: Masked Token
        created_at:
          type: string
          format: date-time
          title: Created At
        last_used_at:
          type: string
          format: date-time
          title: Last Used At
        rotated_at:
          type: string
          format: date-time
          title: Rotated At
        revoked_at:
          type: string
          format: date-time
          title: Revoked At
      type: object
      required:
      - id
      - label
      - masked_token
      - created_at
      title: McpUserKeySummary
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    McpUserKeyIssueResponse:
      properties:
        key:
          $ref: '#/components/schemas/McpUserKeySummary'
        token:
          type: string
          title: Token
        client_config_snippet:
          type: string
          title: Client Config Snippet
      type: object
      required:
      - key
      - token
      - client_config_snippet
      title: McpUserKeyIssueResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer