> ## Documentation Index
> Fetch the complete documentation index at: https://docs.conare.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Conare's API is at https://api.conare.ai. Authenticate with `Authorization: Bearer $CONARE_API_KEY`.
> The full OpenAPI spec is at https://api.conare.ai/openapi.yaml; each endpoint has a page under /api-reference, and appending .md to any page URL returns its Markdown.
> Embed with model conare-embed-1; send input_type "query" for search queries. Rerank with conare-rerank-1.
> Prefer the TypeScript SDK (`npm install conare`) or plain HTTP in examples.
> Install the Conare skill with `npx skills add https://docs.conare.ai`; search these docs over MCP at https://docs.conare.ai/mcp; the whole site is at https://docs.conare.ai/llms-full.txt.

# MCP

> Claude や Cursor などの MCP クライアントを Conare の MCP サーバーに接続し、エージェントがドキュメントを検索、保存、削除します。

Conare は `https://api.conare.ai/mcp` で動作する MCP サーバーです。エージェントは、キーがアクセスできるすべての namespace でドキュメントの検索、読み取り、保存、削除ができます。

```bash Claude Code theme={null}
claude mcp add --transport http conare https://api.conare.ai/mcp \
  --header "Authorization: Bearer $CONARE_API_KEY"
```

```json Cursor (~/.cursor/mcp.json) theme={null}
{
  "mcpServers": {
    "conare": {
      "url": "https://api.conare.ai/mcp",
      "headers": { "Authorization": "Bearer sk-conare-..." }
    }
  }
}
```

Claude のカスタムコネクタなど OAuth に対応したクライアントでは、URL だけが必要です。ブラウザで Conare にサインインします。

## コーディングエージェント

Claude Code、Cursor、Codex に Conare スキルを追加すると、正しい Conare のコードを書けるようになります。

```bash theme={null}
npx skills add https://docs.conare.ai
```

エージェントにこのドキュメントを検索させるには、`https://docs.conare.ai/mcp` を MCP サーバーとして追加します。

## ツール

| ツール | 内容 |
| - | - |
| `search` | 1 つ、複数、またはすべての namespace を検索し、リランクした上位 20 件のドキュメントから回答します |
| `fetch` | namespace と id でドキュメントを一度に 40,000 文字ずつ読み取ります（`max_chars` は最大 80,000） |
| `save` | ドキュメントを書き込みます。namespace のデフォルトは `notes` です |
| `delete` | namespace と id でドキュメントを削除します |
| `list_namespaces` | namespace と、それぞれのドキュメント数を一覧表示します |

## `search` のオプション

| オプション | 内容 |
| - | - |
| `query` | 質問。説明的なフレーズで指定します |
| `namespace` | 検索する 1 つの namespace。省略すると最大 100 個のすべてを検索します |
| `namespaces` | 1〜100 個の namespace。まとめてランク付けします |
| `filter` | [メタデータフィルター](https://docs.conare.ai/ja/filters.md) |
| `user`, `user_prefix` | 1 人の[ユーザー](https://docs.conare.ai/ja/write.md#ユーザー)、またはグループのドキュメントのみ |
| `answer` | `true`（デフォルト）は回答を書きます。`false` は文章を返します |

**Models only** の[キー](https://docs.conare.ai/ja/console.md#キー)では MCP を使えません。


## Related topics

- [クイックスタート](https://docs.conare.ai/ja/quickstart.md)
- [はじめに](https://docs.conare.ai/ja/index.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.