Basecamp 2 MCP
Connects AI assistants to the Basecamp 2 API, enabling management of projects, todos, messages, and people directly through natural language.
README
Basecamp 2 MCP
A Model Context Protocol (MCP) server that connects Claude and other AI assistants to the Basecamp 2 API. Manage projects, todos, messages, and people directly from your AI assistant.
Prerequisites
- Node.js 18 or later
- A Basecamp 2 account
- OAuth 2 credentials or your username and password
OAuth Setup (recommended)
-
Register your app at launchpad.37signals.com/integrations to obtain a
client_idandclient_secret. -
Run the auth helper — it opens a browser, handles the redirect, exchanges the code for tokens, and prints your
BASECAMP_ACCOUNT_IDautomatically:BASECAMP_CLIENT_ID=your_client_id \ BASECAMP_CLIENT_SECRET=your_client_secret \ npx basecamp-2-mcp-authCopy the printed env vars into your
.envor MCP server config. -
The MCP server will automatically refresh the access token when it expires (~2 weeks) as long as
BASECAMP_REFRESH_TOKEN,BASECAMP_CLIENT_ID, andBASECAMP_CLIENT_SECRETare set.By default
npx basecamp-2-mcp-authlistens on port3000. SetOAUTH_PORTto change it (your registered redirect URI must match).
Environment Variables
| Variable | Required | Description |
|---|---|---|
BASECAMP_ACCOUNT_ID |
Yes | Your account ID — printed by the auth helper, or found in the URL: basecamp.com/{account_id}/ |
BASECAMP_ACCESS_TOKEN |
Yes* | OAuth 2 access token |
BASECAMP_REFRESH_TOKEN |
No | Enables automatic token refresh when the access token expires |
BASECAMP_CLIENT_ID |
No† | Required for automatic token refresh |
BASECAMP_CLIENT_SECRET |
No† | Required for automatic token refresh |
BASECAMP_USERNAME |
Yes* | Your Basecamp email (Basic Auth alternative) |
BASECAMP_PASSWORD |
Yes* | Your Basecamp password (Basic Auth alternative) |
USER_AGENT |
Yes | Identifies your integration, e.g. MyApp (you@example.com) |
* Either BASECAMP_ACCESS_TOKEN or both BASECAMP_USERNAME + BASECAMP_PASSWORD are required.
† Required together with BASECAMP_REFRESH_TOKEN to enable automatic token refresh.
Setup with Claude Desktop
Add the following to your claude_desktop_config.json (usually at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"basecamp-2": {
"command": "npx",
"args": ["-y", "basecamp-2-mcp"],
"env": {
"BASECAMP_ACCOUNT_ID": "your_account_id",
"BASECAMP_ACCESS_TOKEN": "your_access_token",
"BASECAMP_REFRESH_TOKEN": "your_refresh_token",
"BASECAMP_CLIENT_ID": "your_client_id",
"BASECAMP_CLIENT_SECRET": "your_client_secret",
"USER_AGENT": "MyApp (you@example.com)"
}
}
}
}
Then restart Claude Desktop.
Setup with Claude Code
claude mcp add basecamp-2 -- npx -y basecamp-2-mcp
Then set the required environment variables in your shell or .env file.
Running Locally
# 1. Clone the repo and install dependencies
npm install
# 2. Copy and fill in environment variables
cp .env.example .env
# 3. Build
npm run build
# 4. Start the MCP server
npm start
For development with live reload:
npm run dev
To test interactively with the MCP Inspector:
npx @modelcontextprotocol/inspector npx tsx src/index.ts
Available Tools
Projects
| Tool | Description |
|---|---|
list_projects |
List all active projects |
get_project |
Get a project by ID |
People
| Tool | Description |
|---|---|
get_me |
Get the currently authenticated user |
list_people |
List all people in the account |
get_person |
Get a person by ID |
Todo Lists
| Tool | Description |
|---|---|
list_todolists |
List all todo lists in a project |
get_todolist |
Get a todo list with its todos |
create_todolist |
Create a new todo list in a project |
Todos
| Tool | Description |
|---|---|
list_todos |
List all todos in a todo list |
get_todo |
Get a single todo item |
create_todo |
Create a new todo (supports due date + assignee) |
update_todo |
Update a todo's content, due date, or assignee |
complete_todo |
Mark a todo as completed |
delete_todo |
Delete a todo item |
Messages & Topics
| Tool | Description |
|---|---|
list_topics |
List all topics (messages, forwards, etc.) in a project |
get_message |
Get a full message by ID (use the topicable.id from list_topics) |
create_message |
Post a new message to a project |
Authentication
Basecamp 2 uses OAuth 2 via Launchpad. The authorization flow is:
- User visits
https://launchpad.37signals.com/authorization/new?type=web_server&client_id=…&redirect_uri=… - After approving, Basecamp redirects to your
redirect_uriwith a short-livedcode - Your app POSTs the code to
https://launchpad.37signals.com/authorization/tokento receive an access token and a refresh token - Access tokens are sent as
Authorization: Bearer <token>. Refresh tokens last ~2 weeks.
The npx basecamp-2-mcp-auth helper handles steps 1–3 automatically. The MCP server handles step 4 including silent refresh.
Every API request must also include a User-Agent header identifying your app and a contact email — this is a Basecamp API requirement. See Identifying your application.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.