Skip to main content
Glama
Work Integrations MCP
by NazarKY

Work Integrations MCP

これは、複数の業務システム(現在はJira、今後はSlack/GitHubなどを予定)向けのツールを提供する小さなMCPサーバーです。

現在利用可能なツール

  • jira_get_issue - キーを指定してJiraの課題を取得

  • jira_search - JQLを使用してJiraを検索

  • slack_get_message_by_url - URLを指定してSlackメッセージを取得

  • slack_get_channel_history - 最近のSlackメッセージを取得

  • slack_find_channel - チャンネル名をIDに解決

  • slack_find_user - メールアドレスまたは表示名からユーザーを解決

  • confluence_get_page - IDを指定してConfluenceページを取得(フッターとネストされた返信付きのインラインコメントを含む)

  • confluence_get_page_by_url - URLを指定してConfluenceページを取得(フッターとネストされた返信付きのインラインコメントを含む)

  • confluence_search - CQLを使用してConfluenceを検索

Related MCP server: Personal JIRA MCP

セットアップ

  1. 依存関係をインストールします:

    • npm install

  2. 環境変数を設定します(例):

    • JIRA_BASE=https://company.atlassian.net

    • JIRA_EMAIL=you@company.com

    • JIRA_TOKEN=your_api_token

    • JIRA_API_VERSION=3

    • SLACK_TOKEN=xoxb-your-slack-bot-token

    • CONFLUENCE_BASE=https://company.atlassian.net/wiki

    • CONFLUENCE_EMAIL=you@company.com

    • CONFLUENCE_TOKEN=your_api_token

  3. CursorにMCPサーバーを登録します (~/.cursor/mcp.json):

    {
      "mcpServers": {
        "work-integrations-mcp": {
          "command": "npx",
          "args": [
            "tsx",
            "/ABS/PATH/jira-mcp/server.ts"
          ],
          "env": {
            "JIRA_BASE": "https://company.atlassian.net",
            "JIRA_EMAIL": "you@company.com",
            "JIRA_TOKEN": "your_api_token",
            "JIRA_API_VERSION": "3",
           "SLACK_TOKEN": "xoxb-your-slack-bot-token",
           "CONFLUENCE_BASE": "https://company.atlassian.net/wiki",
           "CONFLUENCE_EMAIL": "you@company.com",
           "CONFLUENCE_TOKEN": "your_api_token"
          }
        }
      }
    }
  4. Cursorを再起動します。

使用例

  • 「jira_get_issue を使用してキー CVR-248 の課題を取得して」

  • 「JQLでJiraを検索: project = CVR ORDER BY updated DESC」

  • 「slack_get_message_by_url を使用してURL https://... のメッセージを取得して」

  • 「slack_get_channel_history を使用してチャンネル general の履歴を取得して」

  • 「slack_find_user を使用してメールアドレス user@company.com のユーザーを検索して」

  • 「confluence_get_page を使用してID 123456 のページを取得して」

  • 「confluence_get_page_by_url を使用してURL https://.../wiki/... のページを取得して」

  • 「confluence_search を使用してCQL space = DOCS and type = page で検索して」

Slackセットアップの注意点

Slackアプリを作成し、ワークスペースにインストールしてください。パブリックチャンネルに必要な最小限のスコープは以下の通りです:

  • channels:read

  • channels:history

  • users:read

  • users:read.email

プライベートチャンネルの場合は、以下を追加してください:

  • groups:read

  • groups:history

拡張方法

Slack、GitHub、その他のサービス用の新しいツールを追加するには、services/ 配下に新しいフォルダーを作成し、server.ts でモジュールを登録します:

  1. 認証とAPI呼び出しのために services/<service>/client.ts を作成します

  2. ToolModule をエクスポートする services/<service>/tools.ts を作成します

  3. server.ts でモジュールをインポートし、mergeToolModules に渡します

  4. 必要に応じて、CursorのMCP設定に新しい環境変数を追加します

既存のプロンプトが引き続き動作するように、ツール名は変更しないでください。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      An MCP server that enables AI assistants to interact with JIRA, allowing for querying issue details, creating and updating work items, and managing attachments through a standardized interface.
      12
      4
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for interacting with Jira Cloud instances. Enables issue management, JQL queries, project and sprint management, and batch operations via natural language interfaces.
      102 npm
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A comprehensive, production-ready MCP server for seamless Jira Cloud integration, enabling AI agents and custom applications to manage boards, issues, users, projects, and workflows via natural language commands.
      292 npm
      4
      MIT