ibkr_trade_mcp 0.1.1 copy "ibkr_trade_mcp: ^0.1.1" to clipboard
ibkr_trade_mcp: ^0.1.1 copied to clipboard

Model Context Protocol (MCP) server for Interactive Brokers Client Portal Gateway REST API.

example/example.dart

import 'package:ib_trade_core/ib_trade_core.dart';
import 'package:ibkr_trade_mcp/ibkr_trade_mcp.dart';

void main() async {
  // Configure Interactive Brokers Client Portal Gateway connection
  final config = GatewayConfig(
    host: 'localhost',
    port: 5000,
    useSsl: true,
    bypassSslVerification: true,
    tickleIntervalSeconds: 45,
  );

  // Initialize the MCP server with Gateway configuration
  final server = McpServer(config: config);

  McpLogger.info('Starting IBKR Trade MCP server...');

  // Start the server using stdio transport for MCP host communication
  await server.start();
}
1
likes
160
points
80
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Model Context Protocol (MCP) server for Interactive Brokers Client Portal Gateway REST API.

Repository (GitHub)
View/report issues
Contributing

Topics

#mcp #trading #interactive-brokers #finance #json-rpc

License

Apache-2.0 (license)

Dependencies

args, ib_trade_core, json_rpc_2, stream_channel

More

Packages that depend on ibkr_trade_mcp