# MusicContentCenterConfiguration (/zh-CN/api-reference/rtc/react-native/class-musiccontentcenterconfiguration)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```ts
export class MusicContentCenterConfiguration {
appId?: string;
token?: string;
mccUid?: number;
maxCacheSize?: number;
}
```
## 属性 [#属性]
已启用内容中心的项目的 App ID。
使用音乐内容中心时,用于鉴权的 RTM Token。
:::note
注:
- 声网推荐你使用 AccessToken2 进行鉴权,详见[部署 Token 服务器](/zh-CN/realtime-media/rtm/build/authentication-and-connection/token-generation)。生成 Token 时,请向 `uid` 传入 `String` 型的 `mccUid`。
- 当你的 Token 即将过期时,你可以调用 [renewToken](/zh-CN/api-reference/rtc/react-native/channel#api_irtcengine_renewtoken) 来传入新的 Token。
:::
使用音乐内容中心的用户 ID,该 ID 可以和你加入 RTC 频道时使用的 `uid` 一致,但不能为 0。
可缓存的音乐资源数量,最多不能超过 50。