esa
v0.15.2Official MCP server for esa.io - a documentation sharing service for teams
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
esa_get_teams Get user's accessible esa teams
Retrieves a list of esa teams that the user has access to.
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (starts from 1) |
perPage | number | Number of items per page |
role | string | Filter by role |
esa_get_team_stats Get team statistics
Retrieves team statistics including member count, posts count (total/WIP/shipped), comments, stars, watches, and daily/weekly/monthly active users
| Parameter | Type | Description |
|---|---|---|
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_get_team_tags Get team tags
Retrieves all tags used in posts within a team, along with the count of posts for each tag
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (starts from 1) |
perPage | number | Number of items per page |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_get_team_members Get team members
Retrieves all members of a team with their roles and profile information
| Parameter | Type | Description |
|---|---|---|
order | string | Sort order |
page | number | Page number (starts from 1) |
perPage | number | Number of items per page |
sort | string | Sort criteria |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_get_post Get a specific esa post
Retrieves a specific post from an esa team by post number. The response always includes backlinks_count (the number of posts referencing this one). To list the referencing posts themselves, use esa_get_post_backlinks. To fetch comments, use esa_get_post_comments.
| Parameter | Type | Description |
|---|---|---|
postNumber * | number | The post number to retrieve |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
truncate | boolean | Whether to truncate body_md to avoid overwhelming the agent context (default: true). If the response ends with '... (truncated)' and you need the full body (e.g. before calling esa_update_post to pres… |
esa_search_posts Search Posts
Search for posts in esa.io
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query string. Use specific terms, not wildcards like "*". Empty string returns all posts. ## Important Note for Date Queries: **WARNING: Do NOT use 'after:', 'before:', 'since:', or 'until:' sy… |
order | string | Sort direction |
page | integer | Page number |
perPage | integer | Items per page |
sort | string | Sort key |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_create_post Create a new esa post
Creates a new post in an esa team with optional tags, category, and WIP status.
| Parameter | Type | Description |
|---|---|---|
name * | string | The post name (title) |
bodyMd | string | The post content in Markdown format. Use 4 spaces for indentation. |
category | string | Category path (e.g., 'dev/docs') |
message | string | Update message for the post |
tags | array | Tags for the post |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
wip | boolean | Whether the post is Work In Progress. Set to false to ship it (mark as complete and ready to be published) |
esa_update_post Update an existing esa post
Updates an existing post in an esa team by post number. You can update the title, content, tags, category, and WIP status. To ship a post (mark as complete), set wip to false - this is preferred over using esa_ship_post when updating other fields simultaneously. To only add content to the start or end of the body, use esa_append_post or esa_prepend_post instead.
| Parameter | Type | Description |
|---|---|---|
postNumber * | number | The post number to update |
bodyMd | string | The post content in Markdown format. Use 4 spaces for indentation. |
category | string | Category path (e.g., 'dev/docs') |
message | string | Update message for the post |
name | string | The post name (title) |
originalRevision | object | Original revision to check for conflicts |
tags | array | Tags for the post |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
wip | boolean | Whether the post is Work In Progress. Set to false to ship it (mark as complete and ready to be published) |
esa_append_post Append content to an existing esa post
Appends Markdown content to the end of an existing post's body, saving it as a new revision. Unlike esa_update_post, this does not require fetching the current body first, making it ideal for adding to a post (e.g. log entries, meeting notes). Optionally set wip to change the WIP state.
| Parameter | Type | Description |
|---|---|---|
content * | string | The Markdown content to insert. Use 4 spaces for indentation. Line endings are normalized to LF. Include a blank line at the boundary to insert it as a separate block. |
postNumber * | number | The post number to add content to |
message | string | Change message. Defaults to "Updated via API." when omitted |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
wip | boolean | WIP state after the insert. Defaults to the post's current WIP state |
esa_prepend_post Prepend content to an existing esa post
Prepends Markdown content to the beginning of an existing post's body, saving it as a new revision. Unlike esa_update_post, this does not require fetching the current body first. Behaves the same as esa_append_post except content is inserted at the start of the body. Optionally set wip to change the WIP state.
| Parameter | Type | Description |
|---|---|---|
content * | string | The Markdown content to insert. Use 4 spaces for indentation. Line endings are normalized to LF. Include a blank line at the boundary to insert it as a separate block. |
postNumber * | number | The post number to add content to |
message | string | Change message. Defaults to "Updated via API." when omitted |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
wip | boolean | WIP state after the insert. Defaults to the post's current WIP state |
esa_get_comment Get a specific comment
Retrieves a specific comment by comment ID, with optional stargazers included.
| Parameter | Type | Description |
|---|---|---|
commentId * | number | The comment ID to retrieve |
include | string | Specify 'stargazers' to include stargazers in the response |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_create_comment Create a new comment on a post
Creates a new comment on an existing post in an esa team.
| Parameter | Type | Description |
|---|---|---|
bodyMd * | string | The comment content in Markdown format. Use 4 spaces for indentation. |
postNumber * | number | The post number to comment on |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
user | string | Comment author's screen_name (owner permission required) |
esa_update_comment Update an existing comment
Updates an existing comment in an esa team by comment ID.
| Parameter | Type | Description |
|---|---|---|
bodyMd * | string | The updated comment content in Markdown format. Use 4 spaces for indentation. |
commentId * | number | The comment ID to update |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
user | string | Comment author's screen_name (owner permission required) |
esa_delete_comment Delete a comment
Deletes a comment from an esa team by comment ID.
| Parameter | Type | Description |
|---|---|---|
commentId * | number | The comment ID to delete |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_get_post_backlinks Get backlinks for a specific post
Retrieves a paginated list of posts that reference (link back to) the specified post. Archived posts and WIP posts are excluded. Results are ordered by backlink registration date (newest references first).
| Parameter | Type | Description |
|---|---|---|
postNumber * | number | The post number to get backlinks for |
page | number | Page number (starts from 1) |
perPage | number | Number of items per page |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_get_post_comments Get comments for a specific post
Retrieves a list of comments for a specific post with pagination support.
| Parameter | Type | Description |
|---|---|---|
postNumber * | number | The post number to get comments for |
page | number | Page number (starts from 1) |
perPage | number | Number of items per page |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_get_team_comments Get team comments
Retrieves a list of comments in a team with pagination support.
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (starts from 1) |
perPage | number | Number of items per page |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_get_categories Get categories for a specific path
Retrieves category information and subcategories for a specific category path, with optional posts and parent categories included
| Parameter | Type | Description |
|---|---|---|
select * | string | Category path to retrieve |
descendantPosts | boolean | Include descendant posts (only effective with include=posts) |
include | string | Additional information to include |
page | number | Page number (starts from 1) |
perPage | number | Number of items per page |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_get_top_categories Get top-level categories
Retrieves all top-level categories for a team
| Parameter | Type | Description |
|---|---|---|
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_get_all_category_paths Get category paths with pagination
Retrieves category paths in a team to understand the overall category structure. Perfect for category organization, cleanup, migration planning, or finding similar categories. Returns a paginated list of paths with post counts, sorted in lexicographic order. Supports filtering (prefix/suffix/match/exact_match) to find categories by pattern.
| Parameter | Type | Description |
|---|---|---|
exactMatch | string | Filter paths matching exactly (e.g., 'dev/api' matches only 'dev/api', ignores leading/trailing slashes) |
match | string | Filter paths containing specified substring anywhere (e.g., 'doc' finds 'docs', 'dev/docs', 'documentation') |
page | number | Page number (starts from 1) |
perPage | number | Number of items per page |
prefix | string | Filter paths starting with specified string (e.g., 'dev' finds 'dev', 'dev/api', 'dev/docs') |
suffix | string | Filter paths ending with specified string (e.g., 'api' finds 'dev/api', 'backend/api') |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_archive_post Archive a post
Archives a post by moving it to the Archived/ category. If the post is in 'dev/docs', it becomes 'Archived/dev/docs'. Posts without category go to 'Archived'.
| Parameter | Type | Description |
|---|---|---|
postNumber * | number | The post number to archive |
message | string | Change message for the archive |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_ship_post Ship a post
Ships a post by setting wip to false. This marks the post as complete and ready to be published. Use this only when you need to ship without making other changes - if you're also updating title, content, or other fields, use esa_update_post with wip: false instead.
| Parameter | Type | Description |
|---|---|---|
postNumber * | number | The post number to ship |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_duplicate_post Duplicate a post
Duplicates a post by creating a new WIP post with the same name and body_md as the source post. By default the duplicate is created in the source team; specify targetTeamName to duplicate into a different team.
| Parameter | Type | Description |
|---|---|---|
postNumber * | number | The source post number to duplicate |
targetTeamName | string | The destination team name for the duplicated post. Defaults to the source team when omitted. |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
esa_rollback_post_revision Roll back a post to a previous revision
Rolls back a post to the specified revision, saving the restored content as a new revision.
| Parameter | Type | Description |
|---|---|---|
postNumber * | number | The post number to roll back |
revisionNumber * | number | The revision number to roll back to, e.g. the revision_number from esa_get_post before your edits |
message | string | Change message for the rollback |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |
wip | boolean | WIP state after rollback. Defaults to the target revision's WIP state |
esa_get_search_options_help Get esa search options documentation
Get esa search syntax documentation when you need to construct complex search queries. Use this BEFORE esa_search_posts if you're unsure how to translate user's search requirements into proper esa query syntax (e.g., date ranges, tag filters, category searches, advanced operators).
esa_get_markdown_syntax_help Get esa Markdown syntax documentation
Get esa Markdown and formatting documentation when unsure about syntax. Use this BEFORE using any tools with *_md parameters (like esa_create_post, esa_update_post, esa_create_comment, esa_update_comment) if you need clarification on Markdown syntax, esa-specific extensions, or formatting options.
esa_search_help Search esa documentation and help
Search esa documentation for features, terminology, and specifications. Use this when users mention esa-specific terms, ask about esa functionality, or request help with esa workflows that you're not familiar with.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query string. Use specific terms, not wildcards like "*". Empty string returns all posts. ## Important Note for Date Queries: **WARNING: Do NOT use 'after:', 'before:', 'since:', or 'until:' sy… |
page | integer | Page number |
perPage | integer | Items per page |
esa_get_attachment Get attachment file from esa
Retrieves an attachment file from esa with signed URLs. For supported images (JPEG, PNG, GIF, WebP) under 30MB, returns base64-encoded data. For other file types, larger images, or when forceSignedUrl is true, returns signed URLs.
| Parameter | Type | Description |
|---|---|---|
url * | string | Attachment URL. Can be a full URL (https://files.esa.io/..., https://dl.esa.io/...) or a path (/uploads/...) |
forceSignedUrl | boolean | If true, always return signed URLs instead of base64-encoded images. Default is false. |
teamName | string | Team name (required). Use esa_get_teams first to see available teams. |