# DocBase

DocBase Official MCP Server

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add krayinc/docbase-mcp-server

# Browse available tools
npx -y @smithery/cli@latest tool list krayinc/docbase-mcp-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get krayinc/docbase-mcp-server searchPosts

# Call a tool
npx -y @smithery/cli@latest tool call krayinc/docbase-mcp-server searchPosts '{}'
```

## Direct MCP Connection

Endpoint: `https://docbase.run.tools`

## Tools (20)

- `searchPosts` — メモを検索します
- `getPost` — メモの詳細を取得します
- `createPost` — メモの投稿
- `updatePost` — メモを更新します
- `deletePost` — メモを削除します
- `archivePost` — メモをアーカイブします
- `unarchivePost` — メモのアーカイブを解除します
- `searchUsers` — ユーザーを検索します
- `getProfile` — プロフィール情報を取得します
- `getComments` — メモのコメント一覧を取得します
- `createComment` — メモにコメントを投稿します
- `deleteComment` — コメントを削除します
- `getTags` — タグ一覧を取得します
- `createGroup` — グループを作成します
- `searchGroups` — グループを検索します。「自分」グループ、「全員」グループはIDが固定のグループなのでsearchGroupsでグループIDを取得する必要はありません。
- `getGroup` — グループの詳細を取得します
- `addUsersToGroup` — グループにユーザーを追加します
- `removeUsersFromGroup` — グループからユーザーを削除します
- `downloadAttachment` — 指定したファイルをダウンロードします。メモに添付されたファイルのIDを指定してください。
- `getTeam` — チーム情報を取得します

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get krayinc/docbase-mcp-server <tool-name>
```
