Commit Graph

18 Commits

Author SHA1 Message Date
m3tm3re
503e97e520 fix: resolve read-only file system issues for Nix packaging
- Add config_paths.py for XDG-compliant path resolution
- Update all servers to use user-writable locations (logs, tokens, .env)
- Make .env file optional - server works with environment variables only
- Default paths: ~/.local/share for data, ~/.local/state for logs
- Update Nix wrapper with XDG defaults and helpful postInstall message
- Update README.md with environment variable configuration documentation

Fixes OSError when running in Nix store (read-only filesystem)
2026-01-21 20:42:05 +01:00
George Antonopoulos
060f3cca07 updated docs on dependencies 2026-01-14 20:07:17 +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
c3c96712e6 Enhance get_todos method to handle pagination in BasecampClient
Updated the get_todos method to retrieve all todos from a todolist by handling pagination transparently. The method now aggregates todos across multiple pages and updates the README to reflect this change.
2025-08-28 14:00:53 +01:00
George Antonopoulos
ee3f31fcd2 Add generate_claude_desktop_config.py for Claude Desktop integration
- Introduce a new script to generate configuration for Claude Desktop based on Basecamp MCP integration.
- Update README with setup instructions for Claude Desktop users, including configuration generation steps and troubleshooting tips.
- Ensure compatibility with both Cursor and Claude Desktop clients.
2025-07-27 20:18:03 +01:00
George Antonopoulos
aec5c3eebc Enhance README and add setup script for Basecamp MCP Integration
- Update README to reflect migration to FastMCP framework and improved setup instructions
- Introduce a new setup.py script for automated environment setup, including virtual environment creation, dependency installation, and .env file generation
- Ensure compatibility with Python 3.8+ and provide clear troubleshooting steps for common issues
2025-07-27 20:07:25 +01:00
George Antonopoulos
fc3a5b922a Add additional Basecamp API tools 2025-07-20 20:51:47 +01:00
George Antonopoulos
a439865ef4 Refactor card management in Basecamp client and MCP server CLI
- Rename and enhance methods for retrieving card tables and managing cards.
- Introduce new methods for completing and uncompleting cards and card steps.
- Update MCP server CLI to include new card and card step functionalities.
- Revise README to reflect changes in card management tools and usage examples.
2025-06-29 08:22:09 +01:00
George Antonopoulos
4e466c20da Add card table functionality to Basecamp client and MCP server CLI
- Implement methods for managing card tables and columns in BasecampClient.
- Add corresponding tools in MCP server CLI for card table operations.
- Update README with new card table tools and usage examples.
- Create example script demonstrating card table API usage.
- Add unit tests for card table functionality.
2025-06-26 22:34:01 +01:00
George Antonopoulos
0d64f6028c Merge remote-tracking branch 'origin/codex/cleanup-files--newline-and-trailing-spaces' 2025-06-06 10:39:25 +01:00
George Antonopoulos
0884dcd105 chore: remove trailing spaces and ensure newline 2025-06-06 10:23:50 +01:00
George Antonopoulos
00754b21c3 Merge feature/sse-mcp-cursor-compat into main - Added CLI MCP server, tests, and Cursor config generator 2025-06-02 17:26:56 +01:00
George Antonopoulos
9bb32c5697 Update .gitignore to include Composio integration files and modify README for clarity and setup instructions 2025-06-02 17:19:35 +01:00
George Antonopoulos
b3a6efc5d7 refactor: Remove deprecated files and clean up codebase
This commit deletes obsolete files related to the Basecamp MCP integration, including:
- `basecamp_client.py`
- `basecamp_oauth.py`
- `composio_client_example.py`
- `composio_integration.py`
- `mcp_integration.py`
- `setup.sh`
- `start_basecamp_mcp.sh`

Additionally, a new file `mcp_server_cli.py` is introduced to streamline the MCP server functionality. The README has been updated to reflect these changes and provide clearer setup instructions.

This cleanup aims to enhance maintainability and focus on the core components of the integration.
2025-06-02 17:11:39 +01:00
google-labs-jules[bot]
b0deac4d87 feat: Implement SSE endpoint for Cursor compatibility
This commit introduces a Server-Sent Events (SSE) endpoint at `/mcp/stream`
to improve compatibility with Cursor, which appears to expect an SSE stream
for actions like `ListOfferings`.

Changes include:
- Added a new `/mcp/stream` route to `mcp_server.py`.
- This stream sends an initial "connected" event.
- It then attempts to fetch and stream Basecamp projects as "offering" events.
  - Handles authentication errors (e.g., missing tokens) by sending an
    `auth_error` event over SSE.
  - Sends an "offerings_complete" event after successfully streaming projects.
- The stream sends periodic "ping" events to keep the connection alive.
- The `Content-Type` header for `/mcp/stream` is correctly set to
  `text/event-stream`.
- Updated `README.md` to suggest the new `/mcp/stream` URL for Cursor
  configuration and provide context.

Issue #3 (regarding refactoring BasecampClient initialization) was
investigated. The existing `get_basecamp_client()` in `mcp_server.py`,
which includes token refresh logic, was found to be more suitable than
alternatives in `mcp_integration.py` or `composio_integration.py`.
No code changes were made for Issue #3.

Testing with `curl` confirmed the SSE endpoint's functionality,
including correct event flow and error handling.
2025-06-02 11:41:24 +00:00
George Antonopoulos
712344741e Fix token_storage function name and ensure Composio integration is fully functional 2025-03-09 17:29:28 +00:00
George Antonopoulos
e08e48de50 Fix Basecamp Campfire functionality and improve error handling 2025-03-09 17:16:07 +00:00
George Antonopoulos
9c49ce02b1 Initial commit: Basecamp MCP server with OAuth authentication 2025-03-09 16:42:28 +00:00