gateway-connect

Automate secure Claude Code session connections to the OTCHealth MCP gateway.

Updated May 30, 2026
One-click install
npx skills add https://github.com/InnerScopeHearing/otchealth-claude-tools --skill gateway-connect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gateway-connect
Source: https://github.com/InnerScopeHearing/otchealth-claude-tools/tree/main/skills/gateway-connect
Command: npx skills add https://github.com/InnerScopeHearing/otchealth-claude-tools --skill gateway-connect

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, axios, crypto, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The skill resolves the need for agents to manually connect and refresh their Claude Code Desktop sessions to the OTCHealth MCP gateway, ensuring persistent and secure access to tools across their 1-hour token expiry.

Core Features & Use Cases

  • Automated Connection: Automatically connects and verifies the Claude Code Desktop session to the OTCHealth MCP gateway.
  • Token Minting & Refreshing: Generates and refreshes the short-lived client_credentials token, maintaining seamless access for agents.
  • Ring Safety: Ensures that each agent's session is safely scoped to their designated lane, preventing unauthorized access to tools.

Quick Start

Run 'clo-gateway-connect.sh' on the agent's Desktop to establish a secure connection to the gateway.

Frequently Asked Questions about gateway-connect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate OAuth 2.0 session management for Claude Code gateway connections?

Automating OAuth 2.0 session management involves using a script to securely connect Claude Code sessions to the OTCHealth MCP gateway, which handles token minting and auto-refreshes short-lived client credentials automatically.

What is the best way to maintain persistent agent access when token expiry breaks MCP gateway connections?

Maintaining persistent agent access requires auto-refreshing the 1-hour token expiry limit by connecting Claude Code sessions to the OTCHealth gateway, ensuring seamless and verified tool interaction without manual reconnection.

Do I need Azure Key Vault or GCP Secret Manager to mint client_credentials tokens for gateway authentication?

Yes, the gateway authentication process utilizes Azure Key Vault or GCP Secret Manager for secure credential management, ensuring that OAuth 2.0 client_credentials are safely stored and validated for agent sessions.

How does ring-safe lane scoping work when connecting agents to the OTCHealth MCP gateway?

Ring-safe lane scoping works by ensuring each agent's session is safely restricted to its designated lane during gateway connection, preventing unauthorized access to tools outside that specific operational scope.

Can I use Node and axios to establish a secure Claude Code session to an MCP gateway?

Yes, you can use Node and axios to run the gateway connection script, which automates the secure connection and token validation process for Claude Code Desktop sessions interacting with the gateway.

Why does my Claude Code session lose access to the OTCHealth gateway after one hour?

Your session loses access because the OAuth 2.0 client_credentials token expires after 1 hour; automating the gateway connection ensures the token is continuously refreshed to maintain seamless access.