basecamp-mcp 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- basecamp_mcp-0.1.0/.claude/settings.local.json +32 -0
- basecamp_mcp-0.1.0/.gitignore +8 -0
- basecamp_mcp-0.1.0/CLAUDE.md +53 -0
- basecamp_mcp-0.1.0/LICENSE +21 -0
- basecamp_mcp-0.1.0/PKG-INFO +148 -0
- basecamp_mcp-0.1.0/README.md +128 -0
- basecamp_mcp-0.1.0/pyproject.toml +31 -0
- basecamp_mcp-0.1.0/src/basecamp_mcp/__init__.py +4 -0
- basecamp_mcp-0.1.0/src/basecamp_mcp/auth.py +353 -0
- basecamp_mcp-0.1.0/src/basecamp_mcp/client.py +356 -0
- basecamp_mcp-0.1.0/src/basecamp_mcp/config.py +77 -0
- basecamp_mcp-0.1.0/src/basecamp_mcp/server.py +552 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(python3 -c \"from basecamp_mcp.server import mcp; print\\('Server OK'\\)\" && python3 -c \"from basecamp_mcp.auth import run_auth_flow, run_connect_docs; print\\('Auth OK'\\)\" && python3 -c \"from basecamp_mcp.config import update_doc_search; print\\('Config OK'\\)\")",
|
|
5
|
+
"Bash(python3 -c \"from basecamp_mcp.server import mcp; print\\('Server OK'\\)\" && python3 -c \"from basecamp_mcp.auth import run_auth_flow, run_connect_docs; print\\('Auth OK'\\)\" && python3 -c \"from basecamp_mcp.config import update_doc_search, update_tokens; print\\('Config OK'\\)\" && python3 -c \"from basecamp_mcp.client import BasecampClient, DocSearchClient; print\\('Client OK'\\)\")",
|
|
6
|
+
"Bash(python3 -c \"import sys,json; c=json.load\\(sys.stdin\\); print\\(json.dumps\\({k:v[:20]+''''...'''' if isinstance\\(v,str\\) and len\\(v\\)>20 else v for k,v in c.items\\(\\)}, indent=2\\)\\)\")",
|
|
7
|
+
"Bash(doctl apps:*)",
|
|
8
|
+
"Bash(cp ~/.config/basecamp-mcp/config.json ~/.config/basecamp-mcp/config.json.bak && rm ~/.config/basecamp-mcp/config.json && echo \"Config backed up and removed\")",
|
|
9
|
+
"Bash(git remote:*)",
|
|
10
|
+
"Bash(curl -s https://fga-automation-bot-e7u3t.ondigitalocean.app/api/documents/stats | python3 -m json.tool)",
|
|
11
|
+
"Bash(curl -s \"https://fga-automation-bot-e7u3t.ondigitalocean.app/api/documents/search?q=test&limit=3\" | python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); [print\\(f'{r[\\\\\"filename\\\\\"]} — ingested {r[\\\\\"ingested_at\\\\\"]}'\\) for r in d.get\\('results',[]\\)]\")",
|
|
12
|
+
"Bash(curl -s \"https://fga-automation-bot-e7u3t.ondigitalocean.app/api/documents/search?q=work+requirements&limit=3\" | python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); [print\\(f'{r[\\\\\"filename\\\\\"]} — ingested {r[\\\\\"ingested_at\\\\\"]} — source: {r[\\\\\"source_type\\\\\"]}'\\) for r in d.get\\('results',[]\\)]\")",
|
|
13
|
+
"Bash(cd ~/Documents/code/FGA/fga-bot && python3 -c \"from app.projects.sync import sync_projects; print\\('sync OK'\\)\" && python3 -c \"from app.main import app; print\\('main OK'\\)\")",
|
|
14
|
+
"mcp__basecamp__read_todo",
|
|
15
|
+
"mcp__basecamp__search_project",
|
|
16
|
+
"mcp__basecamp__list_todolists",
|
|
17
|
+
"mcp__basecamp__list_todos",
|
|
18
|
+
"Bash(python3 -c \"\nimport json\nconfig = json.load\\(open\\('$HOME/.config/basecamp-mcp/config.json.bak'\\)\\)\n\nfrom basecamp_mcp.client import BasecampClient\nclient = BasecampClient\\(config\\)\n\nproject = client.get_project\\(391521\\)\nfor tool in project.get\\('dock', []\\):\n if 'todo' in tool.get\\('name',''\\).lower\\(\\):\n print\\(f'{tool[\\\\\"name\\\\\"]}: id={tool[\\\\\"id\\\\\"]}, enabled={tool.get\\(\\\\\"enabled\\\\\"\\)}'\\)\n\")",
|
|
19
|
+
"Bash(git add:*)",
|
|
20
|
+
"Bash(git push:*)",
|
|
21
|
+
"Bash(python3 -c \"from basecamp_mcp.server import mcp; print\\('OK'\\)\")",
|
|
22
|
+
"Bash(python3 -c \"from basecamp_mcp.config import CONFIG_DIR, CONFIG_FILE; print\\(f'DIR: {CONFIG_DIR}'\\); print\\(f'FILE: {CONFIG_FILE}'\\)\")",
|
|
23
|
+
"WebSearch",
|
|
24
|
+
"Bash(pip3 install:*)",
|
|
25
|
+
"Bash(hatch build:*)"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"enableAllProjectMcpServers": true,
|
|
29
|
+
"enabledMcpjsonServers": [
|
|
30
|
+
"basecamp"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# basecamp-mcp
|
|
2
|
+
|
|
3
|
+
Open-source MCP server for Basecamp. Lets Claude (Desktop & Code) read Basecamp projects, messages, todos, and documents using any user's own OAuth credentials.
|
|
4
|
+
|
|
5
|
+
## Project Structure
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
src/basecamp_mcp/
|
|
9
|
+
├── __init__.py # Version
|
|
10
|
+
├── server.py # MCP server + tool definitions (entry point)
|
|
11
|
+
├── client.py # Basecamp API client (httpx, token refresh)
|
|
12
|
+
├── auth.py # OAuth flow (browser + local callback server)
|
|
13
|
+
└── config.py # Config file read/write (~/.config/basecamp-mcp/)
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Key Patterns
|
|
17
|
+
|
|
18
|
+
- **Config:** `~/.config/basecamp-mcp/config.json` — stores OAuth tokens, account ID, user info. Permissions set to 0o600.
|
|
19
|
+
- **Token refresh:** On 401, auto-refresh via `POST https://launchpad.37signals.com/authorization/token` with `type=refresh`. New tokens persisted to config file.
|
|
20
|
+
- **Dock parsing:** Projects have a `dock` array with tools (message_board, todoset, vault). Tools auto-discover IDs when user omits them.
|
|
21
|
+
- **Pagination:** Basecamp returns 50 items per page. `_paginate()` follows pages up to `max_pages`.
|
|
22
|
+
|
|
23
|
+
## Entry Points
|
|
24
|
+
|
|
25
|
+
- `basecamp-mcp` — runs MCP server (stdio transport)
|
|
26
|
+
- `basecamp-mcp auth` — interactive OAuth setup (optionally prompts for doc search at the end)
|
|
27
|
+
- `basecamp-mcp connect-docs` — connect a document search API (standalone, for existing installs)
|
|
28
|
+
|
|
29
|
+
## Tools
|
|
30
|
+
|
|
31
|
+
**Basecamp API (always available):**
|
|
32
|
+
list_projects, get_project, list_messages, read_message, list_todolists, list_todos, read_todo, list_people, list_documents, read_document, browse_vault, search_project, search_all_projects
|
|
33
|
+
|
|
34
|
+
**Document Search (optional — requires `doc_search_url` in config):**
|
|
35
|
+
search_document_content, document_stats
|
|
36
|
+
|
|
37
|
+
Document search tools call an external API (e.g. socialbot) that indexes .docx content into PostgreSQL full-text search. The tools always register but return a helpful error if unconfigured.
|
|
38
|
+
|
|
39
|
+
## Development
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pip install -e .
|
|
43
|
+
basecamp-mcp auth # one-time setup
|
|
44
|
+
basecamp-mcp # run server
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Basecamp API Notes
|
|
48
|
+
|
|
49
|
+
- Base URL: `https://3.basecampapi.com/{account_id}`
|
|
50
|
+
- Auth: Bearer token
|
|
51
|
+
- User-Agent header required
|
|
52
|
+
- Rate limit: 50 req / 10 seconds
|
|
53
|
+
- Access tokens expire every 2 weeks, refresh tokens last 10 years
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Foundation for Government Accountability
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: basecamp-mcp
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Basecamp MCP server for Claude — read and search Basecamp with your own API access
|
|
5
|
+
Project-URL: Homepage, https://github.com/jacobfiler/basecamp-mcp
|
|
6
|
+
Project-URL: Issues, https://github.com/jacobfiler/basecamp-mcp/issues
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Keywords: ai,basecamp,claude,mcp
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Requires-Python: >=3.11
|
|
17
|
+
Requires-Dist: httpx>=0.27.0
|
|
18
|
+
Requires-Dist: mcp[cli]>=1.0.0
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# basecamp-mcp
|
|
22
|
+
|
|
23
|
+
An MCP (Model Context Protocol) server that gives Claude read access to your Basecamp account. Works with Claude Desktop, Claude Code, and any MCP-compatible client.
|
|
24
|
+
|
|
25
|
+
**V1 is read-only** — search, browse, and read your Basecamp projects, messages, todos, documents, and files. No write operations.
|
|
26
|
+
|
|
27
|
+
## Setup
|
|
28
|
+
|
|
29
|
+
### 1. Register a Basecamp OAuth App
|
|
30
|
+
|
|
31
|
+
You need to register an integration with Basecamp so the MCP server can access your account. This only takes a minute.
|
|
32
|
+
|
|
33
|
+
1. Go to [launchpad.37signals.com/integrations](https://launchpad.37signals.com/integrations) and log in with your Basecamp account
|
|
34
|
+
2. Click **"Register another application"**
|
|
35
|
+
3. Fill in the form:
|
|
36
|
+
- **Name of your application:** `Basecamp MCP` (or whatever you like)
|
|
37
|
+
- **Company/organization:** Your company name
|
|
38
|
+
- **Website URL:** `https://github.com/jacobfiler/basecamp-mcp` (or your own URL)
|
|
39
|
+
- **Redirect URI:** `http://localhost:8000/callback` — **this must be exact**
|
|
40
|
+
4. Click **"Register this app"**
|
|
41
|
+
5. You'll see your **Client ID** and **Client Secret** — keep this page open, you'll need them next
|
|
42
|
+
|
|
43
|
+
### 2. Install
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pip3 install basecamp-mcp
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Or install from source:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
pip3 install git+https://github.com/jacobfiler/basecamp-mcp.git
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### 3. Authorize
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
basecamp-mcp auth
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
This will:
|
|
62
|
+
1. Ask for the Client ID and Client Secret from step 1
|
|
63
|
+
2. Open your browser to authorize with Basecamp — click **"Yes, I'll allow access"**
|
|
64
|
+
3. Save your tokens locally to `~/.config/basecamp-mcp/config.json`
|
|
65
|
+
4. Automatically configure Claude Desktop (if installed)
|
|
66
|
+
|
|
67
|
+
That's it! Restart Claude Desktop and your Basecamp tools are ready.
|
|
68
|
+
|
|
69
|
+
### Manual Claude Desktop Setup (if auto-config didn't work)
|
|
70
|
+
|
|
71
|
+
Open Claude Desktop's config file:
|
|
72
|
+
- **Mac:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
73
|
+
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
74
|
+
|
|
75
|
+
Add the basecamp server (merge with any existing `mcpServers`):
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"mcpServers": {
|
|
80
|
+
"basecamp": {
|
|
81
|
+
"command": "basecamp-mcp",
|
|
82
|
+
"args": []
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### 4. Use It
|
|
89
|
+
|
|
90
|
+
Ask Claude things like:
|
|
91
|
+
- "List my Basecamp projects"
|
|
92
|
+
- "Find the style guide in our Basecamp"
|
|
93
|
+
- "Show me the messages in the Marketing project"
|
|
94
|
+
- "Search all projects for the onboarding checklist"
|
|
95
|
+
- "What todos are assigned in the Q2 Planning project?"
|
|
96
|
+
- "Read the latest message in HQ"
|
|
97
|
+
- "Browse the docs and files in the Marketing project"
|
|
98
|
+
|
|
99
|
+
## Available Tools
|
|
100
|
+
|
|
101
|
+
| Tool | Description |
|
|
102
|
+
|------|-------------|
|
|
103
|
+
| `list_projects` | List all projects you can access |
|
|
104
|
+
| `get_project` | Get project details by ID or name (fuzzy match) |
|
|
105
|
+
| `search_project` | Search a project's messages, docs, files, and todos by keyword |
|
|
106
|
+
| `search_all_projects` | Search across ALL projects by keyword |
|
|
107
|
+
| `browse_vault` | Browse a project's Docs & Files (folders, documents, uploads) |
|
|
108
|
+
| `list_messages` | List messages on a project's message board |
|
|
109
|
+
| `read_message` | Read a message + all its comments |
|
|
110
|
+
| `list_todolists` | List todolists in a project |
|
|
111
|
+
| `list_todos` | List todos in a todolist (pending or completed) |
|
|
112
|
+
| `read_todo` | Read a todo + its comments |
|
|
113
|
+
| `list_people` | List all people in the account |
|
|
114
|
+
| `list_documents` | List docs in a vault folder |
|
|
115
|
+
| `read_document` | Read a document's content |
|
|
116
|
+
|
|
117
|
+
## How It Works
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
~/.config/basecamp-mcp/config.json (your credentials)
|
|
121
|
+
|
|
|
122
|
+
basecamp-mcp (MCP stdio server)
|
|
123
|
+
|
|
|
124
|
+
Basecamp API (https://3.basecampapi.com)
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
- Each user runs their own instance with their own OAuth tokens
|
|
128
|
+
- No shared server — credentials never leave your machine
|
|
129
|
+
- Tokens auto-refresh when they expire (access tokens last 2 weeks, refresh tokens last 10 years)
|
|
130
|
+
- Search works by crawling vault folders (3 levels deep) and keyword-matching titles
|
|
131
|
+
|
|
132
|
+
## Development
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
git clone https://github.com/jacobfiler/basecamp-mcp.git
|
|
136
|
+
cd basecamp-mcp
|
|
137
|
+
pip install -e .
|
|
138
|
+
|
|
139
|
+
# Run auth flow
|
|
140
|
+
basecamp-mcp auth
|
|
141
|
+
|
|
142
|
+
# Run server directly
|
|
143
|
+
basecamp-mcp
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## License
|
|
147
|
+
|
|
148
|
+
MIT
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# basecamp-mcp
|
|
2
|
+
|
|
3
|
+
An MCP (Model Context Protocol) server that gives Claude read access to your Basecamp account. Works with Claude Desktop, Claude Code, and any MCP-compatible client.
|
|
4
|
+
|
|
5
|
+
**V1 is read-only** — search, browse, and read your Basecamp projects, messages, todos, documents, and files. No write operations.
|
|
6
|
+
|
|
7
|
+
## Setup
|
|
8
|
+
|
|
9
|
+
### 1. Register a Basecamp OAuth App
|
|
10
|
+
|
|
11
|
+
You need to register an integration with Basecamp so the MCP server can access your account. This only takes a minute.
|
|
12
|
+
|
|
13
|
+
1. Go to [launchpad.37signals.com/integrations](https://launchpad.37signals.com/integrations) and log in with your Basecamp account
|
|
14
|
+
2. Click **"Register another application"**
|
|
15
|
+
3. Fill in the form:
|
|
16
|
+
- **Name of your application:** `Basecamp MCP` (or whatever you like)
|
|
17
|
+
- **Company/organization:** Your company name
|
|
18
|
+
- **Website URL:** `https://github.com/jacobfiler/basecamp-mcp` (or your own URL)
|
|
19
|
+
- **Redirect URI:** `http://localhost:8000/callback` — **this must be exact**
|
|
20
|
+
4. Click **"Register this app"**
|
|
21
|
+
5. You'll see your **Client ID** and **Client Secret** — keep this page open, you'll need them next
|
|
22
|
+
|
|
23
|
+
### 2. Install
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip3 install basecamp-mcp
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Or install from source:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
pip3 install git+https://github.com/jacobfiler/basecamp-mcp.git
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 3. Authorize
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
basecamp-mcp auth
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
This will:
|
|
42
|
+
1. Ask for the Client ID and Client Secret from step 1
|
|
43
|
+
2. Open your browser to authorize with Basecamp — click **"Yes, I'll allow access"**
|
|
44
|
+
3. Save your tokens locally to `~/.config/basecamp-mcp/config.json`
|
|
45
|
+
4. Automatically configure Claude Desktop (if installed)
|
|
46
|
+
|
|
47
|
+
That's it! Restart Claude Desktop and your Basecamp tools are ready.
|
|
48
|
+
|
|
49
|
+
### Manual Claude Desktop Setup (if auto-config didn't work)
|
|
50
|
+
|
|
51
|
+
Open Claude Desktop's config file:
|
|
52
|
+
- **Mac:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
53
|
+
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
54
|
+
|
|
55
|
+
Add the basecamp server (merge with any existing `mcpServers`):
|
|
56
|
+
|
|
57
|
+
```json
|
|
58
|
+
{
|
|
59
|
+
"mcpServers": {
|
|
60
|
+
"basecamp": {
|
|
61
|
+
"command": "basecamp-mcp",
|
|
62
|
+
"args": []
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### 4. Use It
|
|
69
|
+
|
|
70
|
+
Ask Claude things like:
|
|
71
|
+
- "List my Basecamp projects"
|
|
72
|
+
- "Find the style guide in our Basecamp"
|
|
73
|
+
- "Show me the messages in the Marketing project"
|
|
74
|
+
- "Search all projects for the onboarding checklist"
|
|
75
|
+
- "What todos are assigned in the Q2 Planning project?"
|
|
76
|
+
- "Read the latest message in HQ"
|
|
77
|
+
- "Browse the docs and files in the Marketing project"
|
|
78
|
+
|
|
79
|
+
## Available Tools
|
|
80
|
+
|
|
81
|
+
| Tool | Description |
|
|
82
|
+
|------|-------------|
|
|
83
|
+
| `list_projects` | List all projects you can access |
|
|
84
|
+
| `get_project` | Get project details by ID or name (fuzzy match) |
|
|
85
|
+
| `search_project` | Search a project's messages, docs, files, and todos by keyword |
|
|
86
|
+
| `search_all_projects` | Search across ALL projects by keyword |
|
|
87
|
+
| `browse_vault` | Browse a project's Docs & Files (folders, documents, uploads) |
|
|
88
|
+
| `list_messages` | List messages on a project's message board |
|
|
89
|
+
| `read_message` | Read a message + all its comments |
|
|
90
|
+
| `list_todolists` | List todolists in a project |
|
|
91
|
+
| `list_todos` | List todos in a todolist (pending or completed) |
|
|
92
|
+
| `read_todo` | Read a todo + its comments |
|
|
93
|
+
| `list_people` | List all people in the account |
|
|
94
|
+
| `list_documents` | List docs in a vault folder |
|
|
95
|
+
| `read_document` | Read a document's content |
|
|
96
|
+
|
|
97
|
+
## How It Works
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
~/.config/basecamp-mcp/config.json (your credentials)
|
|
101
|
+
|
|
|
102
|
+
basecamp-mcp (MCP stdio server)
|
|
103
|
+
|
|
|
104
|
+
Basecamp API (https://3.basecampapi.com)
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
- Each user runs their own instance with their own OAuth tokens
|
|
108
|
+
- No shared server — credentials never leave your machine
|
|
109
|
+
- Tokens auto-refresh when they expire (access tokens last 2 weeks, refresh tokens last 10 years)
|
|
110
|
+
- Search works by crawling vault folders (3 levels deep) and keyword-matching titles
|
|
111
|
+
|
|
112
|
+
## Development
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
git clone https://github.com/jacobfiler/basecamp-mcp.git
|
|
116
|
+
cd basecamp-mcp
|
|
117
|
+
pip install -e .
|
|
118
|
+
|
|
119
|
+
# Run auth flow
|
|
120
|
+
basecamp-mcp auth
|
|
121
|
+
|
|
122
|
+
# Run server directly
|
|
123
|
+
basecamp-mcp
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## License
|
|
127
|
+
|
|
128
|
+
MIT
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "basecamp-mcp"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Basecamp MCP server for Claude — read and search Basecamp with your own API access"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.11"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
keywords = ["basecamp", "mcp", "claude", "ai"]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Development Status :: 3 - Alpha",
|
|
11
|
+
"License :: OSI Approved :: MIT License",
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Programming Language :: Python :: 3.11",
|
|
14
|
+
"Programming Language :: Python :: 3.12",
|
|
15
|
+
"Programming Language :: Python :: 3.13",
|
|
16
|
+
]
|
|
17
|
+
dependencies = [
|
|
18
|
+
"mcp[cli]>=1.0.0",
|
|
19
|
+
"httpx>=0.27.0",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[project.scripts]
|
|
23
|
+
basecamp-mcp = "basecamp_mcp.server:main"
|
|
24
|
+
|
|
25
|
+
[project.urls]
|
|
26
|
+
Homepage = "https://github.com/jacobfiler/basecamp-mcp"
|
|
27
|
+
Issues = "https://github.com/jacobfiler/basecamp-mcp/issues"
|
|
28
|
+
|
|
29
|
+
[build-system]
|
|
30
|
+
requires = ["hatchling"]
|
|
31
|
+
build-backend = "hatchling.build"
|