Files
Shanghua Gao 6b35f906f8 Integrate native remote-tool hosting into main (#546)
* feat: restore native remote tool sharing

* fix: make remote provider startup lightweight

* feat: support resilient platform remote jobs

* docs: pin finalized remote companion

* test: protect standalone ToolUniverse compatibility

* fix: preserve standalone sdk isolation

* test: harden final merge compatibility gates

* fix: harden native remote release gates

* fix: close native remote edge cases

* Add browser-first remote tool sharing (#542)

* Add browser-first remote tool sharing

* Use public relay wheel for remote setup

* Fix native remote server compatibility

* Publish validated remote provider hardening (#543)

* Clarify provider preflight diagnostics

* Publish validated remote provider hardening

* Fix remote provider lint errors

* Fix main integration test regressions

* Isolate CellTypist boundary tests
2026-08-19 21:09:21 -04:00
..

Remote Tools Examples

This folder contains examples for creating and using remote tools with ToolUniverse.

Overview

Remote tools are Python classes decorated with @register_mcp_tool that run on separate servers and are accessed via MCP (Model Context Protocol). They provide:

  • Scalability: Offload heavy computation to dedicated servers
  • Integration: Connect with existing systems and services
  • Flexibility: Use tools in different programming languages
  • Isolation: Keep sensitive operations separate

Examples

1. Create Remote Tool (create_remote_tool.py)

Shows how to create a remote tool using the @register_mcp_tool decorator.

Features:

  • Text processing tool with multiple operations
  • MCP server configuration
  • Parameter validation
  • Error handling

Run:

python create_remote_tool.py

2. Use Remote Tool (use_remote_tool.py)

Shows how to load and use remote tools in ToolUniverse.

Features:

  • Configuration-based tool loading
  • Multiple API usage patterns
  • Error handling and testing

Run:

python use_remote_tool.py

Quick Start

  1. Create a remote tool:

    python create_remote_tool.py
    
  2. In another terminal, use the remote tool:

    python use_remote_tool.py
    

Configuration Files

  • expert_feedback_config.json - Example configuration for expert feedback tools

Requirements

  • ToolUniverse
  • MCP (Model Context Protocol) support
  • Python 3.7+