aira mcp server

Local 2025-08-31 23:24:31 0

A Model Context Protocol server for creating commit messages from git staged files.


Aira MCP Server # aira-mcp-server MCP Server EN doc JA doc

A Model Context Protocol server for creating commit messages from git staged files

This is a TypeScript-based MCP server that implements a simple notes system. It demonstrates core MCP concepts by providing:

  • Git status information retrieval
  • Commit message creation with conventional commit format
  • Gitflow initialization and management
  • Branch operations (create, merge, list)

aira-mcp-server MCP server

? Features

  • ? Conventional commit message generation
  • ? Gitflow workflow support
  • ? Git status checking
  • ? Branch management

?️ Installation

npm install
npm run build

? Usage

Configure the MCP server in your settings:

{
  "mcpServers": {
    "aira": {
      "command": "node",
      "args": ["path/to/aira-mcp-server/build/index.js"]
    }
  }
}

? Available Tools

get_status

Retrieves Git status information.

create_commit

Creates and executes a commit for specified files.

init_gitflow

Initializes Gitflow.

create_branch

Creates a new branch.

merge_branch

Merges branches according to Gitflow.

list_branches

Lists all Gitflow branches.

? License

MIT License

[
  {
    "description": "Gitのステータス情報を取得します",
    "inputSchema": {
      "properties": {
        "path": {
          "description": "Gitリポジトリの絶対パス",
          "type": "string"
        }
      },
      "required": [
        "path"
      ],
      "type": "object"
    },
    "name": "get_status"
  },
  {
    "description": "指定したファイルに対してコミットを作成・実行します。※1度に1ファイルのみコミット可能です",
    "inputSchema": {
      "properties": {
        "body": {
          "description": "コミットの本文(オプション)",
          "type": "string"
        },
        "emoji": {
          "description": "コミットメッセージに使用する絵文字",
          "type": "string"
        },
        "file": {
          "description": "コミット対象のファイルパス(1ファイルのみ指定可能)",
          "type": "string"
        },
        "footer": {
          "description": "コミットのフッター(オプション)",
          "type": "string"
        },
        "issueNumber": {
          "description": "GitHub Issue番号(オプション)",
          "type": "number"
        },
        "language": {
          "description": "コミットメッセージの言語(デフォルト: ja)",
          "enum": [
            "ja",
            "en"
          ],
          "type": "string"
        },
        "path": {
          "description": "Gitリポジトリの絶対パス",
          "type": "string"
        },
        "title": {
          "description": "コミットのタイトル",
          "type": "string"
        },
        "type": {
          "description": "コミットの種類",
          "enum": [
            "feat",
            "fix",
            "docs",
            "style",
            "refactor",
            "perf",
            "test",
            "chore"
          ],
          "type": "string"
        }
      },
      "required": [
        "file",
        "path",
        "type",
        "emoji",
        "title"
      ],
      "type": "object"
    },
    "name": "create_commit"
  }
]