Skip to content

API endpoint outdated - should use /v1.0/generations instead of /v0.2 #1

@cla1redonald

Description

@cla1redonald

The Gamma API has sunset the v0.2 endpoint. The server is currently using:
https://public-api.gamma.app/v0.2

But the new API endpoint is:
https://public-api.gamma.app/v1.0/generations

Current error:

Gamma API error (410): {"message":"This endpoint has been sunset. Please use POST /v1.0/generations instead. See https://developers.gamma.app for documentation.","statusCode":410}

Reference:

Fix needed:
In src/index.ts, update the GAMMA_API_BASE constant from:

const GAMMA_API_BASE = "https://public-api.gamma.app/v0.2";

To:

const GAMMA_API_BASE = "https://public-api.gamma.app/v1.0";

The endpoints should already work correctly (/generations and /generations/:id) since those are consistent between versions.

Impact:
All current users are unable to generate Gamma presentations via this MCP server until this is fixed.

Temporary workaround:
Users can manually patch the compiled file at dist/index.js in their npx cache, but this will be lost when the cache is cleared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions