Cover image
Try Now
2025-03-27

Servidor MCP para interactuar con la API de ESA

3 years

Works with Finder

1

Github Watches

1

Github Forks

7

Github Stars

esa MCP Server

スクリーンショット 2025-03-27 午後1 14 09

Read this in Japanese

Overview

This server is an interface that uses the Model Context Protocol (MCP) to enable Claude AI to interact with the esa API.

With this MCP server, Claude AI can perform operations such as searching, creating, and updating esa documents.

esa Server MCP server

About the Repository

This repository provides a standalone implementation of the esa MCP server. It integrates Claude AI with esa to streamline document management.

Setup

Prerequisites

  • Node.js 18 or higher
  • esa API access token
  • esa team name

Installation

# Install globally
npm install -g @kajirita2002/esa-mcp-server

# Or use directly with npx
npx @kajirita2002/esa-mcp-server

Setting Environment Variables

# Set environment variables
export ESA_ACCESS_TOKEN="your_esa_access_token"
export ESA_TEAM="your_team_name"

MCP Configuration Example

If you're using this MCP server, add the following configuration to your mcp_config.json file:

"esa": {
  "command": "npx",
  "args": ["-y", "@kajirita2002/esa-mcp-server"],
  "env": {
    "ESA_ACCESS_TOKEN": "your_esa_access_token",
    "ESA_TEAM": "your_team_name"
  }
}

Starting the Server

# Start the server
npm start

Available Tools

This MCP server provides the following tools:

Post Related

  1. esa_list_posts

    • Get a list of posts in the team
    • Input:
      • q (string, optional): Search query
      • include (string, optional): Related data to include in the response (e.g. 'comments,stargazers')
      • sort (string, optional): Sort method (updated, created, number, stars, watches, comments, best_match)
      • order (string, optional): Sort order (desc, asc)
      • per_page (number, optional): Number of results per page (max: 100)
      • page (number, optional): Page number to retrieve
  2. esa_get_post

    • Get detailed information about a specific post
    • Input:
      • post_number (number, required): Post number to retrieve
      • include (string, optional): Related data to include in the response (e.g. 'comments,stargazers')
  3. esa_create_post

    • Create a new post
    • Input:
      • name (string, required): Post title
      • body_md (string, optional): Post body (Markdown format)
      • tags (array of string, optional): List of tags for the post
      • category (string, optional): Post category
      • wip (boolean, optional, default: true): Whether to mark as WIP (Work In Progress)
      • message (string, optional): Change message
      • user (string, optional): Poster's screen_name (only team owners can specify)
      • template_post_id (number, optional): ID of the post to use as a template
  4. esa_update_post

    • Update an existing post
    • Input:
      • post_number (number, required): Post number to update
      • name (string, optional): New title for the post
      • body_md (string, optional): New body for the post (Markdown format)
      • tags (array of string, optional): New list of tags for the post
      • category (string, optional): New category for the post
      • wip (boolean, optional): Whether to mark as WIP (Work In Progress)
      • message (string, optional): Change message
      • created_by (string, optional): Poster's screen_name (only team owners can specify)
      • original_revision (string, optional): Revision to base the update on

Comment Related

  1. esa_list_comments

    • Get a list of comments for a post
    • Input:
      • post_number (number, required): Post number to get comments for
      • page (number, optional): Page number to retrieve
      • per_page (number, optional): Number of results per page (max: 100)
  2. esa_get_comment

    • Get a specific comment
    • Input:
      • comment_id (number, required): ID of the comment to retrieve
      • include (string, optional): Related data to include in the response (e.g. 'stargazers')
  3. esa_create_comment

    • Post a comment to an article
    • Input:
      • post_number (number, required): Post number to comment on
      • body_md (string, required): Comment body (Markdown format)
      • user (string, optional): Poster's screen_name (only team owners can specify)

Member Related

  1. esa_get_members

    • Get a list of team members
    • Input:
      • page (number, optional): Page number to retrieve
      • per_page (number, optional): Number of results per page (max: 100)
  2. esa_get_member

    • Get information about a specific team member
    • Input:
      • screen_name_or_email (string, required): Screen name or email of the member to retrieve

Usage Example

Here's an example of Claude using this MCP server to create an esa post:

[Claude] Please create a new post in esa. The title should be "Project X Progress Report" and the body should include "# This Week's Progress\n\n- Implementation of Feature A completed\n- Testing of Feature B started\n\n## Next Week's Plan\n\n- Start implementation of Feature C".

[MCP Server] Using the esa_create_post tool to create a new post.

[Result]
{
  "number": 123,
  "name": "Project X Progress Report",
  "body_md": "# This Week's Progress\n\n- Implementation of Feature A completed\n- Testing of Feature B started\n\n## Next Week's Plan\n\n- Start implementation of Feature C",
  "wip": false,
  "created_at": "2023-06-01T12:34:56+09:00",
  "updated_at": "2023-06-01T12:34:56+09:00",
  "url": "https://your-team.esa.io/posts/123"
}

[Claude] The post has been created successfully. The post number is 123, and you can access it at the following URL:
https://your-team.esa.io/posts/123

Troubleshooting

Access Token Issues

Error: Request failed with status code 401

If you see this error, your esa access token may be invalid or expired. Generate a new access token from the esa settings screen and update your environment variable.

Permission Issues

Error: Request failed with status code 403

If you see this error, the current access token doesn't have the necessary permissions. Check the permissions for your access token in the esa settings screen and issue a new token if needed.

License

Provided under the MIT License.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • HiveNexus
  • Un bot de chat de IA para equipos pequeños y medianos, que apoyan modelos como Deepseek, Open AI, Claude y Gemini. 专为中小团队设计的 ai 聊天应用 , 支持 Deepseek 、 Open ai 、 Claude 、 Géminis 等模型。

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。

    Reviews

    2 (1)
    Avatar
    user_T3eCG6op
    2025-04-16

    I've been using esa-mcp-server by kajirita2002 and it's been a game changer for my MCP applications. The setup was straightforward and the server performance is incredibly reliable. Kudos to the developer for creating such an efficient tool. Highly recommend checking it out: https://github.com/kajirita2002/esa-mcp-server.