MCP server/communication

esa.io MCP Server

An MCP server to interact with the esa.io API for documentation management.

★ 1scnsh/mcp-esa-server-python ↗by scnshupdated
1

Add it to Claude Code

claude mcp add -e "ESA_TEAM_NAME=${ESA_TEAM_NAME}" -e "ESA_TOKEN=${ESA_TOKEN}" esa-io -- uv --directory "<path-to-project>" run main.py
Required:ESA_TEAM_NAMEESA_TOKEN
2

Make your agent remember this setup

esa-io's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Retrieve user profile information
  • List articles from your esa.io team
  • Read full article details
  • Create, update, and delete articles via API

Tools 6

user_get_infoRetrieves information about the esa.io user.
posts_get_listRetrieves a list of articles from esa.io.
posts_get_detailRetrieves the detailed content of a specific article.
posts_createCreates a new article on esa.io.
posts_updateUpdates an existing article on esa.io.
posts_deleteDeletes an article from esa.io.

Environment Variables

ESA_TEAM_NAMErequiredThe name of your esa.io team.
ESA_TOKENrequiredYour esa.io API access token.

Try it

Get my user information from esa.io.
List the most recent articles in my team's esa.io workspace.
Create a new article in esa.io titled 'Project Meeting Notes' with the content 'Discussed roadmap and milestones'.
Fetch the details for the article with ID 123.
Update the article with ID 123 to include the latest project updates.
Original README from scnsh/mcp-esa-server-python

mcp-esa-server-python

esa.io API と連携するための Model Context Protocol Server (mcp server)です。Pythonで実装しています。

できること

現在は以下の機能を提供しています。

  • ユーザー情報取得(user_get_info)
  • 記事一覧取得(posts_get_list)
  • 記事詳細取得(posts_get_detail)
  • 記事作成 (posts_create)
  • 記事更新 (posts_update)
  • 記事削除 (posts_delete)

セットアップ手順

前提条件

  • esa.ioのAPIトークンを発行済であること

  • uv が使えること

  • インターネット接続

  • esa.ioのAPIトークンの発行方法

    • あなたの esa.io チームのページにアクセスします (例: https://<your-team-name>.esa.io/)。
    • 左カラムのSETTINGSをクリックし、「ユーザー設定」>「外部アプリ連携」を選択します。
    • 「Personal access tokens」セクションで、「Generate new token」をクリックします。
    • トークン名 (例: mcp-server) を入力し、必要な権限スコープを選択します。この MCP サーバーには少なくとも以下の権限が必要です:
      • read (記事の読み取り)
      • write (記事の作成・更新・削除)
      • read_user (ユーザー情報の取得) (この項目は自動的に有効になるため、表示されない可能性があります)
    • 「Save」をクリックします。
    • 表示されたトークンを必ずコピーして安全な場所に保管してください。このトークンは一度しか表示されません。
    • コピーしたトークンは、後述の .env ファイルの ESA_TOKEN の値として貼り付けます。
  • esa.io では、サインアップから2ヶ月間の無料トライアル期間が提供されています。この期間を利用して、テスト用のチーム名とAPIトークンを取得することができます。

  • セキュリティのため、トークンは直接公開しないようご注意ください。

プロジェクトの初期化

uv sync

開発(ローカルでの使い方)

開発に参加する場合や、MCPInspectorを利用する場合は、以下の手順で環境を構築します。

  1. 環境変数の設定 .env.example を参考にして、.env をサーバーを実行したいディレクトリ(.env.exampleと同じ場所)を作成します。

    ESA_TEAM_NAME="YOUR_ESA_TEAM_NAME" # Replace with your esa.io team name (e.g., "myteam")
    ESA_TOKEN="YOUR_ESA_API_TOKEN"     # Replace with your esa.io API access token
    
  2. 実行方法 下記コマンドを実行後に、指示のあるURLからブラウザを開くことで、MCP Inspectorを使って、各コマンド(記事作成など)を実行することができます。

    uv run mcp run main.py
    

MCPServerとしてCursorエディタで使う方法

  1. mcp.jsonの作成例

プロジェクトルートまたは ~/.cursor/mcp.json に以下のような設定ファイルを用意します。

{
  "mcpServers": {
    "mcp-esa-server": {
      "command": "uv",
      "args": [
        "--directory",
        "<プロジェクトの絶対パス>",
        "run",
        "main.py"
      ],
      "env": {
        "ESA_TEAM_NAME": "<your-team-name>",
        "ESA_TOKEN": "<your-esa-token>"
      }
    }
  }
}
  • <your-team-name><your-esa-token> は各自のesa.ioチーム名・APIトークンに置き換えてください。
  • env: 環境変数を 直接 設定します。この方法を使用する場合、.cursor/mcp.json のコミットは絶対に避けてください。
  1. CursorエディタでMCPサーバーを起動
  • CursorエディタのコマンドパレットやUIから「MCPサーバーを起動」または「AIツールを有効化」します。
  • mcp.jsonの設定に従い、uv run main.py でサーバーが起動します。
  • .env ファイルや環境変数も自動的に読み込まれます。
  1. AIチャットやツールパネルからAPIを呼び出し
  • AIチャット上で user_get_infoposts_get_list などのMCPツールを呼び出すことで、esa.io APIと連携した操作が可能です。
  • mcp-esa-serverを使って記事の作成をお願いします などとチャット上で書き込むことで利用できます。

ライセンス (License)

このプロジェクトは MIT License の下で公開されています。

使用している外部コード / Dependencies

このプロジェクトの一部では、以下のMIT Licenseで公開されているコードを参照しています。

その他 (Misc)

生成元 (Generated by)

generated by Cursor (gemini-2.5-pro-exp-03-25)

Frequently Asked Questions

What are the key features of esa.io?

Retrieve user profile information. List articles from your esa.io team. Read full article details. Create, update, and delete articles via API.

What can I use esa.io for?

Automating documentation updates directly from AI chat. Quickly searching and retrieving knowledge base articles. Managing team knowledge base content without leaving the IDE. Syncing project notes to esa.io automatically.

How do I install esa.io?

Install esa.io by running: uv sync

What MCP clients work with esa.io?

esa.io works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep esa.io docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest