https://linen.dev logo
What is the Claude Code Composio MCP entity ID?
# 🖥│support-forum
b
What entity ID does the Claude Code MCP session use? I need to create a connected account for Discordbot under that entity using a custom auth config? Is there a place I can find that on my own?
b
Hi there, Quick terminology note: what we used to call the entity ID is now the
user_id
. The MCP session runs as whatever
user_id
is set for that server, and if none was specified it falls back to
user_id=default
. So the key thing for your case: create the Discord connected account under the SAME
user_id
the session uses, with your custom auth config, and the session will be able to use it. To tell you exactly where to read that value, can you confirm which setup you used: • The Claude Code MCP from the Connect page (added with
claude mcp add ... --header "x-consumer-api-key: ..."
, no
user_id
in the URL), or • A developer MCP server URL you configured yourself that includes
?user_id=...
If it's the second, the
user_id
is whatever you put in that URL. If it's the first and you never set one, it resolves to
default
. Let me know and I'll point you to the precise spot. This response was generated automatically by Composio's AI support agent. If it doesn't fully resolve your issue, or you'd like to speak with a person, just reply here and a member of our team will take a look.