Mochi MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MOCHI_API_KEY | Yes | Your Mochi API key (get it from Mochi app: Settings → Account → API Key) | |
| MOCHI_ALLOW_DECK_DELETE | No | Enable deck deletion | false |
| MOCHI_TOKEN_EXPIRY_MINS | No | Preview token validity in minutes | 10 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_decksB | List all Mochi flashcard decks |
| get_deckC | Get deck details and list of cards |
| get_cardB | Get full content of a single card |
| get_cardsC | Get content of multiple cards (bulk) |
| search_cardsB | Search cards by content, tags, or date. Returns rich results with deckId, createdAt, updatedAt. Includes scannedCount and truncated flags. |
| list_cards_pageA | Fetch a single page of cards with explicit pagination. Use for iterating through large collections. |
| find_deck_by_nameA | Find decks by name (case-insensitive partial match). Useful when you know the deck name but not its ID. |
| add_tags_previewA | Preview adding tags to one or more cards. Returns a token for apply_tags_update. |
| remove_tags_previewA | Preview removing tags from one or more cards. Returns a token for apply_tags_update. |
| apply_tags_updateA | Apply tag changes after user confirms. Use with token from add_tags_preview or remove_tags_preview. |
| create_card_previewA | Preview a new card. IMPORTANT: After calling this, you MUST show the preview to the user and ask for explicit confirmation before calling apply_create_card. Do NOT chain these calls automatically. |
| apply_create_cardB | Execute card creation after user confirms |
| update_card_previewA | Preview changes to a card with diff. IMPORTANT: After calling this, you MUST show the diff to the user and ask "Do you want to apply this change?" WAIT for explicit confirmation before calling apply_update_card. |
| update_card_fields_previewB | Preview changes to specific fields (Question, Answer, Tags). Reconstructs full markdown. |
| update_cards_batch_previewC | Preview updates for multiple cards at once. |
| apply_update_cards_batchC | Apply a batch of card updates. |
| apply_update_cardC | Execute card update after user confirms |
| delete_cardA | Delete a card (soft-delete by default). Requires typed confirmation. |
| create_deckC | Create a new deck |
| delete_deckA | Delete a deck (disabled by default, requires MOCHI_ALLOW_DECK_DELETE=true) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| mochi_guide | Detailed user guide for Mochi MCP tools and workflows |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NZ99/mochi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server