Connect to AfterLib with MCP
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.
- Open the client’s MCP server settings.
- Add
https://api.afterlib.com/mcpas a remote Streamable HTTP server. - Sign in to AfterLib when the client opens the authorization page.
- Review the permissions and approve the connection.
- Ask the client to check your AfterLib credit balance. This uses the
get_accounttool.
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.