kanbox-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kanbox-mcp show my unread LinkedIn inbox messages"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kanbox-mcp
MCP server for the Kanbox LinkedIn CRM API. Exposes two dispatcher tools — kanbox_read (4 actions) and kanbox_write (6 actions) — for use with Claude Code and other MCP clients.
Use cases
CRM triage — Search unread inbox messages, read conversations, then draft and send replies — all from your editor.
Pipeline management — Query contacts by pipeline/step, update labels or move contacts between steps based on conversation context.
Outreach automation — Build a lead list, send personalized connection requests with icebreakers, and follow up with messages once connected.
Lead enrichment — Add leads by LinkedIn URL for full background enrichment, then poll processing status until complete.
Contact lookup — Resolve a LinkedIn profile slug to the internal
linkedin_idneeded for messaging, without leaving your workflow.Refresh a contact — Re-scrape a single profile on demand and get the fresh, normalized record back.
Related MCP server: Indraft
Design
This server uses a two-tool dispatcher pattern instead of exposing 9 separate MCP tools. Inspired by Jesse Vincent's article on MCP API design, the goals are:
Minimal context footprint — LLM clients load every tool definition into their context window. Two tools with action routing costs far less context than nine individual tool definitions, leaving more room for the actual conversation.
Self-documenting — Each tool's description includes the full action catalog with parameter names and gotchas. The LLM gets everything it needs from the tool definition itself, without requiring external documentation in the system prompt.
Read/write permission split — Two tools instead of one lets MCP clients auto-approve
kanbox_readwhile requiring explicit confirmation forkanbox_write.Flat responses — The Kanbox API nests contact data under
lead.*andlnuser.*keys. This server flattens responses so fields likelinkedin_id,firstname,emailappear at the top level, reducing the tokens the LLM spends parsing nested structures.
Key response fields
search_members returns the richest data — these are your inbox/connection contacts:
id,linkedin_id,linkedin_public_id,firstname,lastname,phone,company,job,location,labels,pipeline,step,icebreaker,custom,conversations(withid,last_message,unread_count)
With include_history: true, members also carry years_of_experience, the current-position dates (year_position, month_position, startyear_position, startmonth_position), and past_positions — an array of prior roles, each with title, company, company_linkedin_url, location, description, start_year/start_month, end_year/end_month, and is_current. These are omitted by default to keep responses compact; request them only when reconstructing a contact's job changes.
search_leads returns scraped lead data (no linkedin_id — resolve via search_members):
linkedin_public_id,firstname,lastname,phone,company,job,location
list_lists returns list metadata:
name,count,is_processing
Setup
In Kanbox Settings, turn on "Enable API Key" in the "API" section, then set the token in your environment:
export KANBOX_API_TOKEN=your_api_keyClaude Code configuration
Add to ~/.claude/settings.json:
{
"mcpServers": {
"kanbox": {
"command": "npx",
"args": ["-y", "github:flacoste/kanbox-mcp"],
"env": {
"KANBOX_API_TOKEN": "${KANBOX_API_TOKEN}"
}
}
}
}No local clone required — npx fetches the repo, installs dependencies, and builds automatically.
Local install
If you prefer a local copy:
git clone https://github.com/flacoste/kanbox-mcp.git
cd kanbox-mcp
npm install # also builds via prepare scriptThen point the config at the local build:
{
"command": "node",
"args": ["/path/to/kanbox-mcp/dist/index.js"],
"env": {
"KANBOX_API_TOKEN": "${KANBOX_API_TOKEN}"
}
}Tools
kanbox_read
Read-only queries against Kanbox data.
search_members
Search inbox, connections, or unread messages.
Param | Type | Required | Description |
| string | no | Fuzzy name search (a single distinctive term works best) |
|
| no | Filter by member type |
| string | no | Filter by pipeline name |
| string | no | Filter by pipeline step title |
| string[] | no | Public profile slugs for exact lookup |
| string | no | ISO 8601 timestamp filter |
| number | no | Max results (1-100) |
| number | no | Results to skip |
| boolean | no | Include position history ( |
search_leads
Search scraped leads by list name or query.
Param | Type | Required | Description |
| string | no | List name filter |
| string | no | Search query |
| number | no | Max results (1-100) |
| number | no | Results to skip |
get_messages
Get conversation messages.
Param | Type | Required | Description |
| number | yes | Conversation ID from |
| string | no | Pagination cursor from previous response |
list_lists
List available Kanbox lead lists.
Param | Type | Required | Description |
| number | no | Max results (1-100) |
| number | no | Results to skip |
kanbox_write
Write operations. Most writes are async (HTTP 202 Accepted); refresh_lead returns synchronously (HTTP 200).
update_member
Update member fields.
Param | Type | Required | Description |
| number | yes | Member ID from |
| string | no | Email address |
| string | no | Phone number |
| string[] | no | Full replacement — pass ALL desired labels |
| string | no | Pipeline name |
| string | no | Pipeline step |
| string | no | Custom note |
| string | no | Icebreaker note |
send_message
Send a LinkedIn message.
Param | Type | Required | Description |
| string | yes | Internal LinkedIn ID ( |
| string | yes | Message text (max 8000 chars) |
send_connection
Send a connection request.
Param | Type | Required | Description |
| string | yes | Internal LinkedIn ID ( |
| string | no | Request message (max 300 chars) |
add_lead
Add a structured lead to a list (partial enrichment only).
Param | Type | Required | Description |
| string | yes | Kanbox list name |
| string | yes | Public profile slug |
| string | yes | First name |
| string | yes | Last name |
| string | no | Email address |
| string | no | Phone number |
| string | no | Company name |
| string | no | Location |
| string | no | Job title |
| string | no | Icebreaker note |
| string[] | no | Labels |
| string | no | Pipeline name |
| string | no | Pipeline step |
add_lead_url
Add a lead by LinkedIn URL for full enrichment (takes minutes).
Param | Type | Required | Description |
| string | yes | Full LinkedIn profile URL |
| string | yes | Kanbox list name |
refresh_lead
Re-scrape a single contact and return the refreshed, normalized member record. Synchronous (HTTP 200), unlike the async writes above. Accepts a public slug or a full profile URL — not the Kanbox lead_id. The record always includes the full position history (past_positions, years_of_experience, position dates) — unlike search_members, which gates that behind include_history to keep list responses compact; a single refreshed record carries no such cost. This also resolves a scraped lead into a messageable member: refreshing a pure lead creates its member record, returns the internal linkedin_id, and makes it appear in search_members.
Param | Type | Required | Description |
| string | yes | LinkedIn public slug (e.g. |
Key conventions
linkedin_idvs public slug —search_membersreturns alinkedin_idfield (internal ID starting withACoAAA...). Use this ID forsend_messageandsend_connection, not the public profile slug.Labels are full replacement —
update_memberlabels replace the entire label set. Read existing labels first, then pass the complete desired list.Async writes — Most write operations return HTTP 202 and may take a few seconds to appear on subsequent reads.
refresh_leadis the exception: it returns HTTP 200 synchronously with the refreshed record.Leads vs members —
search_leadsdoes not returnlinkedin_id, and a pure lead is not visible tosearch_members. Resolve it withrefresh_lead(slug or URL), which creates the member record and returns the internallinkedin_idneeded for messaging.
Development
npm run build # tsc -> dist/
npm run dev # tsx src/index.ts
npm test # vitest run
npm run test:watch # vitest (watch mode)License
Available Tools
2 toolskanbox_readARead-onlyIdempotent
Read LinkedIn contact data from Kanbox CRM.
IMPORTANT: All results include a linkedin_id field (internal ID starting with "ACoAAA…"). Use this ID — not the public slug — when calling send_message or send_connection.
Actions:
search_members: Search inbox/connections. Params: q (fuzzy name search — a single distinctive term like a last name works best, avoids false matches from common first names), type (inbox|unread_inbox|connections), pipeline_name, step_title, linkedin_public_ids (array of public profile slugs for exact lookup, e.g. ["janedoe"]), updated_since, limit, offset, include_history (opt-in; default false; adds position history — past_positions, years_of_experience, and position-date fields — at a token cost, so request only when reconstructing a contact's job changes).
search_leads: Search scraped leads by list name or query. Params: name (list name), q (search), limit, offset. Note: leads endpoint does NOT return linkedin_id; use search_members to get the internal ID needed for messaging/connections.
get_messages: Get conversation messages. Params: conversation_id (integer, from search_members conversations[].id), cursor (optional, for pagination).
list_lists: List available Kanbox lists. Params: limit, offset.
Inputs: action (required), params.
kanbox_writeADestructive
Write LinkedIn contact data to Kanbox CRM. Most writes are async (202 Accepted); refresh_lead returns synchronously (200).
Actions:
update_member: Update member fields. Params: id (integer), email, phone, labels (string array — FULL REPLACEMENT, read existing first), pipeline, step, custom, icebreaker. Pass pipeline/step as "" or null to un-stage (clear) the assignment; omit them to leave the current assignment unchanged.
send_message: Send LinkedIn message. Params: recipient_linkedin_id (internal ID starting with "ACoAAA…", from search_members linkedin_id field — NOT the public slug), message.
send_connection: Send connection request. Params: recipient_linkedin_id (internal ID starting with "ACoAAA…", from search_members linkedin_id field — NOT the public slug), message (optional, max 300 chars).
add_lead: Add structured lead to a pre-existing list. Params: list (name), linkedin_public_id, firstname, lastname, plus optional email/phone/company/location/job/icebreaker/labels/pipeline/step. Partial enrichment only.
add_lead_url: Add lead by LinkedIn URL for full enrichment (takes minutes). Params: linkedin_profile_url, list (name). Poll list_lists for is_processing status.
refresh_lead: Re-scrape a single contact and return the refreshed member-shaped record (synchronous 200, not async), always including the full position history (past_positions, years_of_experience, position dates). Params: identifier (a LinkedIn public slug like "janedoe" OR a full profile URL — not the lead_id). Also resolves a scraped lead into a messageable member: it creates the member record, returns the internal linkedin_id (for send_message/send_connection), and makes the contact appear in search_members. Consumes scrape quota; may return 429 if rate limited.
Inputs: action (required), params.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools are cleanly split by read vs. write, and their sub-actions are mostly distinct. Minor ambiguity remains because refresh_lead is a read/scrape-style operation placed under kanbox_write, and search_members vs. search_leads both search but target different resources.
Top-level tools use a consistent kanbox_read / kanbox_write pattern, and all sub-actions follow predictable snake_case verb_noun naming such as search_members, get_messages, send_connection, and add_lead_url. No mixed conventions are present.
Only two top-level tools exist, which is slightly below the typical 3–15 range, but the read/write split is deliberate and each tool bundles a coherent set of actions. The grouping is reasonable, though an action-parameterized design with just two tools may be less discoverable than finer-grained tools.
The surface covers searching members and leads, reading messages and lists, updating members, sending messages/connections, adding leads, and refreshing enrichment. Core LinkedIn CRM workflows are supported, but delete/archive/remove operations and explicit list or pipeline management are missing.
Maintenance
Related MCP Connectors
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
MCP server for LeadDelta — manage LinkedIn connections and CRM data via AI assistants.
The LinkedIn API for AI agents. Search, inbox, posts and outreach over MCP.
Sales MCP server for AI agents: find, enrich, score and reach leads on LinkedIn, track replies.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server for AI-native LinkedIn prospecting. It enables lead research, audience building, conversation management, and controlled outreach actions such as messaging and publishing through an OAuth-protected remote endpoint.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to read and write CRM data—companies, contacts, opportunities, tasks, and interactions—through MCP, with OAuth and provenance tracking for every value.MIT
- FlicenseNot gradedqualityBmaintenanceEnables remote MCP access to CRM data, allowing read-only search of contacts, opportunities, and conversations with user-scoped permissions and RLS preservation.-
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to list customer accounts, retrieve event timelines, get next-action recommendations, and push tasks to a CRM.MIT