knowledge-base
Set Up Knowledge Base
Add semantic search over markdown documents to an MCP project using the WaniWani KB API (client.kb).
Prerequisites
- Project must already be initialized (no
{{MCP_NAME}}placeholders) @waniwani/sdkmust be installedWANIWANI_API_KEYmust be set in the environment
Steps
1. Detect MCP name
Look in lib/ for the directory that isn't shared — that's the MCP name. Store as {MCP_NAME}.
2. Create knowledge directory
Create lib/{MCP_NAME}/knowledge-base/knowledge/ directory.
More from waniwani-ai/sdk
waniwani-sdk
Integrate the @waniwani/sdk package into MCP servers for event tracking, multi-step conversational flows, widget creation, knowledge base search, and chat components. Use when building or integrating WaniWani analytics, creating MCP tools with UI widgets, building multi-turn flows, or adding chat to a website.
9oai-submission
Generate OpenAI/ChatGPT App submission documents (Tool Justification + Test Cases) in Notion by analyzing the MCP server's tools, flows, and widgets
2copy
Copy text to the user's clipboard. Use when the user wants to copy generated content, summaries, or any text to their clipboard.
1translations
Add or update translations for pages and components in the WaniWani app. Use when the user wants to add translations, create translation files, internationalize a page, make text translatable, or update existing translations. Also use proactively when creating new pages or components with user-facing text.
1frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
1visualize-flow
Generate a Mermaid diagram from a WaniWani flow definition. Use when the user wants to visualize, diagram, or document a flow's structure and branching logic.
1