Skip to content

feat: add profile mapping tools (list and get)#27

Open
teads-sylvain wants to merge 1 commit into
okta:mainfrom
teads:feat/profile-mappings
Open

feat: add profile mapping tools (list and get)#27
teads-sylvain wants to merge 1 commit into
okta:mainfrom
teads:feat/profile-mappings

Conversation

@teads-sylvain
Copy link
Copy Markdown

@teads-sylvain teads-sylvain commented Feb 24, 2026

Summary

Adds two new tools for inspecting profile mappings between Okta resources (apps, user types):

  • list_profile_mappings(source_id, target_id) — enumerate mappings with optional filtering by source/target
  • get_profile_mapping(mapping_id) — retrieve a specific mapping with all property expressions

Changes

  • Created new tools/mappings/ module with list_profile_mappings and get_profile_mapping tools
  • Registered the module in server.py
  • Follows the same patterns as existing tools (error handling, logging, auth context, pagination params)

Use case

Profile mappings define how attributes flow between applications and the Okta universal profile (e.g. XaaS app → Okta user profile, or Okta user profile → Org2Org app). Being able to inspect these mappings via MCP allows administrators to:

  • Verify that attribute transformations are correctly configured
  • Debug data mismatches between source apps and Okta profiles
  • Audit mapping expressions without navigating the admin console

API Reference

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant