Skip to main content
Glama
nadavgb-atom

ib-async-mcp

by nadavgb-atom

is_connected

Check connection status to Interactive Brokers TWS or Gateway to verify API accessibility for trading and data operations.

Instructions

Check if connected to TWS/Gateway.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The logic implementation for the "is_connected" tool.
    if name == "is_connected":
        return {"connected": ib is not None and ib.isConnected()}
  • Tool registration for "is_connected" in the list_tools function.
    Tool(
        name="is_connected",
        description="Check if connected to TWS/Gateway.",
        inputSchema={"type": "object", "properties": {}},
    ),

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nadavgb-atom/ib-async-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server