boostu-teamleader-mcp
๐ BoostU Teamleader MCP
The open-source Teamleader Focus MCP server. Manage your CRM from Claude and other AI assistants, in plain language. ๐ค
๐ก What is this?
boostu-teamleader-mcp is a Model Context Protocol server that exposes the Teamleader Focus API to AI assistants โ including Claude Desktop, Claude Code, Cursor, and Windsurf. It provides over 100 tools spanning the full Teamleader Focus surface: CRM (contacts, companies, deals), sales documents (quotations, invoices, credit notes), product catalog, subscriptions, projects, time tracking, customer-service tickets, and more. Point your AI at it and manage your entire CRM through natural language.
Prefer not to self-host?
Use the managed, always-on edition at teamleader-mcp.boostu.be โ no OAuth setup, magic-link login, and a one-click connector for Claude. Free during the preview, paid plans after.
This repository is the open-source MCP server itself: run it locally with your own Teamleader integration. The hosted edition adds multi-tenant authentication, a dashboard, usage insights, and managed token handling on top of the same server.
Self-host (this repo) | Managed (boostu.be) | |
Price | Free, MIT-licensed | Free preview, then paid |
Setup | Create your own Teamleader integration, run via | Copy one connector URL into Claude |
Tokens | You manage | Encrypted and rotated for you |
Best for | Developers and self-hosters | Non-technical teams |
Related MCP server: HubSpot CRM MCP Server
๐ How it works
flowchart LR
U["๐ง You"] -->|"plain language"| C["๐ค Claude / AI assistant"]
C <-->|"MCP ยท stdio"| S["๐ boostu-teamleader-mcp"]
S <-->|"OAuth2 REST"| T["๐ Teamleader Focus API"]You ask Claude in plain language. Claude calls this MCP server, which authenticates to Teamleader Focus over OAuth2 and runs the matching API call. Your data stays in Teamleader; this server only brokers the calls.
Use the outline button at the top-right of this file to jump to any section.
โจ Highlights
๐ฅ Full CRM: create and update contacts, companies, and deals across all pipelines
๐งพ Quotations and invoicing: create quotations on deals, book invoices into accounting, send by email, and register payments
๐ฆ Product catalog: browse products, categories, price lists, and units of measure
๐ Subscriptions: create, update, and deactivate recurring subscriptions
๐ Projects and time tracking: manage projects, milestones, log time entries, and start/stop live timers
๐ซ Customer-service tickets: open tickets, post replies, and update statuses
๐ Reference-data lookups: resolve deal phases, pipelines, tax rates, payment terms, lost reasons, and more
๐ OAuth2 with automatic refresh-token rotation: tokens are refreshed transparently; rotated tokens are persisted to a configurable file
๐งฉ Selectable tool groups: load only the groups you need via
TEAMLEADER_TOOLSto keep your assistant's context lean
๐ Quick Start
Run without installing
npx boostu-teamleader-mcpGlobal install
npm i -g boostu-teamleader-mcp
boostu-teamleader-mcpClaude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"teamleader": {
"command": "npx",
"args": ["-y", "boostu-teamleader-mcp"],
"env": {
"TEAMLEADER_CLIENT_ID": "your-client-id",
"TEAMLEADER_CLIENT_SECRET": "your-client-secret",
"TEAMLEADER_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}Claude Code
Add to your project's .mcp.json or ~/.claude/mcp.json:
{
"mcpServers": {
"teamleader": {
"command": "npx",
"args": ["-y", "boostu-teamleader-mcp"],
"env": {
"TEAMLEADER_CLIENT_ID": "your-client-id",
"TEAMLEADER_CLIENT_SECRET": "your-client-secret",
"TEAMLEADER_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}Cursor
Add to .cursor/mcp.json in your project root (or the global ~/.cursor/mcp.json):
{
"mcpServers": {
"teamleader": {
"command": "npx",
"args": ["-y", "boostu-teamleader-mcp"],
"env": {
"TEAMLEADER_CLIENT_ID": "your-client-id",
"TEAMLEADER_CLIENT_SECRET": "your-client-secret",
"TEAMLEADER_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"teamleader": {
"command": "npx",
"args": ["-y", "boostu-teamleader-mcp"],
"env": {
"TEAMLEADER_CLIENT_ID": "your-client-id",
"TEAMLEADER_CLIENT_SECRET": "your-client-secret",
"TEAMLEADER_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}๐ Authentication
You need three env vars: TEAMLEADER_CLIENT_ID, TEAMLEADER_CLIENT_SECRET, and TEAMLEADER_REFRESH_TOKEN. Obtain them by registering an integration in the Teamleader Marketplace / Developer portal and completing the OAuth2 authorization flow.
Teamleader rotates the refresh token on every API call. Set TEAMLEADER_TOKEN_STORE to a writable file path so the server can persist the latest token between restarts โ without it the token in your config will go stale after the first restart.
For the full step-by-step walkthrough (authorize URL, code exchange, helper scripts) see docs/AUTHENTICATION.md.
โ๏ธ Configuration
Environment variables
Name | Required | Description |
| Yes | OAuth2 client ID from your Teamleader integration |
| Yes | OAuth2 client secret from your Teamleader integration |
| Yes | Initial refresh token obtained from the OAuth2 authorization flow |
| No | Path to a writable file where the server persists the rotated refresh token (e.g. |
| No | Comma-separated list of tool group keys to enable. When unset, all 21 groups are loaded. |
Selective tool groups
Use TEAMLEADER_TOOLS to limit which tool groups are registered. This is useful when you want to keep the assistant's tool list small or restrict access to certain areas of Teamleader.
TEAMLEADER_TOOLS=deals,quotations,productsFull list of group keys:
Key | What it covers |
| Contacts CRUD |
| Companies CRUD |
| Deals / opportunities |
| Tasks |
| Calendar events |
| Invoices (create, book, send, pay, download) |
| Quotations (create, update, send, accept) |
| Product catalog and price lists |
| Deal phases, tax rates, payment terms, etc. |
| Users, teams, departments |
| Custom field definitions |
| Credit notes |
| Recurring subscriptions |
| Projects and milestones |
| Time log entries and live timers |
| Calls and meetings |
| Support tickets |
| Add/remove tags on contacts and companies |
| Notes on any subject |
| File list, download, upload |
| Webhook registration |
๐งฐ Available Tools
Contacts
Tool | Description |
| List contacts from Teamleader Focus with optional filtering and pagination |
| Get detailed information about a specific contact |
| Create a new contact in Teamleader Focus |
| Update an existing contact in Teamleader Focus |
Companies
Tool | Description |
| List companies from Teamleader Focus with optional filtering and pagination |
| Get detailed information about a specific company |
| Create a new company in Teamleader Focus |
Deals
Tool | Description |
| List deals/opportunities from Teamleader Focus with optional filtering and pagination |
| Get detailed information about a specific deal |
| Create a new deal/opportunity in Teamleader Focus |
| Update an existing deal in Teamleader Focus |
Tasks
Tool | Description |
| List tasks from Teamleader Focus with optional filtering and pagination |
| Create a new task in Teamleader Focus |
Events
Tool | Description |
| List calendar events from Teamleader Focus with optional filtering and pagination |
| Get detailed information about a specific event |
| Create a new calendar event in Teamleader Focus |
Invoices
Tool | Description |
| List invoices from Teamleader Focus with optional filtering and pagination |
| Get detailed information about a specific invoice |
| Create a new draft invoice in Teamleader Focus |
| Book a draft invoice into accounting and assign it a number |
| Send an invoice by email to the specified recipients |
| Register a payment against an invoice |
| Get a temporary download URL for an invoice in the specified format |
Quotations
Tool | Description |
| List quotations, optionally filtered by deal id |
| Get a single quotation by id |
| Create a quotation on a deal, providing one or more line items |
| Update a quotation's line items |
| Accept a quotation (marks it accepted โ hard to undo) |
| Send a quotation by email to the customer |
Products
Tool | Description |
| List products, optionally filtered by search term |
| Get a single product by id |
| List product categories |
| List price lists |
| List units of measure |
Reference Data
Tool | Description |
| List deal phases |
| List deal pipelines |
| List deal sources |
| List lost reasons for deals |
| List tax rates |
| List payment terms |
| List withholding tax rates |
Organisation
Tool | Description |
| List users, optionally filtered by search term |
| Get a single user by id |
| Get the currently authenticated user |
| List teams |
| List departments |
Custom Fields
Tool | Description |
| List custom field definitions |
| Get a single custom field definition by id |
Credit Notes
Tool | Description |
| List credit notes, optionally filtered by invoice or department |
| Get a single credit note by id |
Subscriptions
Tool | Description |
| List subscriptions, optionally filtered by customer |
| Get a single subscription by id |
| Create a new subscription (starts recurring invoicing for the customer) |
| Update a subscription's title |
| Deactivate a subscription (stops future invoicing) |
Projects
Tool | Description |
| List projects, optionally filtered by search term or customer |
| Get a single project by id |
| Create a new project for a customer |
| List milestones, optionally filtered by project |
| Create a milestone on a project |
Time Tracking
Tool | Description |
| List time tracking entries, optionally filtered by user |
| Add a time tracking entry |
| Update a time tracking entry's duration or description |
| Start a running timer |
| Stop a running timer and create a time tracking entry |
Activities (Calls & Meetings)
Tool | Description |
| List calls, optionally filtered by customer |
| Create a call activity |
| Mark a call as completed |
| List meetings |
| Schedule a meeting |
| Mark a meeting as completed |
Tickets
Tool | Description |
| List support tickets, optionally filtered by customer or status |
| Get a single support ticket by id |
| Create a new support ticket for a customer |
| Update a ticket's subject or status |
| Add a reply/message to a ticket thread |
| List all available ticket statuses |
Tags
Tool | Description |
| Add one or more tags to a contact |
| Remove one or more tags from a contact |
| Add one or more tags to a company |
| Remove one or more tags from a company |
Notes
Tool | Description |
| List notes linked to a subject (contact, company, deal, etc.) |
| Create a note linked to a subject |
Files
Tool | Description |
| List files linked to a subject (contact, company, deal, etc.) |
| Get a temporary download URL for a file by its ID |
| Initiate a two-step file upload and return the upload URL |
Webhooks
Tool | Description |
| List registered webhooks |
| Register a webhook URL for the given event types |
| Unregister a webhook URL for the given event types |
๐ฌ Example Prompts
Create a quotation for deal <id> with two line items: 5 hours of consulting at โฌ150/h and a one-time setup fee of โฌ500.Book the draft invoice <id> into accounting and then send it to the customer.Register a โฌ1 200 payment against invoice <id> received today via bank transfer.Log 2.5 hours on project <id> for user <user_id> with the note "API integration work".Start a timer for me right now โ I'm working on the BoostU onboarding project.Open a support ticket for company <id>: subject "Login not working", priority high.What deal phase IDs do we have in pipeline <id>? I need to move deal <id> to the "Proposal sent" phase.List all products in the "Hosting" category and their prices.Create a monthly subscription for company <id>: product <product_id>, quantity 1, starting next month.Show me all open deals with their current phases and tell me which ones haven't moved in the last 30 days.๐ณ Docker
docker run --rm \
-e TEAMLEADER_CLIENT_ID=your-client-id \
-e TEAMLEADER_CLIENT_SECRET=your-client-secret \
-e TEAMLEADER_REFRESH_TOKEN=your-refresh-token \
-e TEAMLEADER_TOKEN_STORE=/data/teamleader-token \
-v /var/run/teamleader:/data \
ghcr.io/boostuagency/boostu-teamleader-mcp๐ ๏ธ Development
# Clone and install
git clone https://github.com/boostuagency/boostu-teamleader-mcp.git
cd boostu-teamleader-mcp
npm install
# Run in development mode (no build step required)
npm run dev
# Build
npm run build
# Run tests
npm test
# Type-check only
npm run typecheck๐๏ธ Architecture
The core of the server is createServer in src/server.ts, which is transport-agnostic โ it takes a TeamleaderClient and registers the enabled tool groups, returning a plain McpServer instance that the entry point (src/index.ts) wires to a StdioServerTransport. Tool logic lives in per-domain modules under src/tools/, each following a consistent try / respond / catch / respondError pattern using shared helpers in src/lib/. OAuth2 token acquisition and rotation are handled entirely in src/api/auth.ts, transparent to the rest of the codebase. A hosted, multi-tenant edition of this server is available at teamleader-mcp.boostu.be.
โ Endpoint Verification
Most read endpoints (*.list, *.info) have been live-verified against the Teamleader Focus API. Several write and action endpoints (e.g. subscriptions.create, projects.create, files.upload) are implemented from the official documentation but have not been tested against a live account with the relevant module active. If an endpoint name is wrong, the call will fail with a clear HTTP error message rather than silently misbehaving. The full endpoint manifest and verification status are documented in docs/teamleader-endpoints.md.
๐ค Contributing
See CONTRIBUTING.md for development setup, commit conventions, and instructions on adding new tool groups.
๐ Security
Report security vulnerabilities to nick@boostu.be โ do not open a public issue. See SECURITY.md for the disclosure policy. Never commit .env files or .teamleader-token to version control; both are listed in .gitignore.
โ๏ธ Disclaimer
This is an independent, community-built integration. It is not affiliated with, endorsed by, or sponsored by Teamleader NV. "Teamleader" and "Teamleader Focus" are trademarks of Teamleader NV and are used here only to describe compatibility. You are responsible for your own use of the Teamleader API under Teamleader's terms.
๐ License
MIT License โ Copyright (c) 2026 BoostU Agency. See NOTICE for upstream attribution.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/boostuagency/boostu-teamleader-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server