Bourse.MCP (bourse v0.1.0)

Copy Markdown View Source

MCP tool definitions for the Bourse API.

Generates Model Context Protocol tool definitions from Descripex-annotated functions on the Bourse module. Includes the exchange/2 constructor and all 241 unified methods plus the exchange/2 constructor — each becomes a discoverable MCP tool with typed input schema derived from api() param declarations.

tools = Bourse.MCP.tools()
# => [%{name: "bourse__fetch_ticker", description: "...", inputSchema: %{...}}, ...]

Summary

Functions

Generate MCP tool definitions for all api()-annotated functions on the Bourse module.

Functions

tools(opts \\ [])

@spec tools(keyword()) :: [map()]

Generate MCP tool definitions for all api()-annotated functions on the Bourse module.