# AfterLib API > Search Meta ads and Pages and work with collections and presets through REST or MCP. 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. ## Documentation - [Build with the AfterLib API](https://docs.afterlib.com/api.md) - [Connect to AfterLib with MCP](https://docs.afterlib.com/mcp-setup.md) - [AfterLib REST API reference](https://docs.afterlib.com/reference.md) - [What you can ask AfterLib](https://docs.afterlib.com/what-you-can-ask.md) - [OpenAPI 3.1 JSON](https://api.afterlib.com/v1/openapi.json): REST endpoints and schemas. ## Optional - [Full documentation](https://docs.afterlib.com/llms-full.txt): All Markdown pages in one file.