How do I let an AI agent find and send memes with an MCP server?
Add the remote MCP server at https://memecub.com/mcp to your agent's MCP config, then let the agent call its search tool with a keyword and send back a meme URL. You can also install the memecub skill with npx skills add https://memecub.com into Claude Code, Codex or Cursor, or use the CLI npx memecub. A keyless trial gives 20 searches a day, and each API search costs 1 credit.
Send when the MCP server finally connects and the agent starts calling tools without complaint.
For the long debugging session where the agent keeps agreeing with you about MCP and nothing changes.
A dry aside when someone asks what your agent actually is under all the tool calls.
A cautionary one to send before you hand an agent write access to anything.
For the moment the agent rewrites your config and breaks the working setup.
Send when the agent's first meme pick ships straight to the group chat with no review.
When the agent answers a simple request with a full explanation of its own setup.
For the afternoon spent wiring the server so the agent can save two seconds later.
How the memecub MCP server works
MCP (Model Context Protocol) is the standard way an AI agent connects to outside tools. memecub exposes a remote MCP server at https://memecub.com/mcp, so the agent can search the meme library and return a meme link instead of you hunting for one.
The server is remote, so there is nothing to host. You register the URL in your client's MCP settings and the agent gets the search tool. A keyless trial allows 20 searches a day; API searches cost 1 credit per call, and the free plan includes 1000 credits a month.
If your client supports skills, npx skills add https://memecub.com installs a memecub skill into Claude Code, Codex, Cursor and similar tools. The CLI npx memecub is there for terminal-first workflows.
A minimal config example
Most MCP clients take a JSON block with a server name and a URL. The shape below is the common one; check your client's docs for the exact key names.
{"mcpServers": {"memecub": {"url": "https://memecub.com/mcp"}}}
After saving, restart the client and ask something like: find a meme about debugging and send it to the team chat. The agent should call the search tool, get a result, and post the link. If it answers from memory instead, tell it explicitly to use the memecub tool.
Tone and licensing before you let it send
Most memes in the library are collected from the web: fine for personal chats, with copyright staying with the original creators, and not for commercial use. If the agent posts into a work or brand channel, use the filter that shows only openly licensed images (Openverse, open-source emoji, public-domain art), which can be used commercially.
Give the agent a narrow job: search, pick one, return the link. Let a human press send in group chats where tone matters, and keep a short instruction in the system prompt about what kind of humor is acceptable.
When nothing in the library fits, the AI meme maker at /generate takes a character, action and caption, or a reference meme, and produces an image in about 10 seconds for 500 credits. It refuses real people. The /match tool can also place a fitting meme per paragraph of an article.
Alternatives and when to use which
MCP server: best when the agent should decide on its own during a conversation. One URL, no local process.
Skill install: best for coding agents like Claude Code, Codex and Cursor that already follow installed skills; the agent learns the memecub workflow without extra config.
CLI npx memecub: best for scripts and terminal habits, or when you want to test a search before wiring it into an agent.
REST API: best for your own app or bot where you control the request flow; searches cost 1 credit per call.
Let your AI find the memes
REST API, remote MCP, CLI and a skill. Try 20 searches a day without a key.
More that fit
FAQ
How can an AI agent search and send memes using MCP?
Register https://memecub.com/mcp as a remote MCP server in your client, then ask the agent to find a meme on a topic. The agent calls the search tool and returns a meme link you or the agent can send.
Is there a memecub MCP server on GitHub?
The server is remote at https://memecub.com/mcp, so you do not clone or host it. For local tooling, the CLI is `npx memecub`, and the skill installs with `npx skills add https://memecub.com`.
Do I need an API key to try it?
No. There is a keyless trial of 20 searches a day. Paid plans start with the free tier at 1000 credits a month, and API searches cost 1 credit per call.
Can the agent send memes in a work channel?
Only with care. Most memes are collected from the web and are for personal chats, not commercial use. Use the openly licensed filter for anything work-related.
What if the library has no meme for the topic?
Use the AI meme maker at /generate: describe a character, action and caption, or start from a reference meme. It takes about 10 seconds per image at 500 credits and will not depict real people.