We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fctr-id/fctr-okta-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
okta_tools.py•2.13 kB
# src/fctr_okta_mcp/tools/okta_tools.py
"""
Okta API Tools - Main Registration Module
This module re-exports tools from the entity-based okta/ subpackage.
Tools are organized by entity type:
- okta/user_tools.py: User management
- okta/group_tools.py: Group management
- okta/app_tools.py: Application management
- okta/datetime_tools.py: Date/time utilities
- okta/log_tools.py: System logs
- okta/policy_tools.py: Policies and network zones
- okta/special/: Enterprise-grade analysis tools (TODO)
The tool decorators ARE the source of truth - no static JSON files.
As we add more tools, the registry automatically discovers them via introspection.
"""
from fastmcp import FastMCP
from fctr_okta_mcp.utils.logger import get_logger
from fctr_okta_mcp.tools.okta.user_tools import register_user_tools
from fctr_okta_mcp.tools.okta.group_tools import register_group_tools
from fctr_okta_mcp.tools.okta.app_tools import register_app_tools
from fctr_okta_mcp.tools.okta.datetime_tools import register_datetime_tools
from fctr_okta_mcp.tools.okta.log_tools import register_log_tools
from fctr_okta_mcp.tools.okta.policy_tools import register_policy_tools
# Future imports:
# from fctr_okta_mcp.tools.okta.special.access_analysis import register_access_analysis_tools
# from fctr_okta_mcp.tools.okta.special.login_risk import register_login_risk_tools
# Server-side logger
logger = get_logger(__name__)
def register_okta_tools(mcp: FastMCP):
"""
Register all Okta API tools from entity-based submodules.
This function orchestrates the registration of all Okta tools
by delegating to the entity-specific registration functions.
"""
logger.debug("Registering Okta API tools from entity modules...")
# Register tools from each entity module
register_user_tools(mcp)
register_group_tools(mcp)
register_app_tools(mcp)
register_datetime_tools(mcp)
register_log_tools(mcp)
register_policy_tools(mcp)
# Future registrations:
# register_access_analysis_tools(mcp)
# register_login_risk_tools(mcp)
logger.info("All Okta API tools registered successfully")