npm @esaio/esa-mcp-serverstdioMITupdated 8d ago
esa.io の公式 MCP(Model Context Protocol)サーバー(STDIO Transport 版)
What can you do with esa?
esa MCP Server
日本語 | English
esa.io の公式 MCP(Model Context Protocol)サーバー(STDIO Transport 版)
概要
AI アシスタントと情報共有サービス esa をつなぐ MCP サーバーです。Model Context Protocol 経由で、AI アシスタントから esa の記事を読んだり、作成・更新・管理などができます。
使えるツール
チーム管理
esa_get_teams- 所属している esa チームの一覧esa_get_team_stats- チームの統計情報(メンバー数、記事数、コメント数など)esa_get_team_tags- チーム内で使われているタグと使用回数esa_get_team_members- チームメンバーとその役割・プロフィール
記事管理
esa_search_posts- 記事を検索esa_get_post- 記事 ID から記事を取得(バックリンク総数backlinks_count、本文の文字数・行数body_md_statsを含む)esa_get_post_backlinks- 指定記事を参照している記事の一覧(ページング対応)esa_create_post- 新しい記事を作成(タグ、カテゴリー、WIP ステータス付き)esa_update_post- 記事を更新(タイトル、本文、タグ、カテゴリー、WIP ステータス)esa_append_post- 記事本文の末尾に追記(既存本文を取得せずに追記でき、新しいリビジョンとして保存)esa_prepend_post- 記事本文の先頭に追記(既存本文を取得せずに追記でき、新しいリビジョンとして保存)
記事の操作
esa_archive_post- 記事をアーカイブ(Archived/ カテゴリーへ移動)esa_ship_post- 記事を Ship It!(WIP を外して公開)esa_duplicate_post- 記事を複製(同じタイトル・本文の WIP 記事を作成。別チームへの複製も可能)
コメント管理
esa_get_comment- コメント ID からコメントを取得esa_create_comment- 記事にコメントを追加esa_update_comment- コメントを編集esa_delete_comment- コメントを削除esa_get_post_comments- 記事のコメント一覧(ページング対応)esa_get_team_comments- チーム全体のコメント一覧(ページング対応)
カテゴリー管理
esa_get_categories- 指定パス配下のカテゴリー一覧esa_get_top_categories- トップレベルのカテゴリー一覧esa_get_all_category_paths- チーム内の全カテゴリーパス一覧(記事数付き、フィルタリング対応)- カテゴリ構造の把握、整理、統合の計画に最適
- フィルター例:
prefix: "dev"で開発関連、match: "api"で API 関連を検索
添付ファイル
esa_get_attachment- 記事やコメントの添付ファイルを取得- サポート形式(JPEG, PNG, GIF, WebP)で 30MB 以下の画像は base64 エンコードで返却
- その他のファイル、大きな画像、または forceSignedUrl 指定時は署名付き URL(有効期限 5 分)を返却
ヘルプとドキュメント
esa_get_search_options_help- esa の検索構文ヘルプesa_get_markdown_syntax_help- esa の Markdown 記法ヘルプesa_search_help- esa のドキュメントから機能や用語を検索
リソース
esa_recent_posts- 最近更新された記事の一覧- テンプレート:
esa://teams/{teamName}/posts/recent - 戻り値: 最近更新された記事の JSON リスト
- テンプレート:
プロンプト
esa_summarize_post- esa の記事を要約- 入力: チーム名と記事 ID
- 出力: 記事の構造化された要約
MCP クライアントの設定
MCP クライアントの設定ファイルに以下を追加します:
用意する環境変数
- ESA_ACCESS_TOKEN: アクセストークン
- 必要なスコープ:
read writeまたはadmin:comment read:post write:post read:category read:tag read:attachment read:team read:member - PAT v2を推奨します。
- 必要なスコープ:
- LANG: UI の言語設定
Claude Desktop の例
claude_desktop_config.json への追加方法:
オプション 1: docker(推奨)
{
"mcpServers": {
"esa": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"ESA_ACCESS_TOKEN",
"-e",
"LANG",
"ghcr.io/esaio/esa-mcp-server"
],
"env": {
"ESA_ACCESS_TOKEN": "your_personal_access_token",
"LANG": "ja"
}
}
}
}
オプション 2: npx
{
"mcpServers": {
"esa": {
"command": "/Users/your-username/.nodenv/shims/npx",
"args": ["@esaio/esa-mcp-server"],
"env": {
"ESA_ACCESS_TOKEN": "your_personal_access_token",
"LANG": "ja"
}
}
}
}
注意:
/path/to/your/nodeはwhich nodeで調べたパスに置き換えてください。
レジストリ
このパッケージはルート直下に registry.json を同梱しており、登録されているツール / リソース / プロンプトの一覧を公開しています。サーバーを起動せずにプログラムから読み取れます:
import registry from "@esaio/esa-mcp-server/registry.json" with { type: "json" };
スキーマ:
{
"tools": [{ "name": "esa_get_teams" }, "..."],
"resources": [
{ "name": "esa_recent_posts", "uriTemplate": "esa://teams/{teamName}/posts/recent" }
],
"prompts": [{ "name": "esa_summarize_post" }]
}
registry.json は npm run build:registry で生成され、登録内容と差分が出ると CI で fail します。
リンク
- esa.io - 情報共有サービス esa
- Model Context Protocol - MCP の詳細
- API ドキュメント - esa API リファレンス
- Claude Desktop - MCP 対応の AI アシスタント
サポート
- 📧 Support: Feedback Form
- 🐛 Issues: GitHub Issues
- 📖 Help: esa Docs
Made with ❤️ by the esa team
Install
Add esa to your client. Pick the one you use.
claude mcp add esa-mcp-server -- npx -y @esaio/esa-mcp-servercodex mcp add esa-mcp-server -- npx -y @esaio/esa-mcp-serveramp mcp add esa-mcp-server -- npx -y @esaio/esa-mcp-server{
"mcpServers": {
"esa-mcp-server": {
"command": "npx",
"args": [
"-y",
"@esaio/esa-mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"esa-mcp-server": {
"command": "npx",
"args": [
"-y",
"@esaio/esa-mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"esa-mcp-server","command":"npx","args":["-y","@esaio/esa-mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"esa-mcp-server": {
"command": "npx",
"args": [
"-y",
"@esaio/esa-mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"esa-mcp-server": {
"command": "npx",
"args": [
"-y",
"@esaio/esa-mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"esa-mcp-server": {
"command": "npx",
"args": [
"-y",
"@esaio/esa-mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"esa-mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@esaio/esa-mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"esa-mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@esaio/esa-mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @esaio/esa-mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance25/25
- Trust16/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 1 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.13.0Latest | Jun 23, 2026 |
| 0.11.0 | May 28, 2026 |
| 0.10.0 | May 23, 2026 |
| 0.9.2 | May 21, 2026 |
| 0.9.1 | May 21, 2026 |
| 0.9.0 | May 21, 2026 |
| 0.8.1 | May 18, 2026 |
| 0.8.0 | May 17, 2026 |
| 0.7.5 | May 11, 2026 |
| 0.7.4 | May 10, 2026 |
| 0.7.3 | May 10, 2026 |
| 0.7.2 | May 10, 2026 |
| 0.7.1 | Apr 24, 2026 |
| 0.7.0 | Mar 26, 2026 |
| 0.6.1 | Mar 24, 2026 |
| 0.6.0 | Mar 11, 2026 |
| 0.5.1 | Mar 8, 2026 |