Skip to content

Conversation

@h3xxit
Copy link
Member

@h3xxit h3xxit commented Sep 5, 2025

Summary by cubic

Switch MCP transport to MCPClient with reusable sessions and add optional resource-to-tool registration for MCP servers. Also prefix MCP tool names with the server name and require Python 3.11+; plugin logs now show by default.

  • New Features

    • Use MCPClient with session reuse for faster, more reliable MCP calls.
    • Optional register_resources_as_tools to expose MCP resources as callable tools (resource_); supports reading resources.
    • Prefix MCP tool names with the server name (e.g., server.echo) to avoid collisions.
    • Robust tool/resource name parsing for manual/server prefixes.
    • Deregister/close now clean up MCP sessions.
    • Default logging added in protocol plugins (CLI, HTTP, SSE, GQL, TCP, Text) so logs appear without user config.
  • Migration

    • Python 3.11+ is required (CI and MCP plugin updated).
    • Update MCP tool calls and tests to use the server-prefixed names (e.g., my_server.echo). Resource tools use my_server.resource_.

h3xxit and others added 19 commits August 29, 2025 14:33
…ication_protocol.py

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
…cation_protocol.py

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
…tion_protocol.py

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
…tion_protocol.py

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
…tion_protocol.py

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
…ication_protocol.py

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

14 issues found across 17 files

React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai to give feedback, ask questions, or re-run the review.

perrozzi and others added 2 commits September 7, 2025 10:48
…ME files (#59)

* Move documentation from docs folder to class docstrings and document undocumented classes

* Improve README files with comprehensive documentation and cross-references

* Update core/src/utcp/implementations/tag_search.py

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Update plugins/communication_protocols/cli/src/utcp_cli/cli_call_template.py

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Update some docstrings

---------

Co-authored-by: Razvan Radulescu <43811028+h3xxit@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
@h3xxit h3xxit changed the title MCP fix v1.1.0 Sep 7, 2025
@h3xxit h3xxit changed the title v1.1.0 Update documentation and fix MCP plugin Sep 7, 2025
@h3xxit h3xxit merged commit d28c0af into main Sep 7, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants