About esa-mcp-server
An MCP server for managing posts, tags, and comments in esa.io teams. It supports both read and write operations, with a read-only mode for retrieval-only access.
Key features
- 01Search and filter team posts
- 02Create, update, and delete posts
- 03List team tags
- 04Read and manage post comments
- 05Optional read-only operation
Use cases
- 01Find posts using queries and filters
- 02Create or revise team documentation
- 03Review and update post discussions
- 04Allow retrieval without write access
MCP support
Connects MCP clients to esa.io using a team personal access token. It can run through npx or Docker and provides tools for posts, tags, and comments.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @koki-develop/esa-mcp-serverESA_TEAMYour esa teamESA_ACCESS_TOKENSecretYour esa personal access tokenLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
10Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | No | Search query to filter posts. Supports various search operators and keywords. |
| page | number | No | Page number for pagination. Starts from 1. |
| sort | enum | No | Field to sort posts by. Options: 'updated' (last updated), 'created' (creation date), 'number' (post number), 'stars' (star count), 'watches' (watch count), 'comments' (comment count), 'best_match' (relevance score).updated | created | number | stars | watches | comments | best_match |
| order | enum | No | Sort order. 'desc' for descending (default), 'asc' for ascending.desc | asc |
| include | string | No | Comma-separated list of additional data to include in response (e.g., 'comments', 'stargazers', 'comments,stargazers', 'comments,comments.stargazers'). |
| per_page | number | No | Number of posts per page. Range: 1-100, default is 20. |
Details
From the project READMEImportant
An official MCP server has been released. Please use the official server going forward.
esa MCP Server
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:
- Go to
https://<TEAM_NAME>.esa.io/user/applications - Create a new personal access token
- 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 postsget_post- retrieve a specific postget_tags- retrieve tagsget_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
| Tool | Description |
|---|---|
get_posts | Retrieve 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_post | Retrieve 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_post | Create 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_post | Update 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_post | Delete 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. |
Tags
| Tool | Description |
|---|---|
get_tags | Get a list of all tags used in the esa team. Returns tags with their names and the number of posts they are attached to, sorted by post count in descending order. Supports pagination. |
Comments
| Tool | Description |
|---|---|
get_post_comments | Retrieve a list of comments for a specific post from the esa team. Requires a post number and supports pagination. Returns comment metadata including content, author information, timestamps, and engagement metrics (stars). |
create_post_comment | Create a new comment on an existing post in the esa team. Requires a post number and comment content in Markdown format. Returns the created comment information including ID, content, timestamps, and author details. |
update_comment | Update an existing comment on a post in the esa team. Requires a comment ID and new content in Markdown format. Returns the updated comment information including content, timestamps, and author details. |
delete_comment | Delete an existing comment from the esa team. Requires a comment ID. The comment will be permanently deleted and cannot be recovered. Returns a confirmation message upon successful deletion. |
License
This project is licensed under the MIT License - see the LICENSE file for details.
Copyright (c) 2025 Koki Sato
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.