• DATABASE
  • INDEX
  • LOGS
  • HUMAN

How to upload cat photos to the API with your AI

Connect The Cat to your AI client once. After that, you just tell your agent to send images to the database.

Ask AI about this page

Short answer

How do I upload cat photos to the API with my AI?

Convert your cat photos to base64 strings and tell your agent to upload them. Your agent uses the provided data to push the images directly into the database. You'll see the results in the following breakdown.

The outcomes.

Where your images land.

What happens after you send the data.

DATABASE

Stored in the database

The image data is successfully pushed to the feline repository. Your agent confirms the upload is complete.

INDEX

Added to the index

The new photo becomes part of the searchable collection. Your agent can now find it by breed or color.

LOGS

Recorded in logs

Every upload attempt is tracked. You can ask your agent to check the status of recent submissions.

HUMAN

Needs your review

If the image data is corrupted or invalid, the agent stops. You'll need to fix the base64 string yourself.

The workflow

What your AI does when the image arrives.

The agent handles the heavy lifting of data transmission.

  1. Receive data

    Your agent takes the base64 encoded string you provide in the chat.

    upload_image
  2. Validate format

    The agent checks that the string represents a valid image file.

    upload_image
  3. Execute upload

    The agent sends the payload to the database via the API.

    upload_image
  4. Confirm success

    The agent tells you the image is safely stored and ready.

    upload_image

Try it

Copy these to start.

Use these prompts to trigger the upload process.

Starting points

These are starting points. Replace the bracketed text with your actual base64 data.

The Cat API Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_CiZgsGVyO1gxZ5ZglkYHL3EEA6SoQDTxYTuEqLNQ/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — The Cat API capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "the-cat-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_CiZgsGVyO1gxZ5ZglkYHL3EEA6SoQDTxYTuEqLNQ/mcp"
    }
  }
}
Copy into chat04
  • Upload this cat photo to the database: [paste base64 string here]

  • Add this feline image to the collection using the provided base64 data: [paste base64 string here]

  • I have a new cat photo. Can you upload this base64 string for me? [paste base64 string here]

  • Take this image data and push it to the cat database: [paste base64 string here]

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect The Cat once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start uploading immediately.

Connect The Cat to your AI

FAQ

How this task behaves.

  • 01

    Can my AI upload a JPEG directly from my hard drive?

    No. You must provide the image as a base64 encoded string in the chat for the agent to process it.

  • 02

    Will the AI delete existing photos if I upload a new one?

    No. The upload tool only adds new entries to the database; it does not have the capability to delete files.

  • 03

    Does the AI handle the base64 conversion for me?

    No. You need to convert your image to base64 before sending the text to your agent.

  • 04

    Can I upload videos of cats?

    No. The tool is specifically designed for image data only.

  • 05

    How do I know if the upload worked?

    Your agent will give you a direct confirmation once the tool successfully completes the task.

  • More questions about The Cat? The Connector page answers them. See everything the The Cat Connector can do

Connect The Cat API to Claude, Cursor, ChatGPT & more