mcpField
E
esa-mcp-server

esa-mcp-server

ローカル
github.com/koki-developメモリ・ナレッジ258 週間前に更新

esa-mcp-server について

esa.ioチームの投稿、タグ、コメントを管理するMCPサーバーです。読み書きに対応し、取得のみを許可する読み取り専用モードも備えています。

主な機能

  1. 01チーム投稿の検索と絞り込み
  2. 02投稿の作成・更新・削除
  3. 03チームタグの一覧取得
  4. 04投稿コメントの閲覧と管理
  5. 05読み取り専用モード

活用シーン

  1. 01条件を指定した投稿の検索
  2. 02チーム文書の作成や改訂
  3. 03投稿の議論の確認と更新
  4. 04書き込みを許可しない取得運用

MCP 対応

チームの個人アクセストークンを使い、MCPクライアントをesa.ioに接続します。npxまたはDockerで実行でき、投稿、タグ、コメントのツールを提供します。

設定

ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。

mcp.json · 共通設定
{
"mcpServers": {
"koki-develop-esa": {
"command": "npx",
"args": [
"-y",
"@koki-develop/esa-mcp-server"
],
"env": {
"ESA_TEAM": "<ESA_TEAM>",
"ESA_ACCESS_TOKEN": "<ESA_ACCESS_TOKEN>"
}
}
}
}
起動コマンドnpx -y @koki-develop/esa-mcp-server
設定が必要な環境変数
ESA_TEAMYour esa team
ESA_ACCESS_TOKENシークレットYour esa personal access token

ローカルサーバーにはマシン上の実行環境(Node.js 18 以上など)が必要です。設定ファイルの場所はクライアントごとに異なります。

パッケージ
npm@koki-develop/esa-mcp-server0.3.2

ツール

10

掲載時のツール一覧 · 2 週間前に更新

パラメーター型必須説明
qstringいいえ投稿を絞り込む検索クエリ。さまざまな検索演算子とキーワードに対応しています。
pagenumberいいえページネーションのページ番号。1 から始まります。
sortenumいいえ投稿の並べ替えに使用するフィールド。選択肢:'updated'(最終更新日時)、'created'(作成日)、'number'(投稿番号)、'stars'(スター数)、'watches'(ウォッチ数)、'comments'(コメント数)、'best_match'(関連度スコア)。updated | created | number | stars | watches | comments | best_match
orderenumいいえ並べ替え順。'desc' は降順(デフォルト)、'asc' は昇順です。desc | asc
includestringいいえレスポンスに含める追加データのカンマ区切りリスト(例:'comments'、'stargazers'、'comments,stargazers'、'comments,comments.stargazers')。
per_pagenumberいいえ1 ページあたりの投稿数。範囲:1-100、デフォルトは 20 です。

詳細

重要

An official MCP server has been released. Please use the official server going forward.

esa MCP Server

Version License Docker

A Model Context Protocol (MCP) server for esa.io.

Table of Contents

Usage

Prerequisites

Before using this MCP server, you need to generate a personal access token from your esa.io team:

  1. Go to https://<TEAM_NAME>.esa.io/user/applications
  2. Create a new personal access token
  3. Copy the token for configuration
Configuration

You can run the server either via npx or Docker.

Using npx

Add the following configuration to your MCP client:

{
  "mcpServers": {
    "esa": {
      "command": "npx",
      "args": [
        "-y",
        "@koki-develop/esa-mcp-server@latest"
      ],
      "env": {
        "ESA_TEAM": "<your-team-name>",
        "ESA_ACCESS_TOKEN": "<your-personal-access-token>"
      }
    }
  }
}

Replace <your-team-name> and <your-personal-access-token> with your team name and personal access token.

Using Docker

If you prefer Docker, use the following configuration:

