Prerequisites
- Python 3.10+
Programmatically connect and call MCP tools
Create a.env file (or set environment variables) with your credentials and endpoint. See Authentication for details on obtaining credentials and Quick start for endpoint URLs.
What this does
- Authenticates using your
client_idandclient_secretto obtain an access token - Connects to Cotality MCP over Streamable HTTP with the access token
- Lists your available MCP tools
- Calls
clip-find_property_by_full_addresswith a sample address and prints the result