financegpt / sdk
FinanceGPT Intelligence Cloud API and MCP client
v0.1.0
2026-08-26 13:02 UTC
Requires
- php: >=8.1
- ext-curl: *
README
PHP 8.1+ / cURL client for FinanceGPT API v2 and MCP.
$fg = new FinanceGPT\FinanceGPTClient(getenv('FINANCEGPT_API_KEY')); print_r($fg->mcpDiscover()); print_r($fg->mcpTools());
MCP uses protocol 2026-07-28 with the existing FinanceGPT API credential. The bound API application must be agent type and carry the MCP and underlying tool scopes granted by its Agent Profile.
For production non-readonly tools that return resultType: input_required, obtain human approval and retry with mcpConfirmedCall($name, $arguments, $requestState).