Koskamo

Phase Router MCP

An official MCP server for Phase Router that allows AI agents to route requests to various LLM models via an OpenAI-compatible interface, supporting pay-per-call billing with API keys or crypto wallets, and providing signed receipts for each call.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Phase Router MCP logo, by PhaseVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-12-03Operated by Phase
You need:API key in the `Authorization: Bearer` header (keys start with `phk_`)
MCP endpoint (Streamable HTTP)
https://mcp.ai.phase.xyz/mcp
Vendor documentation

What its tools do

7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

Can change data (3)

7 of 7 have a description · 7 of 7 declare behavior hints · 5 of 6 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to ai.phase.xyz ·
  • Passed Endpoint is on the registry namespace domain ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Route LLM requests to the cheapest available model
  • Pay for API calls using prepaid balance or crypto
  • Retrieve signed receipts for model usage costs

Source and maintenance

Vendor evidenceRegistry 0.5.1

Protocol and capabilities

Server
phase-router 0.5.2
MCP protocol negotiated in check
2025-11-25
Tools
7 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "logging": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Phase Router: OpenAI-compatible models with a signed receipt for every call, paid from a prepaid Phase API key (the key tool shows its balance and daily cap). Open models are paid by the key; Claude and GPT run on the caller's own provider key, sent to this server as the X-Phase-BYOK-Anthropic or X-Phase-BYOK-OpenAI header. Call list_models first; quote shows the price ceiling of a request before chat; chat returns the answer with the actual price and a task_id; receipt fetches the signed receipt of that task.

Tools

7 advertised

chat
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Run a chat completion on Phase Router, paid from the Phase API key or the wallet this server uses (free models cost nothing). Returns the answer, actual price, task id for the receipt and usage.

chat input schema
{
  "type": "object",
  "required": [
    "model"
  ],
  "properties": {
    "model": {
      "type": "string",
      "description": "model id from list_models, or a class: auto | eco | premium | agentic"
    },
    "prompt": {
      "type": "string",
      "description": "single user message (use messages for multi-turn)"
    },
    "system": {
      "type": "string",
      "description": "optional system prompt"
    },
    "session": {
      "type": "string",
      "description": "saved session id (from the session tool or a /s/<id> link): the gateway prepends its history and appends this turn"
    },
    "messages": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "role",
          "content"
        ],
        "properties": {
          "role": {
            "type": "string",
            "description": "system | user | assistant"
          },
          "content": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "description": "full conversation; overrides prompt/system"
    },
    "max_tokens": {
      "type": "integer",
      "description": "output cap; also bounds the price ceiling"
    },
    "temperature": {
      "type": [
        "null",
        "number"
      ],
      "description": "sampling temperature 0–2 (Claude ignores it)"
    }
  },
  "additionalProperties": false
}
chat output schema
{
  "type": "object",
  "required": [
    "text",
    "model",
    "provider",
    "price_usd",
    "payment",
    "task_id",
    "elapsed_ms",
    "usage"
  ],
  "properties": {
    "text": {
      "type": "string"
    },
    "batch": {
      "type": "string",
      "description": "payment batch this call was charged to (settled with one transaction later)"
    },
    "level": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "usage": {
      "type": "object",
      "required": [
        "prompt_tokens",
        "completion_tokens"
      ],
      "properties": {
        "prompt_tokens": {
          "type": "integer"
        },
        "completion_tokens": {
          "type": "integer"
        }
      },
      "additionalProperties": false
    },
    "payment": {
      "type": "string"
    },
    "session": {
      "type": "string"
    },
    "task_id": {
      "type": "string"
    },
    "tx_hash": {
      "type": "string"
    },
    "provider": {
      "type": "string"
    },
    "price_usd": {
      "type": "string"
    },
    "elapsed_ms": {
      "type": "integer"
    },
    "ceiling_usd": {
      "type": "string"
    },
    "receipt_url": {
      "type": "string"
    },
    "session_url": {
      "type": "string"
    },
    "routed_model": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
chat annotations
{
  "title": "Chat with a model (spends credit)",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
embed
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Compute embeddings on Phase Router (paid from the Phase API key or the wallet).

embed input schema
{
  "type": "object",
  "required": [
    "model",
    "input"
  ],
  "properties": {
    "input": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "string"
      }
    },
    "model": {
      "type": "string",
      "description": "embeddings model id"
    }
  },
  "additionalProperties": false
}
embed output schema
{
  "type": "object",
  "required": [
    "vectors",
    "price_usd",
    "payment"
  ],
  "properties": {
    "payment": {
      "type": "string"
    },
    "vectors": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": [
          "null",
          "array"
        ],
        "items": {
          "type": "number"
        }
      }
    },
    "price_usd": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
