---
title: "Task: The assistant package uses Identity's token contracts"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:task-1791617742@main"
source: "Changelog/1.0.0/Task-1791617742-TheAssistantPackageUsesIdentitysTokenContracts.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Task: The assistant package uses Identity's token contracts {#task-1791617742}

## Description {#description}

The MCP package learns the name and access level of the personal access token through AccessTokenContext,
writes its tool calls to the activity log through ActivityRecorder and marks its endpoint with the attribute
IdentityContractAllowsReadOnlyTokens, instead of request attributes, the log and the attribute inside the core.

## Impact {#impact}

Code outside adsum that marks endpoints for read-only tokens imports AllowsReadOnlyTokens from
IdentityContract.
