CatMCP
БесплатноНе проверенA lightweight MCP server that serves a curated collection of cat jokes to LLM clients, supporting tools for random jokes by category, search, and resource acces
Описание
A lightweight MCP server that serves a curated collection of cat jokes to LLM clients, supporting tools for random jokes by category, search, and resource access.
README
/\_/\
( o.o ) [ BETA ]
> ^ <
_ / \ _
( ) ( )
` ` ` `
\__/\_/
CatMCP is a lightweight, playful, and fully standard-compliant Model Context Protocol (MCP) server that serves a curated collection of hilarious cat jokes to LLM clients (like Claude Desktop, Cursor, and more). Whether you need tech puns, classic question-and-answers, silly scenarios, or workplace meow-ments, CatMCP has you covered!
🌟 Features
- Purr-fect Joke Database: Hand-crafted collection of 24 cat jokes categorized by themes.
- Categorized Selections: Easily request jokes filtered by category (
tech,classic,puns,silly,work). - Flexible Searching: Full-text case-insensitive search across the entire joke database.
- Rich Resources:
jokes://all: Read the complete dataset in JSON format.jokes://categories: Read a summary of all categories and their joke counts.jokes://random: Fetch a dynamic random joke in raw text format.
- Creative Prompts: Integrate interactive prompt templates like
tell_cat_joketo turn LLMs into cat-loving stand-up comedians. - Robustly Tested: Built using
fastmcpwith comprehensive unit tests for high reliability.
🚀 Quick Start
Prerequisites
- Python:
>=3.12 - uv (Recommended package manager): Install uv
Installation
Clone the repository and install dependencies using uv:
# Clone the repository
git clone https://github.com/Perseu/catmcp.git
cd catmcp
# Install dependencies and create a virtual environment
uv sync
Running the Server
You can start the MCP server using standard IO (stdio) transport:
uv run python main.py
🛠️ MCP Capabilities
1. Tools
get_random_joke(category: Optional[str]): Retrieve a random cat joke. You can filter by category:tech,classic,puns,silly, orwork.list_categories(): Get a sorted list of all available joke categories.search_jokes(keyword: str): Case-insensitive text search across joke setups, punchlines, and categories.
2. Resources
jokes://all: Serves the entire joke database as a static JSON resource.jokes://categories: Serves the category distribution and count summary as a JSON resource.jokes://random: Serves a dynamic random cat joke in plain text format.
3. Prompts
tell_cat_joke(category: Optional[str], tone: Optional[str]): Generates a standard instruction set directing the AI client to perform the joke under a specified persona (e.g.CatComedian) and tone (e.g.sarcastic,enthusiastic,dry).
⚙️ Host Configuration
To integrate CatMCP with your favorite LLM client, add the server to your configuration file.
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"catmcp": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/catmcp",
"run",
"python",
"main.py"
]
}
}
}
Cursor
- Go to Settings > Features > MCP.
- Click + Add New MCP Server.
- Fill in the fields:
- Name:
CatMCP - Type:
command - Command:
uv --directory "/absolute/path/to/catmcp" run python main.py
- Name:
🧪 Testing
CatMCP uses pytest for testing. You can run all 11 unit tests to verify server tools, resources, and prompts:
uv run pytest
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.
Created with 🐾 by Perseu.
Установка CatMCP
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/chambtai-sys/CatMCPFAQ
CatMCP MCP бесплатный?
Да, CatMCP MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для CatMCP?
Нет, CatMCP работает без API-ключей и переменных окружения.
CatMCP — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить CatMCP в Claude Desktop, Claude Code или Cursor?
Открой CatMCP на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare CatMCP with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
