Connect an MCP client
Use an MCP client that supports Streamable HTTP and OAuth. The MCP URL is
your environment’s main Dashboard URL with /mcp appended.
- Local runtime: Start your organisation with the Dashboard running. Use
http://localhost:3000/mcp, replacing3000if your Dashboard uses a different port. - Process Focus Cloud: Find the environment’s site URL in the
Console’s Info tab and
append
/mcp.
Connect OpenCode
Section titled “Connect OpenCode”From the project where you want to use the connection, run:
opencode mcp add processfocus --url http://localhost:3000/mcpopencode mcp listSubstitute your environment’s MCP URL. In OpenCode, run /mcps, select
processfocus, and sign in through your organisation in the browser.
Confirm the client, environment, and account, then choose View work
for read-only access or View and act to allow changes that your
organisation permissions permit. Select Allow access to connect.
Connecting creates a named delegation that expires in seven days. Your organisation must permit you to issue one. Each active delegation needs a different name; you can change the suggested app name on the consent screen.
Once connected, try asking “What To-Dos can I act on?”
Reconnect or disconnect
Section titled “Reconnect or disconnect”If OpenCode asks you to sign in again, select the same connection in
/mcps and use the same account. Connections survive local Dashboard
restarts. To clear OpenCode’s saved credentials or switch accounts, run
opencode mcp logout processfocus, then sign in again.
To revoke access, open the profile menu in the Dashboard for that environment and choose Act on behalf. Find the delegation by name and confirm Revoke. This leaves your Dashboard session and other clients connected.