CLI Guide
Advanced Routing & Service Composition
One of the most powerful features of the Cogni+ CLI is its ability to create sophisticated routing configurations between local and remote MCP services. This enables advanced use cases that wouldn’t be possible with either local-only or cloud-only solutions.Routing between Local and Remote Services
The CLI can establish secure tunnels that allow seamless communication between services running in different environments:Service Composition
The CLI enables you to compose complex workflows by combining local and remote MCP servers:Use Cases for Advanced Routing
Local Development with Remote Dependencies
When developing an MCP server that depends on other tools (like a web search tool), you can route only the dependency requests to remote services:Privacy-Sensitive Operations
For operations involving sensitive data that shouldn’t leave your machine:Enhanced Agent Capabilities
Combine the power of multiple specialized MCP servers into a unified agent experience:Real-Time Service Management
The CLI provides commands to monitor and manage your routing configurations:Security Considerations
When using advanced routing features, consider these security best practices:- Authentication: All tunneled connections require proper authentication
- Data Filtering: Configure data transformers to sanitize sensitive information before it leaves your local environment
- Access Control: Use scoped access tokens to limit what remote services can access through your tunnels
- Audit Logging: Enable detailed logs to track all cross-environment requests