Skip to main content
Images MCP gives your agent tools to search the Lightdrift image library, find similar images, and retrieve image details. This is the same connection available under Learn → Connect Images MCP in the dashboard.
Want your agent to look up API usage and documentation? Connect Docs MCP. You can install both servers in the same client.

Before you connect

Use a client that supports remote MCP over Streamable HTTP. For browser sign-in, it also needs OAuth support. Have your Lightdrift account ready, or create one when prompted. New users must agree to the Terms of Service and Privacy Policy during signup. Searches use your workspace’s available credit. Check your balance in the dashboard.
If sign-in opens in an embedded browser and Google or passkey sign-in fails, open the sign-in link in your normal browser and complete authentication there.

Tools

Every search result carries the same rights object as the REST API. See Rights answers. Searches default to real photographs, commercial-use licences, and files at least 1000 px wide; pass a filter as null to opt out (see Defaults).

Choose your client

Complete sign-in in the browser, then return to Codex.With an API key instead, in ~/.codex/config.toml:

Use an API key instead of sign-in

Create a key in API keys, then use the header configuration shown for your client above. In other clients with custom header support, set X-API-Key to your key. Use either OAuth or an API key for a connection, not both. Keep keys out of shared project files and source control. Use your client’s private configuration or secret storage when available. API-key requests use the credit of the workspace that owns the key.

Check the connection

Open your client’s MCP tools list and look for search_images, find_similar_images, and get_image under lightdrift. If they are missing, reload the connection or restart the client after saving its configuration. Listing tools does not run a paid image search. The example below does: a successful search costs $0.02. Once connected, ask for an image the way you would ask a person:
Find me a photo of a coastal lighthouse at dusk with room for a headline on the left, and tell me the attribution I need to include.
The agent calls search_images, reads rights.attribution from the top result, and hands you both.

Troubleshooting

Next steps