Skip to main content
Glama
NazarKY
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を検索

セットアップ

  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設定に新しい環境変数を追加します

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

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NazarKY/workspace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server