Nutshell MCP by usefulapi
Read leads, contacts and tasks; create leads, notes and tasks, and close leads in Nutshell.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"nutshell": {
"url": "https://nutshell.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://nutshell.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(21)
🟢nutshell_list_accounts(q, sort, filter, page, limit)
List accounts (companies and organizations) with their owners, types and custom fields. GET /rest/accounts.
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"description": "Search text, matched against related info on the entity.",
"type": "string"
},
"sort": {
"description": "Sort field. Prefix with '-' for descending, for example -value.",
"type": "string"
},
"filter": {
"description": "Filters as key-value pairs, for example {\"status\": \"open\"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {\"participant\": [\"5-contacts\"]}, sent as filter[key][].",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"page": {
"description": "Page of results, 0-based.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Results per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_get_account(id)
Get one account by its API ID, for example 3-accounts. GET /rest/accounts/{id}.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$",
"description": "API ID such as 3-contacts."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_contacts(q, email, sort, filter, page, ...)
List contacts (people) with their email, phone, company and custom fields. GET /rest/contacts.
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"description": "Search text, matched against related info on the entity.",
"type": "string"
},
"email": {
"description": "Only contacts with this email address.",
"type": "string"
},
"sort": {
"description": "Sort field. Prefix with '-' for descending, for example -value.",
"type": "string"
},
"filter": {
"description": "Filters as key-value pairs, for example {\"status\": \"open\"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {\"participant\": [\"5-contacts\"]}, sent as filter[key][].",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"page": {
"description": "Page of results, 0-based.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Results per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_get_contact(id)
Get one contact by its API ID, for example 3-contacts. GET /rest/contacts/{id}.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$",
"description": "API ID such as 3-contacts."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_leads(q, sort, filter, page, limit)
List leads (deals) with their value, status, owner, pipeline stage and confidence. Use filter, for example status or owner. GET /rest/leads.
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"description": "Search text, matched against related info on the entity.",
"type": "string"
},
"sort": {
"description": "Sort field. Prefix with '-' for descending, for example -value.",
"type": "string"
},
"filter": {
"description": "Filters as key-value pairs, for example {\"status\": \"open\"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {\"participant\": [\"5-contacts\"]}, sent as filter[key][].",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"page": {
"description": "Page of results, 0-based.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Results per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_get_lead(id)
Get one lead by its API ID, for example 1003-leads, with its links to products, contacts and tags. GET /rest/leads/{id}.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$",
"description": "API ID such as 3-contacts."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_lead_outcomes
List the outcomes a lead can close with, for example won or lost, with their IDs. Use an ID with nutshell_set_lead_status. GET /rest/outcomes.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_pipelines
List pipelines (stagesets) in the instance, including archived ones. GET /rest/stagesets.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_stages
List the active stages of the active pipelines that the authenticated user can see. GET /rest/stages.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_sources(q)
List the sources that leads can come from, for example a website form or a referral. GET /rest/sources.
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"description": "Search text, matched against related info on the entity.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_tags(q, tagType)
List tags used to group leads, contacts and accounts. GET /rest/tags.
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"description": "Search text, matched against related info on the entity.",
"type": "string"
},
"tagType": {
"description": "Only tags for one entity type, for example leads or contacts.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_users
List the users of the Nutshell instance, for example to find a lead owner or task assignee. GET /rest/users.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_get_user(id)
Get one user by its API ID, for example 1-users. GET /rest/users/{id}.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$",
"description": "API ID such as 3-contacts."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_activities(q, filter, limit)
List activities (calls, meetings, emails) between users and contacts. Use filter, for example dateMin or dateMax as Unix timestamps. GET /rest/activities.
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"description": "Search text, matched against related info on the entity.",
"type": "string"
},
"filter": {
"description": "Filters as key-value pairs, for example {\"status\": \"open\"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {\"participant\": [\"5-contacts\"]}, sent as filter[key][].",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"limit": {
"description": "Results per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_tasks(q, filter, page, limit)
List tasks. Use filter, for example assignee, relatedEntity, dateMin or dateMax. GET /rest/tasks.
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"description": "Search text, matched against related info on the entity.",
"type": "string"
},
"filter": {
"description": "Filters as key-value pairs, for example {\"status\": \"open\"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {\"participant\": [\"5-contacts\"]}, sent as filter[key][].",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"page": {
"description": "Page of results, 0-based.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Results per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢nutshell_list_notes(page, limit)
List notes attached to leads, contacts and accounts. GET /rest/notes.
入力スキーマ
{
"type": "object",
"properties": {
"page": {
"description": "Page of results, 0-based.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Results per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴nutshell_create_lead(description, manualValue, dueTime, links)
Create one lead. The description becomes the lead name. POST /rest/leads.
入力スキーマ
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"description": "Lead name. Nutshell stores it as the description."
},
"manualValue": {
"description": "Lead value, for example \"999.99\". Overrides the value from products.",
"type": "string"
},
"dueTime": {
"description": "Due time as an ISO 8601 string.",
"type": "string"
},
"links": {
"description": "Linked entities, for example {\"accounts\": [\"3-accounts\"], \"contacts\": [\"5-contacts\"]}.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"description"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴nutshell_create_note(body, parent)
Add a note to a lead, contact or account. POST /rest/notes.
入力スキーマ
{
"type": "object",
"properties": {
"body": {
"type": "string",
"minLength": 1,
"description": "Text of the note."
},
"parent": {
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$",
"description": "API ID of the entity the note belongs to, for example 1003-leads."
}
},
"required": [
"body",
"parent"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴nutshell_create_task(title, description, dueTime, relatedEntity, assignee)
Create a task, optionally linked to an entity and assigned to a user. POST /rest/tasks.
入力スキーマ
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"description": "Task title."
},
"description": {
"description": "Task description.",
"type": "string"
},
"dueTime": {
"description": "Due time as a Unix timestamp in seconds.",
"type": "string",
"pattern": "^\\d+$"
},
"relatedEntity": {
"description": "API ID of the entity to attach the task to, for example 1003-leads.",
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$"
},
"assignee": {
"description": "API ID of the user to assign, for example 1-users.",
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$"
}
},
"required": [
"title"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴nutshell_update_lead(id, operations)
Change one lead with a JSON Patch list. Each operation is {"op": "replace"|"add"|"remove", "path": "/leads/0/<field>", "value": ...}. PATCH /rest/leads/{id}.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$",
"description": "API ID such as 3-contacts."
},
"operations": {
"minItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"enum": [
"add",
"remove",
"replace"
]
},
"path": {
"type": "string",
"pattern": "^\\/leads\\/0\\/"
},
"value": {}
},
"required": [
"op",
"path"
]
},
"description": "JSON Patch operations. Paths start with /leads/0/, for example /leads/0/description."
}
},
"required": [
"id",
"operations"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴nutshell_set_lead_status(id, outcomeId)
Close a lead with an outcome, for example won or lost. Get the outcome IDs from nutshell_list_lead_outcomes. POST /rest/leads/{id}/status.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$",
"description": "API ID such as 3-contacts."
},
"outcomeId": {
"type": "string",
"pattern": "^\\d+-[A-Za-z]+$",
"description": "Outcome API ID, for example 1-outcomes."
}
},
"required": [
"id",
"outcomeId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス