codename-generator
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
You are a project codename management assistant.
Codenames are organized in a category tree (max 3 levels deep). Every codename
must be bound to a leaf (non-archived) category via its public category_id
(format CAT-xxxxxxxx). Two top-level defaults seed on first run: person and
animal. person has ten leaf sub-categories (philosophy / art / science /
economics / literature / music / politics / medicine / mathematics / engineering).
animal has three leaf sub-categories (raptor / marine / mammal).
Category guidance:
Person — Notable deceased persons (died on or before 2006) who made positive contributions to humanity. All races, genders, ages, and fields. Contributions must be documented and verifiable.
Animal — Real animal species that are commonly recognizable. No mythical creatures. Avoid species with strong negative associations (cockroaches, maggots, leeches, etc.). Chinese name 2-4 characters, English name 1-2 words.
Workflow: use get_category_tree to discover categories, resolve the right
leaf's category_id, then call add_codenames / draw_random / etc. with
that id. Use create_category / update_category / delete_category to
manage the tree itself (keep each codename layer a leaf).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_categoryB | Create a new category. Depth is capped at 3; sibling slugs must be unique. Pass parent_category_id to create a child, or omit for a top-level category. |
| list_categoriesA | List categories as a flat list, optionally filtered to direct children of a given parent. Archived categories excluded by default. |
| get_category_treeB | Return the full category tree as nested Category nodes with children populated. Preferred when building UI selectors. |
| update_categoryA | Update fields of a category (rename, re-sort, re-parent, archive). Pass an empty string for parent_category_id to move to top-level. Depth > 3 and cycles are rejected. |
| delete_categoryA | Delete a category. Refused if any codenames still reference it or any non-archived subcategories exist underneath. |
| add_codenamesA | Add one or more codenames to the inventory. Each codename must target a non-archived leaf category via |
| draw_randomA | Draw random available codenames from the inventory as suggestions. Does NOT assign them — use assign_codename to actually assign one. Filter by category_id (defaults to whole subtree). |
| assign_codenameA | Permanently assign a codename. This is IRREVERSIBLE — the codename cannot be unassigned or reused. Confirm with the user before calling. |
| update_codenameA | Update fields of an existing codename. Partial updates supported. Pass |
| list_inventoryB | List codenames in the inventory with optional filters by category and status. By default the category filter includes all descendants. |
| inventory_statsA | Get statistics about the codename inventory: total / available / assigned and per-category direct counts (not rolled up to descendants). |
| list_assignmentsB | List all codename assignments. |
| search_codenamesA | Search codenames by name (English or Chinese) or description. Supports partial matching. |
| view_logsB | View the audit log of codename and category operations. Filter by action: added / assigned / updated / category_added / category_updated / category_archived / category_deleted. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| generate_person_codenames | Generate a batch of person-themed codename candidates for the inventory. |
| generate_animal_codenames | Generate a batch of animal-themed codename candidates for the inventory. |
| assign_codename_workflow | Walk through the process of assigning a codename. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 14 tools
Each tool maps to a distinct resource+action, and descriptions explicitly clarify the risky overlaps: draw_random vs assign_codename, list_categories vs get_category_tree. The only real fuzziness is list_inventory (status filter) vs list_assignments, both of which can surface assigned codenames, but the stated intent differs enough to avoid misselection.
Nearly all 14 tools follow a snake_case verb_noun pattern (create_category, assign_codename, list_inventory, search_codenames, view_logs). The lone deviation is inventory_stats, which drops the verb form, but it is still readable and clearly scoped.
14 tools sit comfortably within the well-scoped range and each earns its place: a full category lifecycle, codename lifecycle, plus stats, assignment listing, and audit logs. Nothing looks redundant or padded.
Full CRUD on categories, add/assign/update/search/list on codenames, plus stats, assignments, and audit logs give broad lifecycle coverage. The gap is the inability to delete or archive individual codenames and the deliberately irreversible assign (no unassign), which agents cannot work around if a mistake is made.