Get MCP Auth Path • AI Agent SDK

get_mcp_auth_path: Get path to MCP auth storage file.

get_mcp_auth_path

Function

</div>

This function is defined in the paths module.

Get path to MCP auth storage file.

Signature

python
def get_mcp_auth_path() -> Path

Returns

ResponseField Path

Path to ~/.praisonai/mcp-auth.json

Uses

  • get_data_dir

Source

View on GitHub

praisonaiagents/paths.py at line 368


Related Documentation