Skip to content

Login status

Check who you're signed in as, which Log10x envs your account can reach, and which env the next tool call will hit. Returns your identity, a per-env permissions table, and the current default. Distinct from Discover env, which scans Kubernetes and AWS instead of Log10x.

Example

You

login status

Log10x

Signed in as talw@log10x.com (GitHub talweiss).

Environments:

Env Permissions Default Last used
prod OWNER yes 12 min ago
staging WRITE yesterday
demo-shared READ 4 days ago

Default env: prod. Most recent this session: prod.

More to ask

  • "am I logged in?"
  • "which envs can I write to?"
  • "switch default to staging"

Prerequisites

No prerequisites. Runs in demo mode too — the response points at Sign in when no credentials are configured.

Schema and samples

Input example

Real call against the demo env (captured by scripts/capture-tool-envelopes.mjs).

{
  "view": "summary"
}
Input schema

Agent-facing JSON Schema (the canonical shape the MCP server publishes via tools/list):

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Source: src/tools/login-status.ts.

Output example

Real envelope from the demo env. view: "summary" returns the full StructuredOutput with typed data. Long arrays + base64 PNG bodies trimmed for readability; the real call returns them in full.

Headline (the 1-line agent-facing answer):

Demo mode — all queries hit the public read-only env.

{
  "schema_version": "1.0",
  "schema_epoch": "2026-05-25",
  "tool": "log10x_login_status",
  "generated_at": "2026-05-26T15:38:42.092Z",
  "view": "summary",
  "summary": {
    "headline": "Demo mode — all queries hit the public read-only env."
  },
  "data": {
    "signed_in": false,
    "demo_mode": true,
    "profile": {
      "username": "demo_readonly@log10x.com",
      "user_id": "auth0|6973eebd7ffcff4ea59e284d",
      "tier": "Free"
    },
    "envs": [
      {
        "env_id": "6aa99191-f827-4579-a96a-c0ebdfe73884",
        "nickname": "10x Demo",
        "permissions": "READ",
        "owner": "demo@log10x.com",
        "is_default": true,
        "is_last_used": false
      }
    ],
    "notices": []
  },
  "actions": [
    {
      "tool": "log10x_signin_start",
      "args": {},
      "reason": "open browser Auth0 device flow to switch from demo to a real account"
    }
  ],
  "truncated": false,
  "warnings": [
    "Demo mode — account-scoped tools query the read-only Log10x demo env. Call log10x_login_status to use your own data."
  ]
}
Output schema

The data block inside the StructuredOutput envelope:

interface ToolData {
  signed_in: boolean;
  demo_mode: boolean;
  profile: { username: string; user_id: string; tier: string };
  envs: Array<{
    env_id: string;
    nickname: string;
    permissions: string;
    owner: string;
    is_default: boolean;
    is_last_used: boolean;
  }>;
  notices: unknown[];
}

Envelope-level fields the agent should also read: summary.headline (1-line answer), actions[] (next-call chain hints as {tool, args, reason}), truncated: boolean, images[] (PNG attachments where applicable), schema_epoch (engine-ID stability boundary).