{
  "mcpServers": {
    "esa": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ESA_TEAM",
        "-e",
        "ESA_ACCESS_TOKEN",
        "ghcr.io/koki-develop/esa-mcp-server:latest"
      ],
      "env": {
        "ESA_TEAM": "<your-team-name>",
        "ESA_ACCESS_TOKEN": "<your-personal-access-token>"
      }
    }
  }
}
Read-only Mode

To enable read-only mode that only allows read operations, add the --readonly flag.

Using npx:

{
  "mcpServers": {
    "esa": {
      "command": "npx",
      "args": [
        "-y",
        "@koki-develop/esa-mcp-server@latest",
        "--readonly"
      ],
      "env": {
        "ESA_TEAM": "<your-team-name>",
        "ESA_ACCESS_TOKEN": "<your-personal-access-token>"
      }
    }
  }
}

Using Docker:

{
  "mcpServers": {
    "esa": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ESA_TEAM",
        "-e",
        "ESA_ACCESS_TOKEN",
        "ghcr.io/koki-develop/esa-mcp-server:latest",
        "--readonly"
      ],
      "env": {
        "ESA_TEAM": "<your-team-name>",
        "ESA_ACCESS_TOKEN": "<your-personal-access-token>"
      }
    }
  }
}

In read-only mode, only the following operations are available:

  • get_posts - retrieve posts
  • get_post - retrieve a specific post
  • get_tags - retrieve tags
  • get_post_comments - retrieve post comments

Write operations (create_post, update_post, delete_post, create_post_comment, update_comment, delete_comment) are disabled.

MCP Tools

Posts
ToolDescription
get_postsRetrieve a list of posts from the esa team. Supports search queries, filtering, sorting, and pagination. Returns post metadata including title, content, tags, categories, author information, and engagement metrics (comments, stars, watches). Optionally includes comments and stargazers with the include parameter. Supports nested inclusion like 'comments,comments.stargazers'. Note: Post content (body_md) is truncated to 300 characters with a body_truncated field indicating if truncation occurred to reduce context size.
get_postRetrieve a specific post from the esa team by post number. Returns complete post details including title, content (markdown), tags, category, author information, revision history, and engagement metrics. Optionally includes comments and stargazers. Supports nested inclusion like 'comments,comments.stargazers'.
create_postCreate a new post in the esa team. Requires a title and optionally accepts content, tags, category, WIP status, and other metadata. Returns the created post information including the assigned post number and URL.
update_postUpdate an existing post in the esa team. Requires a post number and optionally accepts updated content, tags, category, WIP status, and other metadata. Returns the updated post information including revision details.
delete_postDelete an existing post from the esa team. Requires a post number. The post will be permanently deleted and cannot be recovered. Returns a confirmation message upon successful deletion.
タグ
ツール説明
get_tagsesa チームで使用されているすべてのタグの一覧を取得します。タグ名と、タグが付けられている投稿数を含み、投稿数の降順で並べ替えて返します。ページネーションに対応しています。
コメント
ツール説明
get_post_commentsesa チームの特定の投稿に対するコメント一覧を取得します。投稿番号が必要で、ページネーションに対応しています。内容、投稿者情報、タイムスタンプ、エンゲージメント指標(スター)などのコメントメタデータを返します。
create_post_commentesa チームの既存の投稿に新しいコメントを作成します。投稿番号と Markdown 形式のコメント内容が必要です。ID、内容、タイムスタンプ、投稿者の詳細など、作成したコメントの情報を返します。
update_commentesa チームの投稿にある既存のコメントを更新します。コメント ID と Markdown 形式の新しい内容が必要です。内容、タイムスタンプ、投稿者の詳細など、更新したコメントの情報を返します。
delete_commentesa チームから既存のコメントを削除します。コメント ID が必要です。コメントは完全に削除され、復元できません。削除が成功すると確認メッセージを返します。

ライセンス

このプロジェクトは MIT ライセンスの下でライセンスされています。詳細は LICENSE ファイルをご覧ください。

Copyright (c) 2025 Koki Sato

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。