basecamp-mcp-server

basecamp-mcp-server

MCP server for Basecamp 5 that gives AI assistants access to projects, to-dos, messages, campfire chat, documents, and card tables.

Category
访问服务器

README

basecamp-mcp-server

An MCP server for Basecamp 5 — gives your AI assistant access to projects, to-dos, messages, campfire chat, documents, and card tables.

Works with Claude Code, Claude Desktop, Cursor, OpenAI Codex, and VS Code.

You: What's on my plate in Basecamp this week?

→ basecamp_my_assignments
→ Two things are assigned to you, both in Fieldwork Study:
    • Send Robin the drafted survey instrument — due today, 2 subtasks
    • Review the pilot analysis — due Friday

Requirements

  • Python 3.11+
  • A Basecamp 5 account
  • Credentials, via either:
    • the Basecamp CLI — recommended, because it keeps a self-refreshing OAuth token in your OS keyring and this server never touches your disk; or
    • a BASECAMP_ACCESS_TOKEN environment variable (expires after 14 days, with no refresh)

Quick start

# 1. Authenticate, if you have not already
basecamp auth login

# 2. Check that everything resolves — this makes a real API call
uvx basecamp-mcp-server doctor

# 3. Add it to your client (Claude Code shown; others below)
claude mcp add basecamp -- uvx basecamp-mcp-server serve

doctor prints the resolved credential source, your Basecamp accounts, and a paste-ready config block for every supported client. Start there if anything below does not work.

Client configuration

The formats genuinely differ between clients — the key name, the file, and whether it is JSON or TOML. Copy the one you need.

Claude Code

claude mcp add basecamp -- uvx basecamp-mcp-server serve

Verify with claude mcp list; it should report ✔ Connected.

Claude Desktop

claude_desktop_config.json — macOS ~/Library/Application Support/Claude/, Windows %APPDATA%\Claude\:

{
  "mcpServers": {
    "basecamp": {
      "command": "uvx",
      "args": ["basecamp-mcp-server", "serve"]
    }
  }
}

Cursor

.cursor/mcp.json in the project, or ~/.cursor/mcp.json globally. Same mcpServers shape as Claude Desktop.

VS Code

.vscode/mcp.json. Note the key is servers, not mcpServers, and type is required:

{
  "servers": {
    "basecamp": {
      "type": "stdio",
      "command": "uvx",
      "args": ["basecamp-mcp-server", "serve"]
    }
  }
}

OpenAI Codex

~/.codex/config.toml — TOML, and the table is mcp_servers with an underscore:

[mcp_servers.basecamp]
command = "uvx"
args = ["basecamp-mcp-server", "serve"]

Permissions

The server has three modes. Tools you have not enabled are not registered at all, so the model never sees them and never proposes an action you have forbidden.

Mode Flag Tools What it can do
Read-only --read-only 19 Look at everything; change nothing
Default (none) 28 Create and edit; remove nothing
Full --allow-destructive 29 Also trash and archive, and only with confirm: true
# See exactly what a given configuration exposes
uvx basecamp-mcp-server tools list --read-only

Read-only is worth considering if you mainly want your assistant to answer questions about Basecamp. You can always restart with writes enabled.

What it can do

Find things — list_projects · get_project · search · my_assignments · list_people

To-dos — list_todolists · list_todos · get_todo · create_todo · update_todo · complete_todo

Messages and chat — list_messages · get_message · create_message · list_comments · create_comment · list_campfire_lines · create_campfire_line

Docs and cards — list_documents · get_document · get_card_table · list_cards · create_card · move_card

Anything else — basecamp_request reaches any Basecamp endpoint these tools do not cover (GET only), and basecamp_write_request covers POST and PUT.

Start with basecamp_get_project: it returns a tools map giving the ids every other tool in that project needs, so your assistant does not have to guess them.

Configuration

Everything is optional; the defaults are chosen to be safe rather than fast.

Variable Default Notes
BASECAMP_ACCESS_TOKEN — Only needed without the Basecamp CLI
BASECAMP_ACCOUNT_ID auto Required only if you belong to several Basecamp accounts
BASECAMP_MCP_READ_ONLY false Same as --read-only
BASECAMP_MCP_ALLOW_DESTRUCTIVE false Same as --allow-destructive
BASECAMP_MCP_USER_AGENT this project Must contain a contact URL or email, or Basecamp rejects every request with a 400
BASECAMP_MCP_MAX_PAGES 25 Upper bound on auto-pagination per call. Capped at 200
BASECAMP_MCP_MAX_RESULT_CHARS 25000 Size ceiling for one tool result
BASECAMP_MCP_LOG_LEVEL INFO Logs go to stderr, never stdout

Notes

Responses are projected, not passed through. Basecamp payloads are built for a rich web client: one to-do is ~5 KB of JSON and a single message can be 37 KB. Unprojected, a hundred to-dos would be around 530 KB — enough to end a conversation. Every response is reduced to the fields that let a model answer and chain to the next call, which is a 12–60× cut depending on type, with every id preserved.

Content from Basecamp is untrusted input. To-do titles, message bodies and comments are written by other people. The server tells your assistant to treat them as data to report on rather than instructions to follow, but that is a mitigation, not a guarantee — bear it in mind before enabling writes on an account with people you do not know.

Edits preserve fields you did not mention. update_todo reads the record, overlays your changes and writes it back, so setting a due date does not erase the assignees. The cost is that it is two requests rather than one, and a concurrent edit in between is overwritten.

Development

uv sync
uv run ruff check . && uv run ruff format --check . && uv run mypy && uv run pytest

See AGENTS.md for architecture, layer rules, and a list of verified upstream behaviours that look like bugs until you read the source.

License

MIT — see LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选