IRIS CRM MCP by usefulapi
Read leads, lead notes, merchants and users in IRIS CRM.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"iris-crm": {
"url": "https://iris-crm.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://iris-crm.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(6)
🟢iriscrm_list_leads(page, per_page, sort_by, sort_dir, group, ...)
List CRM leads (sales prospects) with filters by group, merchant id, campaign, source, status, status category, owner user, and a date range. IRIS CRM Open API: GET /leads.
入力スキーマ
{
"type": "object",
"properties": {
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"sort_by": {
"description": "Lead field to sort by (see iriscrm_list_lead_fields).",
"type": "string"
},
"sort_dir": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"group": {
"description": "Filter by group id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"mid": {
"description": "Filter by merchant id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"campaign": {
"description": "Filter by campaign id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"source": {
"description": "Filter by source id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"status": {
"description": "Filter by status id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"category": {
"description": "Filter by status category id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"user": {
"description": "Filter by owner user id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"date_filter": {
"description": "Which date the start and end dates apply to.",
"type": "string",
"enum": [
"created",
"modified",
"last_note",
"last_status",
"last_task",
"last_task_due",
"last_appointment",
"last_appointment_due"
]
},
"start_date": {
"description": "Start of the date range (yyyy-mm-dd or ISO 8601 date-time).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:?\\d{2})?)?$"
},
"end_date": {
"description": "End of the date range (yyyy-mm-dd or ISO 8601 date-time).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:?\\d{2})?)?$"
},
"email": {
"description": "Filter by an email address.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢iriscrm_get_lead(lead_id, skip_empty_set, international_phone_numbers)
Get one lead with its field values (status, owner, contact details, custom fields). IRIS CRM Open API: GET /leads/{leadId}.
入力スキーマ
{
"type": "object",
"properties": {
"lead_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The lead id (from iriscrm_list_leads)."
},
"skip_empty_set": {
"description": "Leave out empty field sets from the response.",
"type": "boolean"
},
"international_phone_numbers": {
"description": "Return phone numbers in E.164 format.",
"type": "boolean"
}
},
"required": [
"lead_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢iriscrm_list_lead_notes(lead_id, tab, page, per_page)
List the notes on one lead, optionally from one note tab. IRIS CRM Open API: GET /leads/{leadId}/notes.
入力スキーマ
{
"type": "object",
"properties": {
"lead_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The lead id (from iriscrm_list_leads)."
},
"tab": {
"description": "Note tab id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"lead_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢iriscrm_list_lead_fields(specials, page, per_page)
List the lead field definitions and their ids. Use the ids before reading or updating a field value. IRIS CRM Open API: GET /leads/fields.
入力スキーマ
{
"type": "object",
"properties": {
"specials": {
"description": "Special field names to include, for example ['dba', 'phone'].",
"type": "array",
"items": {
"type": "string"
}
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢iriscrm_list_merchants(page, per_page, sort_by, sort_dir, group, ...)
List merchants (processing accounts) with filters by group, processor, merchant id, name, status, active flag, and a date range. IRIS CRM Open API: GET /merchants.
入力スキーマ
{
"type": "object",
"properties": {
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"sort_by": {
"description": "Merchant field to sort by.",
"type": "string"
},
"sort_dir": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"group": {
"description": "Filter by group name.",
"type": "string"
},
"processor": {
"description": "Filter by processor name.",
"type": "string"
},
"datasource": {
"description": "Filter by data source name.",
"type": "string"
},
"mid": {
"description": "Filter by a partial merchant number (a string, so leading zeros are kept).",
"type": "string"
},
"name": {
"description": "Filter by a partial merchant name.",
"type": "string"
},
"active": {
"description": "Filter by the merchant active field.",
"type": "string",
"enum": [
"Yes",
"No"
]
},
"status": {
"description": "Filter by merchant status.",
"type": "string",
"enum": [
"Open",
"Closed"
]
},
"date_filter": {
"description": "Which date the start and end dates apply to.",
"type": "string",
"enum": [
"opened",
"closed",
"created",
"modified",
"first_batch",
"last_batch",
"deactivated"
]
},
"start_date": {
"description": "Start of the date range (yyyy-mm-dd or ISO 8601 date-time).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:?\\d{2})?)?$"
},
"end_date": {
"description": "End of the date range (yyyy-mm-dd or ISO 8601 date-time).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:?\\d{2})?)?$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢iriscrm_list_users(page, per_page, sort_by, sort_dir, class, ...)
List CRM users (sales reps and admins) with their class and active flag. IRIS CRM Open API: GET /users/list.
入力スキーマ
{
"type": "object",
"properties": {
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"sort_by": {
"description": "User field to sort by.",
"type": "string"
},
"sort_dir": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"class": {
"description": "Filter by user class id (the class ids are in the IRIS CRM API docs).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"active": {
"description": "Filter by active status. Omit to get active and deactivated users.",
"type": "string",
"enum": [
"Yes",
"No"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス