Plain MCP by usefulapi

Read support threads and customers; add notes, labels, assignments and priority in Plain.

使うべきか

品質と安全性

B
説明の品質
97%
スキーマの完全性
74%
命名の品質
80%
ポイズニングのリスク
60%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(5)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool 'plain_list_threads' description contains placeholder textplain_list_threads 内
  • MEDIUMTool 'plain_reopen_thread' description contains placeholder textplain_reopen_thread 内
  • INFOTool description contains placeholder or incomplete textplain_list_threads 内
  • INFOTool description contains placeholder or incomplete textplain_reopen_thread 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~2,018トークン数(ツール定義)
~798 B一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.58%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "plain": {
      "url": "https://plain.usefulapi.io/mcp"
    }
  }
}

リモートエンドポイント

https://plain.usefulapi.io/mcpstreamable-http

できること

ツール一覧

ツール(14)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢plain_get_workspace

Get the Plain workspace this API key belongs to: id, name, public name and domain names. No arguments. Plain GraphQL query: myWorkspace.

入力スキーマ

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢plain_list_threads(statuses, priorities, customerIds, assignedToUserIds, labelTypeIds, ...)

List support threads (conversations) with optional filters: statuses (TODO, SNOOZED, DONE), priorities (0 urgent to 3 low), customer ids, assignee user ids, label type ids, and whether a thread is assigned. Optional sort by CREATED_AT, STATUS_CHANGED_AT, PRIORITY, LAST_INBOUND_MESSAGE_AT or CLOSEST_TO_BREACH_SLA. Paginate with `after` (endCursor). Plain GraphQL query: threads.

入力スキーマ

{
  "type": "object",
  "properties": {
    "statuses": {
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "TODO",
          "SNOOZED",
          "DONE"
        ]
      }
    },
    "priorities": {
      "maxItems": 4,
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 3
      }
    },
    "customerIds": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    },
    "assignedToUserIds": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    },
    "labelTypeIds": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    },
    "isAssigned": {
      "type": "boolean"
    },
    "sortField": {
      "type": "string",
      "enum": [
        "CREATED_AT",
        "STATUS_CHANGED_AT",
        "PRIORITY",
        "LAST_INBOUND_MESSAGE_AT",
        "CLOSEST_TO_BREACH_SLA"
      ]
    },
    "sortDirection": {
      "type": "string",
      "enum": [
        "ASC",
        "DESC"
      ]
    },
    "first": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "after": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢plain_get_thread(threadId)

Get one support thread by its id: title, preview, status, priority, assignee, customer and labels. Plain GraphQL query: thread.

入力スキーマ

{
  "type": "object",
  "properties": {
    "threadId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "threadId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢plain_get_customer(customerId, email)

Get one customer (the person who writes to support) by `customerId` OR by `email` (give exactly one): name, email, external id and dates. Plain GraphQL query: customer or customerByEmail.

入力スキーマ

{
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "email": {
      "type": "string",
      "maxLength": 254,
      "format": "email",
      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢plain_list_label_types(first, after)

List the active (not archived) label types of the workspace: id, name, description and color. Use the ids with plain_add_labels and plain_list_threads. Plain GraphQL query: labelTypes.

入力スキーマ

{
  "type": "object",
  "properties": {
    "first": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "after": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢plain_list_users(first, after)

List the workspace users who can be assigned to threads: id, full name, public name, email and status. Use the ids with plain_assign_thread. Plain GraphQL query: users.

入力スキーマ

{
  "type": "object",
  "properties": {
    "first": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "after": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴plain_add_note(customerId, threadId, text)

Add an internal note to a customer, optionally on one thread. Notes stay with the team and never reach the customer. Plain GraphQL mutation: createNote.

入力スキーマ

{
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "threadId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 10000
    }
  },
  "required": [
    "customerId",
    "text"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴plain_add_labels(threadId, labelTypeIds)

Add one or more label types to a thread. Get label type ids from plain_list_label_types. Plain GraphQL mutation: addLabels.

入力スキーマ

{
  "type": "object",
  "properties": {
    "threadId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "labelTypeIds": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    }
  },
  "required": [
    "threadId",
    "labelTypeIds"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴plain_remove_labels(labelIds)

Remove labels from threads by label id (the id of the label on the thread, from plain_get_thread, not the label type id). Plain GraphQL mutation: removeLabels.

入力スキーマ

{
  "type": "object",
  "properties": {
    "labelIds": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    }
  },
  "required": [
    "labelIds"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢plain_assign_thread(threadId, userId)

Assign a thread to a workspace user. Replaces the current assignee. Get user ids from plain_list_users. Plain GraphQL mutation: assignThread.

入力スキーマ

{
  "type": "object",
  "properties": {
    "threadId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "userId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "threadId",
    "userId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴plain_unassign_thread(threadId)

Remove the assignee from a thread. Plain GraphQL mutation: unassignThread.

入力スキーマ

{
  "type": "object",
  "properties": {
    "threadId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "threadId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡plain_set_thread_priority(threadId, priority)

Set the priority of a thread: 0 = Urgent, 1 = High, 2 = Normal, 3 = Low. Plain GraphQL mutation: changeThreadPriority.

入力スキーマ

{
  "type": "object",
  "properties": {
    "threadId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "priority": {
      "type": "integer",
      "minimum": 0,
      "maximum": 3
    }
  },
  "required": [
    "threadId",
    "priority"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪plain_mark_thread_done(threadId)

Mark a thread as DONE (closed). Plain GraphQL mutation: markThreadAsDone.

入力スキーマ

{
  "type": "object",
  "properties": {
    "threadId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "threadId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪plain_reopen_thread(threadId)

Move a thread back to TODO (open). Plain GraphQL mutation: markThreadAsTodo.

入力スキーマ

{
  "type": "object",
  "properties": {
    "threadId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "threadId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 14 件