> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.finput.com.au/api/endpoints/mcp-connections/list-mcp-connections/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.finput.com.au/_mcp/server. # List your connected AI assistants GET https://api.finput.com.au/api/v1/mcp-connections Scoped to the caller and nobody else — an organisation admin does not see a colleague's connections, because a connection is a credential acting as one specific person. Refuses API-token auth, and therefore MCP connections themselves: an assistant must not be able to inspect or outlive its own connection. Reference: https://docs.finput.com.au/api/endpoints/mcp-connections/list-mcp-connections ## Authentication - `Authorization` header (bearer token, required) — JWT access token obtained from `POST /api/v1/auth/login`, or a `finput_sk_...` API token ## Response ### 200 The caller's connections. - `results` (list of McpConnection, optional) ## Errors ### 403 Forbidden Error API-token auth is not permitted here. - `error` (string, optional) - `errors` (map from string to list of string, optional) ## Types ### McpConnection - `id` (integer, optional) - `client_name` (string, optional) — Supplied by the AI client at registration and returned as stored. Untrusted — escape it at render time. - `scope` (enum, optional) — `read` allows every `GET`, plus the five computation endpoints: `POST /calculator`, `/calculator/recalculate`, `/calculator/abn-lookup`, `/matrix/` and `/matrix-calculator/`. Running those still consumes daily calculator/Matrix allowance and adds to the caller's own recents; what `read` prevents is changing data another request reads back, saved scenarios included. `read_write` additionally allows mutations. Both are bounded by the owner's own permissions — a token can never exceed what its owner could do in the UI. - Allowed values: `read`, `read_write` - `allow_rate_card_writes` (boolean, optional) - `target_organisation` (integer, optional, nullable) - `target_organisation_name` (string, optional, nullable) - `created_at` (datetime, optional) - `last_used_at` (datetime, optional, nullable) - `expires_at` (datetime, optional, nullable) - `disconnected_at` (datetime, optional, nullable) - `is_active` (boolean, optional) — Computed server-side. Do not re-derive it from `expires_at` — clock skew would disagree with what `/mcp` actually does. ## Examples **Response** ```json { "results": [ { "id": 1, "client_name": "string", "scope": "read", "allow_rate_card_writes": true, "target_organisation": 1, "target_organisation_name": "string", "created_at": "2024-01-15T09:30:00Z", "last_used_at": "2024-01-15T09:30:00Z", "expires_at": "2024-01-15T09:30:00Z", "disconnected_at": "2024-01-15T09:30:00Z", "is_active": true } ] } ``` **SDK Code** ```python import requests url = "https://api.finput.com.au/api/v1/mcp-connections" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript const url = 'https://api.finput.com.au/api/v1/mcp-connections'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.finput.com.au/api/v1/mcp-connections" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://api.finput.com.au/api/v1/mcp-connections") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer ' response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.finput.com.au/api/v1/mcp-connections") .header("Authorization", "Bearer ") .asString(); ``` ```php request('GET', 'https://api.finput.com.au/api/v1/mcp-connections', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://api.finput.com.au/api/v1/mcp-connections"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://api.finput.com.au/api/v1/mcp-connections")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```