esa

v0.15.2
io.github.esaio/esa Checked 11 hours ago Published 1 month ago

Official 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.

ParameterTypeDescription
pagenumberPage number (starts from 1)
perPagenumberNumber of items per page
rolestringFilter 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

ParameterTypeDescription
teamNamestringTeam 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

ParameterTypeDescription
pagenumberPage number (starts from 1)
perPagenumberNumber of items per page
teamNamestringTeam 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

ParameterTypeDescription
orderstringSort order
pagenumberPage number (starts from 1)
perPagenumberNumber of items per page
sortstringSort criteria
teamNamestringTeam 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.

ParameterTypeDescription
postNumber *numberThe post number to retrieve
teamNamestringTeam name (required). Use esa_get_teams first to see available teams.
truncatebooleanWhether 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

ParameterTypeDescription
query *stringSearch 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…
orderstringSort direction
pageintegerPage number
perPageintegerItems per page
sortstringSort key
teamNamestringTeam 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.

ParameterTypeDescription
name *stringThe post name (title)
bodyMdstringThe post content in Markdown format. Use 4 spaces for indentation.
categorystringCategory path (e.g., 'dev/docs')
messagestringUpdate message for the post
tagsarrayTags for the post
teamNamestringTeam name (required). Use esa_get_teams first to see available teams.
wipbooleanWhether 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.

ParameterTypeDescription
postNumber *numberThe post number to update
bodyMdstringThe post content in Markdown format. Use 4 spaces for indentation.
categorystringCategory path (e.g., 'dev/docs')
messagestringUpdate message for the post
namestringThe post name (title)
originalRevisionobjectOriginal revision to check for conflicts
tagsarrayTags for the post
teamNamestringTeam name (required). Use esa_get_teams first to see available teams.
wipbooleanWhether 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.

ParameterTypeDescription
content *stringThe 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 *numberThe post number to add content to
messagestringChange message. Defaults to "Updated via API." when omitted
teamNamestringTeam name (required). Use esa_get_teams first to see available teams.
wipbooleanWIP 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.

ParameterTypeDescription
content *stringThe 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 *numberThe post number to add content to
messagestringChange message. Defaults to "Updated via API." when omitted
teamNamestringTeam name (required). Use esa_get_teams first to see available teams.
wipbooleanWIP 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.

ParameterTypeDescription
commentId *numberThe comment ID to retrieve
includestringSpecify 'stargazers' to include stargazers in the response
teamNamestringTeam 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.

ParameterTypeDescription
bodyMd *stringThe comment content in Markdown format. Use 4 spaces for indentation.
postNumber *numberThe post number to comment on
teamNamestringTeam name (required). Use esa_get_teams first to see available teams.
userstringComment 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.

ParameterTypeDescription
bodyMd *stringThe updated comment content in Markdown format. Use 4 spaces for indentation.
commentId *numberThe comment ID to update
teamNamestringTeam name (required). Use esa_get_teams first to see available teams.
userstringComment author's screen_name (owner permission required)

esa_delete_comment Delete a comment

Deletes a comment from an esa team by comment ID.

ParameterTypeDescription
commentId *numberThe comment ID to delete
teamNamestringTeam 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).

ParameterTypeDescription
postNumber *numberThe post number to get backlinks for
pagenumberPage number (starts from 1)
perPagenumberNumber of items per page
teamNamestringTeam 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.

ParameterTypeDescription
postNumber *numberThe post number to get comments for
pagenumberPage number (starts from 1)
perPagenumberNumber of items per page
teamNamestringTeam 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.

ParameterTypeDescription
pagenumberPage number (starts from 1)
perPagenumberNumber of items per page
teamNamestringTeam 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

ParameterTypeDescription
select *stringCategory path to retrieve
descendantPostsbooleanInclude descendant posts (only effective with include=posts)
includestringAdditional information to include
pagenumberPage number (starts from 1)
perPagenumberNumber of items per page
teamNamestringTeam 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

ParameterTypeDescription
teamNamestringTeam 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.

ParameterTypeDescription
exactMatchstringFilter paths matching exactly (e.g., 'dev/api' matches only 'dev/api', ignores leading/trailing slashes)
matchstringFilter paths containing specified substring anywhere (e.g., 'doc' finds 'docs', 'dev/docs', 'documentation')
pagenumberPage number (starts from 1)
perPagenumberNumber of items per page
prefixstringFilter paths starting with specified string (e.g., 'dev' finds 'dev', 'dev/api', 'dev/docs')
suffixstringFilter paths ending with specified string (e.g., 'api' finds 'dev/api', 'backend/api')
teamNamestringTeam 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'.

ParameterTypeDescription
postNumber *numberThe post number to archive
messagestringChange message for the archive
teamNamestringTeam 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.

ParameterTypeDescription
postNumber *numberThe post number to ship
teamNamestringTeam 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.

ParameterTypeDescription
postNumber *numberThe source post number to duplicate
targetTeamNamestringThe destination team name for the duplicated post. Defaults to the source team when omitted.
teamNamestringTeam 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.

ParameterTypeDescription
postNumber *numberThe post number to roll back
revisionNumber *numberThe revision number to roll back to, e.g. the revision_number from esa_get_post before your edits
messagestringChange message for the rollback
teamNamestringTeam name (required). Use esa_get_teams first to see available teams.
wipbooleanWIP 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.

ParameterTypeDescription
query *stringSearch 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…
pageintegerPage number
perPageintegerItems 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.

ParameterTypeDescription
url *stringAttachment URL. Can be a full URL (https://files.esa.io/..., https://dl.esa.io/...) or a path (/uploads/...)
forceSignedUrlbooleanIf true, always return signed URLs instead of base64-encoded images. Default is false.
teamNamestringTeam name (required). Use esa_get_teams first to see available teams.