@astandrik/codex-pets
v1.0.0
Published
CLI installer and local MCP server for Codex Pets gallery pets.
Readme
@astandrik/codex-pets
Install approved pets from the Codex Pets gallery into Codex, or run a local stdio MCP server that proxies the public gallery endpoints.
npx @astandrik/codex-pets install zero-two-2The CLI reads the public manifest from https://pets.ydb-qdrant.tech by
default and writes files into ${CODEX_HOME:-~/.codex}/pets/<slug>/.
If Codex is already running, restart it before selecting the new pet in
Settings -> Appearance -> Pets.
Commands
codex-pets list
codex-pets install <slug>
codex-pets install <slug> --force
codex-pets install <slug> --url https://pets.ydb-qdrant.tech
codex-pets mcp
codex-pets mcp --url https://pets.ydb-qdrant.techSet CODEX_PETS_URL to point at another deployment.
Local MCP server
Run a local stdio MCP server:
npx @astandrik/codex-pets mcpThis local process serves the same read-only tools as the public remote server, but fetches live data from the configured gallery URL.
Available tools:
search_petsfor discovery when you need candidates or lack an exact slugget_petfor one approved public pet when you already know its slugget_install_instructions,get_badge_code,get_embed_code, andget_card_codefor known-slug install and share snippetsget_pet_request_infofor the public new-pet request workflow; it does not submit or inspect private requests
Example MCP client config:
{
"mcpServers": {
"codexPetsLocal": {
"command": "npx",
"args": ["-y", "@astandrik/codex-pets", "mcp"]
}
}
}