get_all_credentials
Retrieve a comprehensive list of all accessible credentials from the Alteryx server using the AYX-MCP-Wrapper interface, enabling efficient credential management.
Instructions
Get the list of all accessible credentials of the Alteryx server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.py:706-712 (handler)The core handler function in the Tools class that calls the Alteryx API to retrieve all credentials and returns a pretty-formatted response or error message.def get_all_credentials(self): """Get the list of all accessible credentials of the Alteryx server""" try: api_response = self.credentials_api.credentials_get_credentials() return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
- src/mcp_server.py:335-338 (registration)MCP tool registration decorator and wrapper function that delegates to the Tools instance's get_all_credentials method.@self.app.tool() def get_all_credentials(): """Get the list of all accessible credentials of the Alteryx server""" return self.tools.get_all_credentials()