embed annotations
{
  "title": "Compute embeddings (spends credit)",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
key
Advertised by the server during the last successful anonymous check.
Advertised read-only

Balance, daily cap and spend of the Phase API key this server pays with (key mode).

key input schema
{
  "type": "object",
  "additionalProperties": false
}
key output schema
{
  "type": "object",
  "properties": {
    "key": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": false
}
key annotations
{
  "title": "Balance and limits of the key",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false
}
list_models
Advertised by the server during the last successful anonymous check.
Advertised read-only

List models of Phase Router with prices (USD per 1M tokens, fee per call) and layer (flagship | open | class | free).

list_models input schema
{
  "type": "object",
  "properties": {
    "layer": {
      "type": "string",
      "description": "optional filter: flagship | open | class | free"
    }
  },
  "additionalProperties": false
}
list_models output schema
{
  "type": "object",
  "required": [
    "gateway",
    "models"
  ],
  "properties": {
    "models": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "id",
          "layer",
          "kind",
          "context_window",
          "input_usd_per_1m",
          "output_usd_per_1m",
          "per_call_usd",
          "free"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "free": {
            "type": "boolean"
          },
          "kind": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "layer": {
            "type": "string"
          },
          "per_call_usd": {
            "type": "string"
          },
          "context_window": {
            "type": "integer"
          },
          "unit_price_usd": {
            "type": "string"
          },
          "input_usd_per_1m": {
            "type": "string"
          },
          "output_usd_per_1m": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "wallet": {
      "type": "string"
    },
    "gateway": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_models annotations
{
  "title": "List models and prices",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false
}
quote
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Get the price ceiling for a chat request without paying (the gateway's 402 quote).

quote input schema
{
  "type": "object",
  "required": [
    "model"
  ],
  "properties": {
    "model": {
      "type": "string",
      "description": "model id from list_models, or a class: auto | eco | premium | agentic"
    },
    "prompt": {
      "type": "string",
      "description": "single user message (use messages for multi-turn)"
    },
    "system": {
      "type": "string",
      "description": "optional system prompt"
    },
    "session": {
      "type": "string",
      "description": "saved session id (from the session tool or a /s/<id> link): the gateway prepends its history and appends this turn"
    },
    "messages": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "required": [
          "role",
          "content"
        ],
        "properties": {
          "role": {
            "type": "string",
            "description": "system | user | assistant"
          },
          "content": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "description": "full conversation; overrides prompt/system"
    },
    "max_tokens": {
      "type": "integer",
      "description": "output cap; also bounds the price ceiling"
    },
    "temperature": {
      "type": [
        "null",
        "number"
      ],
      "description": "sampling temperature 0–2 (Claude ignores it)"
    }
  },
  "additionalProperties": false
}
quote output schema
{
  "type": "object",
  "required": [
    "model",
    "ceiling_usd",
    "per_call_usd",
    "input_tokens_estimate",
    "max_output_tokens_priced",
    "input_usd_per_1m",
    "output_usd_per_1m",
    "network",
    "free",
    "wallet_can_pay"
  ],
  "properties": {
    "free": {
      "type": "boolean"
    },
    "model": {
      "type": "string"
    },
    "network": {
      "type": "string"
    },
    "ceiling_usd": {
      "type": "string"
    },
    "paid_by_key": {
      "type": "boolean",
      "description": "true when a Phase API key pays: its balance and daily cap apply, max_usd_per_call does not"
    },
    "per_call_usd": {
      "type": "string"
    },
    "wallet_can_pay": {
      "type": "boolean"
    },
    "input_usd_per_1m": {
      "type": "string"
    },
    "max_usd_per_call": {
      "type": "string",
      "description": "largest quote the wallet will sign (wallet mode only)"
    },
    "output_usd_per_1m": {
      "type": "string"
    },
    "input_tokens_estimate": {
      "type": "integer"
    },
    "max_output_tokens_priced": {
      "type": "integer"
    }
  },
  "additionalProperties": false
}
quote annotations
{
  "title": "Price ceiling of a request",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false
}
receipt
Advertised by the server during the last successful anonymous check.
Advertised read-only

Fetch the public receipt of a paid request by task id (model, provider, tokens, price, settlement tx, request/response hashes, signatures) and its Merkle proof once the weekly epoch is closed.

receipt input schema
{
  "type": "object",
  "required": [
    "task_id"
  ],
  "properties": {
    "task_id": {
      "type": "string",
      "description": "task id from chat / embed (0x…)"
    }
  },
  "additionalProperties": false
}
receipt output schema
{
  "type": "object",
  "required": [
    "receipt",
    "epoch_state",
    "url"
  ],
  "properties": {
    "url": {
      "type": "string"
    },
    "proof": {
      "type": "object",
      "additionalProperties": true
    },
    "receipt": {
      "type": "object",
      "additionalProperties": true
    },
    "epoch_state": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
receipt annotations
{
  "title": "Read a public receipt",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false
}
session
Advertised by the server during the last successful anonymous check.
Advertised destructive

Saved chat sessions on Phase Router: create one (returns an id and a shareable /s/<id> link), read its thread, list the wallet's sessions (wallet mode only: signed with the wallet key, no transaction), or delete one. Pass the id as `session` to chat and the gateway carries the context between turns and visits.

session input schema
{
  "type": "object",
  "required": [
    "action"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "session id (get, delete)"
    },
    "model": {
      "type": "string",
      "description": "create: model the session starts with (informational; each chat names its own)"
    },
    "title": {
      "type": "string",
      "description": "create: title (defaults to the first message)"
    },
    "action": {
      "type": "string",
      "description": "create | get | list | delete"
    },
    "system": {
      "type": "string",
      "description": "create: system prompt kept for every turn"
    }
  },
  "additionalProperties": false
}
session output schema
{
  "type": "object",
  "required": [
    "id",
    "url",
    "messages",
    "requests",
    "spent_usd",
    "expires_at"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "system": {
      "type": "string"
    },
    "deleted": {
      "type": "boolean"
    },
    "messages": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "requests": {
      "type": "integer"
    },
    "sessions": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "spent_usd": {
      "type": "string"
    },
    "expires_at": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
session annotations
{
  "title": "Saved chat sessions",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

Too few checks for a percentage yet (1 of 1 answered).

  1. 2026-12-03: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
414 ms
95th percentile latency
414 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 414 ms · metadata changed · 7 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http phase-router-mcp https://mcp.ai.phase.xyz/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add phase-router-mcp --url https://mcp.ai.phase.xyz/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable phase-router-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "phase-router-mcp": {
      "url": "https://mcp.ai.phase.xyz/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "phase-router-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.ai.phase.xyz/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start phase-router-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "phase-router-mcp": {
      "type": "http",
      "url": "https://mcp.ai.phase.xyz/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http phase-router-mcp https://mcp.ai.phase.xyz/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.ai.phase.xyz/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "phase-router-mcp": {
      "serverUrl": "https://mcp.ai.phase.xyz/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Phase Router MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Phase Router MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing