Skip to main content
Glama
robcerda

monarch-mcp-server

by robcerda

check_auth_status

Verify authentication status with Monarch Money using the MCP server to ensure access to account features.

Instructions

Check if already authenticated with Monarch Money.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The check_auth_status tool handler function. It checks for an authentication token in secure storage and environment variables, returning a status message. Decorated with @mcp.tool() for automatic registration.
    @mcp.tool() def check_auth_status() -> str: """Check if already authenticated with Monarch Money.""" try: # Check if we have a token in the keyring token = secure_session.load_token() if token: status = "✅ Authentication token found in secure keyring storage\n" else: status = "❌ No authentication token found in keyring\n" email = os.getenv("MONARCH_EMAIL") if email: status += f"📧 Environment email: {email}\n" status += ( "\n💡 Try get_accounts to test connection or run login_setup.py if needed." ) return status except Exception as e: return f"Error checking auth status: {str(e)}"

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/robcerda/monarch-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server