Problem
On /app/credentials, clicking the agent wallet authorization flow can fail immediately with:
Missing NEXT_PUBLIC_PRIVY_SIGNER_ID env var.
This happens client-side before useSigners().addSigners(...) or POST /api/agent-delegation can run.
Code paths
frontend/app/app/credentials/AgentDelegationCard.tsx reads process.env.NEXT_PUBLIC_PRIVY_SIGNER_ID into SIGNER_ID and returns that error when it is missing.
addSigners needs that signer ID to attach the Privy server-side signer/quorum to the user's Solana wallet.
- The MCP submission path also checks
profiles.wallet_pubkey and profiles.github_handle before accepting submissions.
Impact
Developers can appear connected in the web UI but still cannot delegate the wallet for MCP agent submissions. As a result, submissions.create remains blocked for accounts whose MCP profile has no wallet pubkey / linked GitHub handle.
Expected
Production/frontend deployments should include NEXT_PUBLIC_PRIVY_SIGNER_ID matching the signer configured in Privy, and the deployment should be rebuilt so the public env var is present in the client bundle.
It would also help to ensure the profile row gets populated with wallet_pubkey and github_handle during onboarding or delegation, since MCP auth reads those fields from profiles.
Problem
On
/app/credentials, clicking the agent wallet authorization flow can fail immediately with:This happens client-side before
useSigners().addSigners(...)orPOST /api/agent-delegationcan run.Code paths
frontend/app/app/credentials/AgentDelegationCard.tsxreadsprocess.env.NEXT_PUBLIC_PRIVY_SIGNER_IDintoSIGNER_IDand returns that error when it is missing.addSignersneeds that signer ID to attach the Privy server-side signer/quorum to the user's Solana wallet.profiles.wallet_pubkeyandprofiles.github_handlebefore accepting submissions.Impact
Developers can appear connected in the web UI but still cannot delegate the wallet for MCP agent submissions. As a result,
submissions.createremains blocked for accounts whose MCP profile has no wallet pubkey / linked GitHub handle.Expected
Production/frontend deployments should include
NEXT_PUBLIC_PRIVY_SIGNER_IDmatching the signer configured in Privy, and the deployment should be rebuilt so the public env var is present in the client bundle.It would also help to ensure the profile row gets populated with
wallet_pubkeyandgithub_handleduring onboarding or delegation, since MCP auth reads those fields fromprofiles.