Commit Graph

19 Commits

Author SHA1 Message Date
James Murdza
0dc6c75177 Bump cua-mcp-server to v0.1.14 2025-10-16 10:33:55 -07:00
James Murdza
a25c2dc13c Merge pull request #463 from trycua/b2v
Add bump2version configuration for all Python packages
2025-10-14 17:13:27 -07:00
Your Name
3d50e3cefb update pyproj 2025-10-10 22:40:36 +00:00
Your Name
424b8762c4 bump versions 2025-10-10 22:36:07 +00:00
Your Name
0af7ea394f add tag prefix 2025-10-10 21:51:18 +00:00
Your Name
2ff4030709 tag 2025-10-10 21:33:45 +00:00
Your Name
46b361b732 Add bump2version configuration for all Python packages
Adds .bumpversion.cfg files to each Python package (agent, computer,
computer-server, core, mcp-server, pylume, som) to enable automated
version bumping with bump2version tool.

Includes comprehensive Makefile with targets for:
- Installing and managing bump2version
- Bumping package versions (major, minor, patch)
- Managing dependencies and building packages
- Running tests and formatting
- Cleaning build artifacts

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 21:23:47 +00:00
Adam
3274cfafe7 add concurrent session management and resource isolation
Implement concurrent session management for MCP server with:

- SessionManager with computer instance pooling
- Concurrent task execution support
- New tools: get_session_stats, cleanup_session
- Graceful shutdown and resource cleanup
- Fix nested asyncio event loop issues
- Add comprehensive tests and documentation

Enables multiple concurrent clients with proper resource isolation
while maintaining backward compatibility.
2025-10-06 18:37:10 -04:00
Adam
671845001c update README with corrected MCP config and clarified usage
- Updated the README to clarify how to configure cua-mcp-server for Claude Desktop and other MCP clients.
- Fixed the example development configuration to use an absolute/expanded path rather than `~`, preventing issues with Claude’s sandboxed execution.
- Aligned instructions with the current start_mcp_server.sh behavior, ensuring the correct virtual environment and PYTHONPATH are always set.
- Improved wording for consistency across installation, development, and usage sections.
2025-10-01 11:49:17 -04:00
Adam
37864faef2 Fix MCP server startup and tool schema issues in server.py and start_mcp_server.sh
Changes
- Refactored `server.py`:
  - Delayed server instantiation to avoid double-import issues and RuntimeWarning.
  - Reworked `run_cua_task` and `run_multi_cua_tasks` to yield structured output
    (text + screenshots) in a Pydantic-compatible format.
  - Added helper functions for normalising message content, extracting text,
    and serialising tool outputs.
  - Improved logging and error handling for clearer debugging.

- Updated `start_mcp_server.sh`:
  - Ensures Python path points to repo-local `.venv`.
  - Sets `PYTHONPATH` correctly for all `libs/python/*` packages.
  - Added clear debug output for python binary, repo dir, and PYTHONPATH.

Why
- Fixed `PydanticSchemaGenerationError` when returning `Image` objects from
  tool functions.
- Prevented `FastMCP.__init__()` errors by aligning with supported arguments.
- Removed duplicate module loading at startup that triggered RuntimeWarnings.
- Improved clarity of server startup logs for easier integration with Claude Desktop.

Outcome
The MCP server now starts cleanly, registers all tools, and stays connected
with Claude Desktop without schema errors or double-import issues.
2025-09-30 18:52:04 -04:00
Adam
65263112cd Stream MCP responses instead of buffering 2025-09-25 16:07:53 -04:00
James Murdza
45dca9082b Simplify README 2025-09-01 09:38:05 -04:00
James Murdza
5ee601e216 Move text from READMEs to Cua documentation 2025-09-01 09:38:05 -04:00
James Murdza
78d9c594e3 Remove broken link 2025-08-18 16:37:20 -04:00
James Murdza
b62be1bde1 Use absolute paths to fix PyPi project pages 2025-08-18 16:37:20 -04:00
Dillon DuPont
96e4b7586a update mcp server to cua-agent==0.4.x 2025-08-05 10:51:21 -04:00
Dillon DuPont
394ebaac3c Completed python refactor migration 2025-07-01 16:04:06 -04:00
Dillon DuPont
40a06cac04 Updated tests; bumped mcp deps 2025-07-01 11:15:00 -04:00
Morgan Dean
0246d18347 Reorganize lib folder w/typescript and python roots, initialize core library. 2025-06-23 10:22:36 -07:00