Connect to AfterLib with MCP

Open in Claude (opens in a new tab) Open in ChatGPT (opens in a new tab)

Use an MCP client that supports Streamable HTTP and OAuth.

The AfterLib API and MCP are in preview. They work today, but they are still in development and can change at any time while we improve them.

  1. Open the client’s MCP server settings.
  2. Add https://api.afterlib.com/mcp as a remote Streamable HTTP server.
  3. Sign in to AfterLib when the client opens the authorization page.
  4. Review the permissions and approve the connection.
  5. Ask the client to check your AfterLib credit balance. This uses the get_account tool.

If you already connected AfterLib, reconnect once and approve changes to collections. After approval, you can ask your assistant to create a collection, add or remove ads and pages, or share a public link.

Then see What you can ask AfterLib.

Updates

AfterLib adds tools and permissions over time. In ChatGPT, press Refresh in the settings of the AfterLib app to get them. In Claude Code, open /mcp.

Claude Code

claude mcp add --transport http afterlib https://api.afterlib.com/mcp

Open /mcp in Claude Code to sign in.

Build an MCP client

Call tools/list after you initialize the connection to get the tools that your connection has permission to use.

See the API guide for credits and the tool list.