9 Commits

Author SHA1 Message Date
Mammad M.
67d68af1da Add pagination support to get_comments
- Add page parameter to get_comments (default: 1)
- Parse X-Total-Count header for total comments count
- Parse Link header for next_page indicator
- Update FastMCP tool and CLI server to return pagination metadata

Response now includes total_count and next_page fields to help
clients navigate through paginated comments.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 00:33:00 +01:00
George Antonopoulos
6265026f57 Auth manager added that automatically refreshes expired tokens 2026-01-08 21:14:19 +00:00
George Antonopoulos
e91e0031b9 Add create_comment tool to Basecamp integration
Updated mcp_server_cli.py to include the new tool in the CLI and modified README.md to document the new functionality. Adjusted test_cli_server.py to include the create_comment tool in the expected tools list.
2025-09-11 20:50:06 +01:00
George Antonopoulos
632a5769b0 Cleanup: remove stray ellipsis in update_todo exception handler 2025-08-27 13:14:02 +01:00
Dominik Fretz
6eb134731b Update basecamp_fastmcp.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-27 09:59:40 +10:00
Dominik Fretz
1266ecb921 Add todo item management functionality
- Add create, update, delete, complete, and uncomplete methods to basecamp_client.py
- Add tool definitions and execution logic to mcp_server_cli.py
- Add async todo management functions to basecamp_fastmcp.py
- Support all optional fields: description, assignees, due dates, notifications
- Use lambda wrapper for proper keyword argument handling in FastMCP

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 14:42:55 +10:00
George Antonopoulos
0032498949 Add upload management features to Basecamp integration
- Implement methods to list uploads and retrieve specific upload details in basecamp_client.py.
- Add corresponding asynchronous functions for uploads in basecamp_fastmcp.py.
- Enhance search functionality to include uploads in search_utils.py, allowing users to search by filename or content.
2025-07-30 10:22:42 +01:00
George Antonopoulos
1c46017162 Complete FastMCP migration - ALL 46 tools migrated with 100% feature parity 2025-07-27 19:39:08 +01:00
George Antonopoulos
d7e39019c8 🚀 MAJOR: Migrate to official FastMCP framework
- Create new basecamp_fastmcp.py using official Anthropic MCP SDK
- Migrate 19 essential tools following official MCP best practices
- Maintain identical tool names and API compatibility with original server
- Add FastMCP dependencies (mcp[cli]>=1.2.0, httpx, anyio)
- Use async/await with anyio.to_thread for sync→async bridge
- Follow official logging practices (stderr + file, not stdout)
- Full compatibility with Cursor and Claude Desktop

Core tools migrated:
 Projects: get_projects, get_project, get_todolists, get_todos
 Search: search_basecamp, global_search
 Communication: get_comments, get_campfire_lines
 Card Tables: get_card_tables, get_card_table, get_columns, get_cards
 Card Management: create_card, get_card, update_card, move_card, complete_card
 Column Management: get_column, create_column

Next: Update config generation for dual-run support
2025-07-27 19:30:59 +01:00