Skip to content
← Changelog
2.2.140
Fix

Start the MCP server on a fresh install

npx -y @apertis/mcp-server starts again on a fresh install, and list_models returns the whole catalog, 404 models, instead of the first 50.

We shipped 0.4.2 of @apertis/mcp-server because 0.4.1 did not start on a fresh install. Its SDK dependency range resolved to an SDK release that no longer exports the stdio transport where 0.4.1 imported it, so npx exited with:

SyntaxError: The requested module '@modelcontextprotocol/server' does not provide an export named 'StdioServerTransport'

0.4.2 pins the SDK to one exact version and imports the transport from its new path. It is the npm latest tag.

Start it

export APERTIS_API_KEY="sk-..."
npx -y @apertis/mcp-server

On an empty npm cache, 0.4.2 answered initialize in 3.4 seconds as apertis 0.4.2, and tools/list named nine tools:

list_models, get_model_info, compare_models, check_quota, get_usage_stats,
list_api_keys, suggest_model, recommend_model, delegate
Terminal: npx -y @apertis/mcp-server on an empty npm cache, initialize answers apertis 0.4.2 and tools/list returns nine tools

If your MCP client ran 0.4.1 before, npx can keep that cached copy. Ask for the latest version by name:

npx -y @apertis/mcp-server@latest

The whole catalog

In 0.4.1, list_models showed the first 50 models: it sent page and page_size, and the API pages with limit and offset. 0.4.2 sends limit and offset and returns every model. On 2026-11-27 it printed Found 404 models, the catalog's total at the same read.

Terminal: list_models in @apertis/mcp-server 0.4.2 prints Found 404 models and a table of model id, name and provider

Also in 0.4.2

  • create_api_key is gone, because the API no longer creates keys over POST /v1/token/keys. Create keys in the dashboard.
  • check_quota, get_usage_stats and list_api_keys read the fields the API returns.
  • Every release of the package now passes a clean-install test before it is published.

Release notes: v0.4.2 on GitHub.