Skip to main content

Build with AI

In this guide, you will learn how to leverage AI coding assistants to help you set up and integrate Kapa.

Kapa's MCP

Kapa provides a hosted MCP server that gives AI assistants access to Kapa's documentation, so they can help you implement Kapa correctly.

This is particularly useful for implementation tasks where you're coding:

  • Widget configuration: Let your editor look up styling options and configure the widget for you.
  • Agent SDK integration: Build in-product agents while your editor looks up how to use the Agent SDK.
  • Chat SDK integration: Build custom chat interfaces while your editor looks up how to use the Chat SDK.
MCP for your users

Want to offer this for your own users? Kapa can power a hosted MCP server for your knowledge sources. See MCP.

Available tool

The Kapa MCP server exposes the following tools to your AI assistant:

ToolDescription
search_kapa_knowledge_sourcesSearch Kapa's documentation, API reference, and blogs, and return the most relevant content.

Set up

Before you can use the MCP server, you need to install it in your AI assistant.

URL: https://kapa-docs.mcp.kapa.ai

Setup steps vary depending on which client you're using.

Run the following command in your terminal:

claude mcp add --transport http kapa-ai-docs https://kapa-docs.mcp.kapa.ai

Then run the /mcp command in Claude Code and follow the steps in your browser to authenticate.

For more information, see the Claude Code MCP documentation.

Kapa Skills

Kapa provides a collection of AI agent skills that you can install in agents like Claude Code, Cursor, and Codex. Each skill represents a recommended workflow for working with Kapa data and capabilities, allowing you to instruct your AI agents to work more effectively with Kapa.

  • Analyze Coverage Gaps: Work through topics where your documentation has no coverage and create the missing content directly in your repository.
  • Analyze Top Questions: Work through your most common topics and ensure your documentation covers all the angles in which users are asking about them.

See the kapa-skills repository for installation instructions.