MCP Teamleader Focus
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., "@MCP Teamleader Focus Log 2.5 hours of work on the website redesign project."
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.
MCP Teamleader Focus β Growing Pai internal code
A Model Context Protocol (MCP) server for Teamleader Focus CRM, maintained for internal use at Growing Pai. Gives AI assistants (Claude, etc.) the ability to manage contacts, companies, deals, tasks, events, invoices, and timesheets directly in Teamleader.
Growing Pai team members: everyone can use this MCP to manage contacts, companies, tasks, events, projects, notes, lookups, and β importantly β log their own timesheets/effort via the Time Tracking tools.
Features
π Contacts β Full CRUD, tag/untag, link/unlink to companies
π’ Companies β Full CRUD, tag/untag
π° Deals β List, get, create, update (relink customer, edit description), move phase, win/lose, delete
π Projects β Full next-gen projects module: list, get, create, update (incl. start/end dates), close/reopen, duplicate, delete, manage owners/assignees/customers/deals/quotations
β Tasks β Full CRUD, complete/reopen, schedule to calendar
π Events β List, get, create, update, cancel calendar events
β±οΈ Time Tracking β List, get, add, update, delete timesheet entries β open to everyone, this is how you log your hours/effort
π§Ύ Invoices β List, get, create, update (draft), book, delete
π Quotations β List, get, create, update, accept, send, download, delete
ποΈ Notes β List, create, update notes on any entity
π Lookups β Users, teams, departments, work types, activity types, tax rates, products, product categories, deal phases/pipelines/sources, lost reasons, custom fields
π OAuth2 β Automatic token refresh with rotation support
Related MCP server: teamleader-mcp
Prerequisites
You need a Teamleader Focus account with API access:
Go to the Teamleader Marketplace or Developer Portal
Register an integration to get your Client ID and Client Secret
Complete the OAuth2 flow to obtain a Refresh Token β the included helper script makes this easy:
TEAMLEADER_CLIENT_ID=... TEAMLEADER_CLIENT_SECRET=... node scripts/get-refresh-token.mjsIn case this does not work (Teamleader might block this), you can use the default in Postman.
Quick Start
From the ZIP download
Unzip the folder anywhere on your machine β dependencies are bundled, no
npm installneeded.Point your MCP client at
dist/index.jsdirectly (see the Claude Desktop / Cursor examples below, usingnodeas the command and the full path todist/index.jsas the argument).
Build your own Claude Desktop bundle (.mcpb)
The extension manifest lives in mcpb/manifest.json. To package your own growing-pai-teamleader.mcpb from source:
npm ci
npm run build
node scripts/build-mcpb.mjsThe script stages the bundle in build/mcpb/ (manifest, compiled dist/, production dependencies only) and packs it with the official @anthropic-ai/mcpb CLI. No credentials are baked in β each installer enters their own in Claude Desktop.
Configuration
Environment Variables
Variable | Required | Description |
| β | Your OAuth2 Client ID |
| β | Your OAuth2 Client Secret |
| β | Your OAuth2 Refresh Token |
| β | Optional password that unlocks the Deals, Invoices, and Quotations tools. This is a convenience gate, not a real security boundary β see SECURITY.md. Leave it unset to run without those tools. |
| β | Ledger account number used as the default "Rekening" on invoice lines (default: |
| β | Pin the default "Rekening" to a specific product category ID instead of looking it up by ledger number. |
Invoice lines and the "Rekening"
Every invoice line in Teamleader is booked on a bookkeeping account β the "Rekening" column in the UI, which is a product category behind the scenes. teamleader_create_invoice and teamleader_update_invoice always fill it in: lines default to the category with ledger account 700000 (Omzet), and a line can override it with its own product_category_id (see teamleader_list_product_categories). If no category with that ledger account exists, the call fails instead of creating lines without a rekening.
Quotation lines have no equivalent β the Teamleader API does not accept product_category_id on quotations.create / quotations.update. The account is assigned when the quotation becomes an invoice.
Admin Access
The Deals, Invoices, and Quotations tools are gated behind an optional ADMIN password. To unlock them, add ADMIN=xxx to your environment (alongside the three OAuth variables above), using whatever value your team has set as the shared secret. Leave it unset to run the server without those tools.
This gate is checked in application code, which runs on your own machine and can be edited β so it's a convenience switch to avoid exposing these tools by accident, not a real access-control boundary. Anyone with the unpacked dist/index.js could patch the check out, or call the Teamleader API directly with their own OAuth token. The actual security boundary is what the Teamleader token behind TEAMLEADER_REFRESH_TOKEN is permitted to do β see SECURITY.md.
Claude Desktop
Add to your claude_desktop_config.json, use node with the full path to dist/index.js from the unzipped folder:
{
"mcpServers": {
"teamleader": {
"command": "node",
"args": ["/full/path/to/mcp-teamleader/dist/index.js"],
"env": {
"TEAMLEADER_CLIENT_ID": "YOUR_CLIENT_ID",
"TEAMLEADER_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"TEAMLEADER_REFRESH_TOKEN": "YOUR_REFRESH_TOKEN",
"ADMIN": "xxx"
}
}
}
}Available Tools
Contacts
Tool | Description |
| List contacts with filtering (term, tags, updated_since) and pagination |
| Get detailed info for a specific contact |
| Create a new contact (name, email, phone, tags...) |
| Update an existing contact |
| Delete a contact |
| Add/remove tags without overwriting |
| Link a contact to a company (position, decision maker) |
| Update an existing contactβcompany link |
| Unlink a contact from a company |
Companies
Tool | Description |
| List companies with filtering (term, tags, VAT number) and pagination |
| Get detailed info for a specific company |
| Create a new company |
| Update an existing company |
| Delete a company |
| Add/remove tags without overwriting |
Deals
Tool | Description |
| List deals with filtering (term, phase, responsible user) and pagination |
| Get detailed info for a specific deal |
| Create a new deal with customer, phase, and estimated value |
| Update a deal: title, description (summary), relink customer (lead), value, closing date, probability, responsible user, source, department |
| Move a deal to a different phase in its pipeline |
| Mark a deal as won |
| Mark a deal as lost (optional reason and extra info) |
| Delete a deal |
Projects
Next-gen projects module (Teamleader /projects-v2 endpoints). Requires the projects OAuth scope.
Tool | Description |
| List projects with filtering (term, status, customer, deal, quotation) and pagination |
| Get detailed info for a specific project |
| Create a project (only title required); set start/end dates, budgets, billing method, owners, customer, assignee, links |
| Update a project incl. adding/changing start & end dates, title, description, budgets |
| Close or reopen a project |
| Duplicate a project into a new one |
| Delete a project (requires a delete strategy) |
| Assign/unassign a user or team |
| Add/remove a project owner |
| Add/remove a customer |
| Link/unlink a deal |
| Link/unlink a quotation |
Tasks
Tool | Description |
| List tasks with filtering and pagination |
| Get detailed info for a specific task |
| Create a task (title, due date, work type, assignee, customer, deal/project) |
| Update a task |
| Complete or reopen a task |
| Delete a task |
| Schedule a task into the calendar (creates an event) |
Events
Tool | Description |
| List calendar events with date range filtering |
| Get detailed info for a specific event |
| Create a new calendar event (attendees, links, work type) |
| Update a calendar event |
| Cancel a calendar event for all attendees |
Invoices
Tool | Description |
| List invoices with filtering (status, date range, department) |
| Get detailed info for a specific invoice |
| Create a new draft invoice with line items |
| Update a draft invoice: change invoice date, note, customer, payment term, PO number, project, or line items |
| Delete an invoice (drafts or the last booked invoice) |
| Book (finalize) a draft invoice on a given date |
Quotations
Tool | Description |
| List quotations with filtering and pagination |
| Get detailed info for a specific quotation |
| Create a quotation on a deal with line items |
| Update a quotation (currency, text, expiry, line items) |
| Mark a quotation as accepted |
| Send quotations by email (CloudSign link via |
| Get a temporary PDF download URL |
| Delete a quotation |
Time Tracking
This is how you log timesheets/effort in Teamleader.
Teamleader logs time against a subject β one of company, contact,
event, milestone, nextgenTask, ticket, or todo. Note there's no
direct project or deal subject type: to log time "on a project," log it
against a task/todo/milestone that belongs to that project.
Tool | Description |
| List logged time entries, filterable by user, subject, or date range |
| Get detailed info for a specific time-tracking entry |
| Log time (e.g. "1 hour of effort") against a subject β accepts |
| Update an existing entry (duration, description, work type, subject, start time, invoiceable) |
| Delete a time-tracking entry |
Notes
Tool | Description |
| List notes on a subject (contact, company, deal, project, invoice, quotation...) |
| Add a note to a subject (optionally notify users) |
| Update a note's content |
Lookups & Configuration
Read-only helpers that surface the IDs required by the create/update tools.
Tool | Description |
| Current authenticated user (your user ID, account, timezone) |
| Users and teams (for responsible/assignee/owner IDs) |
| Departments / company entities |
| Work types (for tasks, events, time tracking) |
| Activity types (task/meeting/call) for events |
| Tax rates (for invoice/quotation line items) |
| Products (for line items) |
| Product categories |
| Deal phases (for creating/moving deals) |
| Deal pipelines (incl. default) |
| Deal sources |
| Lost reasons (for losing deals) |
| Custom field definitions and options per context |
Not Yet Covered
The following Teamleader API areas are not (yet) exposed as tools. Ask to add any you need: credit notes, subscriptions, payment terms/methods, commercial & withholding tax discounts, price lists, units of measure, live timers (timers.* β start/stop/current, as opposed to the timeTracking.* tools which are covered), files, tickets, meetings & calls, mail templates, business types, legacy projects & milestones, and next-gen project groups/tasks/materials/lines (only the project entity itself is covered so far).
Example Prompts
Once configured, you can ask your AI assistant things like:
"List all my contacts tagged with 'VIP'"
"Create a new company called Acme Corp with email info@acme.example.com"
"Show me all open deals worth more than β¬10,000"
"Create a task to follow up with contact John Doe by next Friday"
"Log 1 hour of effort on task X for today"
"How many hours did I log this week?"
"List all unpaid invoices from this month"
"Create a draft invoice for company X with 2 line items"
API Reference
This MCP server wraps the Teamleader Focus API. Key details:
Base URL:
https://api.focus.teamleader.euAuthentication: OAuth2 with automatic token refresh
All endpoints use POST with JSON body
Pagination: Uses
page.numberandpage.sizeparameters
License
Made with β€οΈ by Growing Pai
Available Tools
71 toolsteamleader_add_project_customerB
Add a customer (contact or company) to a project.
Inputs: id (required), customer_id (required), customer_type (required).
teamleader_add_project_dealC
Link a deal to a project.
Inputs: id (required), deal_id (required).
teamleader_add_project_ownerC
Add a user as an owner of a project.
Inputs: id (required), user_id (required).
teamleader_add_project_quotationC
Link a quotation to a project.
Inputs: id (required), quotation_id (required).
teamleader_add_time_trackingA
Log time worked (e.g. '1 hour of effort') against a subject such as a task/todo, ticket, milestone, event, company, or contact. Provide either duration_minutes or duration_seconds together with started_at. Note: Teamleader splits an entry that spans midnight into multiple entries automatically.
Inputs: started_at (required), subject_id (required), subject_type (required), user_id, +5 more.
teamleader_assign_projectB
Assign a user or team to a project.
Inputs: id (required), assignee_id (required), assignee_type (required).
teamleader_cancel_eventADestructive
Cancel a calendar event for all attendees.
Inputs: id (required).
teamleader_close_projectB
Mark a project as closed.
Inputs: id (required), closing_strategy.
teamleader_complete_taskB
Mark a task as complete.
Inputs: id (required).
teamleader_create_companyC
Create a new company in Teamleader Focus
Inputs: name (required), tags, email, phone, +3 more.
teamleader_create_contactC
Create a new contact in Teamleader Focus
Inputs: last_name (required), first_name (required), tags, email, +4 more.
teamleader_create_eventB
Create a new calendar event in Teamleader Focus
Inputs: title (required), ends_at (required), starts_at (required), activity_type_id (required), +5 more.
teamleader_create_noteB
Add a note to a subject (contact, company, deal, project, invoice, quotation, etc.). Optionally notify users.
Inputs: content (required), subject_id (required), subject_type (required), notify_user_ids.
teamleader_create_projectA
Create a new project in Teamleader Focus (next-gen projects module). Only 'title' is required; everything else is optional. Set start_date/end_date to schedule the project. The creating user is automatically added as an owner.
Inputs: title (required), color, deal_ids, end_date, +19 more.
teamleader_create_taskC
Create a new task in Teamleader Focus
Inputs: title (required), due_on (required), deal_id, project_id, +6 more.
teamleader_delete_companyADestructive
Delete a company from Teamleader Focus. This is irreversible.
Inputs: id (required).
teamleader_delete_contactADestructive
Delete a contact from Teamleader Focus. This is irreversible.
Inputs: id (required).
teamleader_delete_projectADestructive
Delete a project. Requires a delete strategy to decide what happens to linked tasks and time trackings. This is irreversible.
Inputs: id (required), delete_strategy (required).
teamleader_delete_taskADestructive
Delete a task. This is irreversible.
Inputs: id (required).
teamleader_delete_time_trackingADestructive
Delete a time-tracking entry. This is irreversible.
Inputs: id (required).
teamleader_duplicate_projectA
Duplicate an existing project into a new project with the given title.
Inputs: id (required), title (required).
teamleader_get_companyB
Get detailed information about a specific company
Inputs: id (required).
teamleader_get_contactB
Get detailed information about a specific contact
Inputs: id (required).
teamleader_get_current_userA
Get the currently authenticated Teamleader user (useful to find your own user ID, account, language and timezone).
Inputs: no named parameters.
teamleader_get_eventA
Get detailed information about a specific event
Inputs: id (required).
teamleader_get_productA
Get details for a single product, including selling price, tax rate and category.
Inputs: id (required).
teamleader_get_projectB
Get detailed information about a specific project.
Inputs: id (required).
teamleader_get_taskA
Get detailed information about a specific task.
Inputs: id (required).
teamleader_get_time_trackingA
Get detailed information about a specific time-tracking entry.
Inputs: id (required).
teamleader_link_contact_to_companyB
Link a contact to a company, optionally with a position and decision-maker flag.
Inputs: id (required), company_id (required), position, decision_maker.
teamleader_list_activity_typesA
List activity types (task, meeting, call). Use to find activity_type_id when creating events.
Inputs: page, page_size.
teamleader_list_companiesA
List companies from Teamleader Focus with optional filtering and pagination
Inputs: page, tags, term, page_size, +2 more.
teamleader_list_contactsB
List contacts from Teamleader Focus with optional filtering and pagination
Inputs: page, tags, term, page_size, +1 more.
teamleader_list_custom_field_definitionsA
List custom field definitions. Use to discover custom field IDs and their configuration (options for select fields) per context (contact, company, deal, project, invoice, etc.).
Inputs: page, context, page_size.
teamleader_list_deal_phasesA
List deal phases (stages), sorted by their order in the flow. Use to find phase_id for creating deals or moving them. Optionally filter by pipeline.
Inputs: page, page_size, deal_pipeline_id.
teamleader_list_deal_pipelinesA
List deal pipelines. The response meta includes the default pipeline ID. Use to find pipeline/phase IDs.
Inputs: page, page_size.
teamleader_list_deal_sourcesA
List deal sources. Use to find source_id when creating/updating deals.
Inputs: page, page_size.
teamleader_list_departmentsA
List departments (company entities). Use to find department_id for invoices, quotations, projects, tax rates.
Inputs: page, page_size.
teamleader_list_eventsC
List calendar events from Teamleader Focus with optional filtering and pagination
Inputs: page, page_size, ends_after, ends_before, +2 more.
teamleader_list_lost_reasonsA
List lost reasons for deals. Use to find reason_id when marking a deal as lost.
Inputs: page, page_size.
teamleader_list_notesB
List notes attached to a specific subject (e.g. a contact, company, deal or project).
Inputs: subject_id (required), subject_type (required), page, page_size.
teamleader_list_product_categoriesB
List product categories. Use to find product_category_id. Optionally filter by department.
Inputs: page, page_size, department_id.
teamleader_list_productsA
List products. Use to find product_id for invoice/quotation line items.
Inputs: page, term, page_size.
teamleader_list_projectsB
List projects from the Teamleader Focus (next-gen) projects module, with optional filtering and pagination.
Inputs: page, term, status, deal_id, +4 more.
teamleader_list_tasksB
List tasks from Teamleader Focus with optional filtering and pagination
Inputs: page, term, page_size, customer_id, +1 more.
teamleader_list_tax_ratesA
List available tax rates. Use to find tax_rate_id for invoice and quotation line items. Optionally filter by department.
Inputs: page, page_size, department_id.
teamleader_list_teamsB
List teams in the Teamleader account (with members and team lead).
Inputs: page, term, page_size.
teamleader_list_time_trackingC
List logged time-tracking entries, optionally filtered by user, subject, or date range.
Inputs: ids, page, user_id, page_size, +6 more.
teamleader_list_usersA
List users (co-workers) in the Teamleader account. Use to find user IDs for responsible_user_id / assignee / owner fields.
Inputs: page, term, page_size.
teamleader_list_work_typesA
List work types. Use to find work_type_id for tasks, events and time tracking.
Inputs: page, term, page_size.
teamleader_remove_project_customerB
Remove a customer (contact or company) from a project.
Inputs: id (required), customer_id (required), customer_type (required).
teamleader_remove_project_dealA
Unlink a deal from a project.
Inputs: id (required), deal_id (required).
teamleader_remove_project_ownerB
Remove a user as an owner of a project.
Inputs: id (required), user_id (required).
teamleader_remove_project_quotationB
Unlink a quotation from a project.
Inputs: id (required), quotation_id (required).
teamleader_reopen_projectB
Reopen a previously closed project.
Inputs: id (required).
teamleader_reopen_taskA
Reopen a task that had been marked as complete.
Inputs: id (required).
teamleader_schedule_taskA
Schedule a task in the calendar by giving it a start and end time. Returns the created calendar event.
Inputs: id (required), ends_at (required), starts_at (required).
teamleader_tag_companyA
Add one or more tags to a company (creates the tag if it doesn't exist). Does not overwrite existing tags.
Inputs: id (required), tags (required).
teamleader_tag_contactA
Add one or more tags to a contact (creates the tag if it doesn't exist). Unlike update, this does not overwrite existing tags.
Inputs: id (required), tags (required).
teamleader_unassign_projectB
Unassign a user or team from a project.
Inputs: id (required), assignee_id (required), assignee_type (required).
teamleader_unlink_contact_from_companyB
Unlink a contact from a company.
Inputs: id (required), company_id (required).
teamleader_untag_companyB
Remove one or more tags from a company.
Inputs: id (required), tags (required).
teamleader_untag_contactB
Remove one or more tags from a contact.
Inputs: id (required), tags (required).
teamleader_update_companyC
Update an existing company in Teamleader Focus.
Inputs: id (required), name, tags, email, +7 more.
teamleader_update_contactC
Update an existing contact in Teamleader Focus
Inputs: id (required), tags, email, phone, +5 more.
teamleader_update_contact_company_linkC
Update the details (position, decision-maker flag) of an existing contactβcompany link.
Inputs: id (required), company_id (required), position, decision_maker.
teamleader_update_eventC
Update a calendar event (title, description, times, location, work type, attendees, links).
Inputs: id (required), links, title, ends_at, +5 more.
teamleader_update_noteB
Update the content of an existing note.
Inputs: id (required), content (required).
teamleader_update_projectA
Update an existing project. All fields except 'id' are optional. Use this to add or change the project's start_date/end_date, title, description, budgets, etc.
Inputs: id (required), color, title, end_date, +14 more.
teamleader_update_taskB
Update an existing task (title, description, due date, work type, assignee, customer, linked deal/project).
Inputs: id (required), title, due_on, deal_id, +7 more.
teamleader_update_time_trackingC
Update an existing time-tracking entry (duration, description, work type, subject, started_at, invoiceable).
Inputs: id (required), started_at, subject_id, description, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 71 tools
Each tool targets a distinct resource and action, with clear descriptions. Even with 71 tools, there is no ambiguityβe.g., list_time_tracking vs get_time_tracking, create_task vs schedule_task, and all reference list tools are uniquely scoped.
All tools follow a consistent 'teamleader_verb_noun' pattern. Verbs like list, get, create, update, delete, tag, untag, link, unlink, complete, reopen, schedule, assign, add, remove are used uniformly, with no mixed conventions.
71 tools is high, but the server covers a comprehensive CRM API (contacts, companies, projects, tasks, events, time tracking, notes, plus many reference-data lists). Each tool serves a distinct purpose, so the count is justified for the broad scope, though it exceeds typical ranges.
The server provides solid CRUD for contacts, companies, projects, tasks, events, and time tracking, plus notes (but no delete). However, deal management (create/update/delete deals) is absent, and invoice/quotation CRUD is missingβonly linking to projects is supported. These are notable gaps for a full Teamleader Focus integration.
Maintenance
Related MCP Connectors
Connects AI assistants to TrackingTime for querying time entries, projects, tasks, customers, and team data using natural language.
Create contacts, move deals, send proposals and invoices, read your inbox, from Claude or ChatGPT.
Operate the Plixana CRM from any AI: contacts, deals, quotes, WhatsApp and metrics.
AI agents for CRM, mail, calendar, ERP and accounting - you approve. EU-hosted, OAuth.
Related MCP Servers
- FlicenseCqualityNot gradedmaintenanceEnables AI assistants to securely access and interact with Simplicate business data including CRM, projects, timesheets, and invoices through natural language. Supports searching across resources and retrieving detailed information about organizations, contacts, and project data.590-
- AlicenseBqualityDmaintenanceEnables natural language control of Teamleader Focus CRM, invoicing, and project management through the Model Context Protocol.4214 npmMIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to Freshsales CRM, enabling natural language queries and CRUD operations on contacts, deals, accounts, and more.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to access and manage CRM data by creating contacts and companies, retrieving activities and conversations, and performing semantic search over previously retrieved information with built-in vector storage and caching.-