Developer API

Connect an AI client

Step-by-step setup for each supported AI app and coding tool. All you need is the URL https://wellfriend.dev/mcp and a browser sign-in.

Before you start

  • Every client uses the same server URL: https://wellfriend.dev/mcp. You never paste an API key or secret into a client.
  • The first time a client connects, your browser opens to sign in to Wellfriend and pick a workspace, then you choose a permission mode and approve it. A connection lasts 90 days; revoke it at any time in Developer API → MCP.
  • In Developer API → MCP, choose your client under Connect a client. The page shows the same install link, command, config or URL, and confirms the connection as soon as you approve it.
  • After connecting, try: "List my five most recently updated Wellfriend documents."

Choose your client

Each guide below follows the client's own settings screens, in order, with the exact options to choose.

Permission modes

Wellfriend's consent page asks for a permission mode after the workspace and environment. It decides what the client may do there; your role in the workspace still caps it (for example, only owners and admins manage API keys).

You can change a connection's mode later in Developer API → MCP, or revoke it and connect again. Whatever the mode, tools that publish, send, revoke or delete ask you to confirm in your client before they run.

ModeWhat the client can doChoose it when
Read onlyView documents, links, workflows, webhooks, API keys, usage and logs. The client cannot change anything.You want answers about your documents and account, or you are trying a client for the first time.
Read & writeEverything in Read only, plus create and process documents, links, workflows, resources and connectors.The client should do document work for you: convert, edit, share, run workflows or import files.
Full accessEvery tool the server offers: everything in Read & write, plus create or revoke API keys, manage webhooks and approve workflow steps. Only workspace owners and admins can choose it; actions that share, send, delete or reveal a secret still ask you to confirm.You run the developer account through the client and trust it with credentials and approvals.

Claude Code

CLI

Before you start

  • Claude Code installed and signed in.
  • Run each claude mcp ... command in your system terminal (macOS, Linux, PowerShell or Command Prompt), not inside a Claude Code session.
  • No Wellfriend API key: Claude Code signs in through your browser.

Set it up

  1. Add the server. Without --scope it uses the local scope: only you, only in the current project.

    Claude Code command
    claude mcp add --transport http wellfriend https://wellfriend.dev/mcp
  2. To pick another scope, put --scope before the server name:

    • local (default): only you, in this project. Stored in ~/.claude.json under the project.
    • project: everyone who opens the project. Stored in .mcp.json in the project root, which you commit to share. Claude Code asks each person to approve a project server before first use.
    • user: only you, in every project. Stored in ~/.claude.json.
    Add for every project (user scope)
    claude mcp add --transport http --scope user wellfriend https://wellfriend.dev/mcp
    .mcp.json (.mcp.json in the project root)
    {
      "mcpServers": {
        "wellfriend": {
          "type": "http",
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }
  3. Check that it was added. claude mcp list shows wellfriend with the status Needs authentication until you sign in.

    List servers
    claude mcp list

Sign in and choose permissions

  1. Start Claude Code in the project and run /mcp. Select wellfriend, press Enter and choose Authenticate. Your browser opens Wellfriend.

    • If the browser does not open, copy the address Claude Code prints and open it yourself.
    • From a shell, claude mcp login wellfriend does the same. Over SSH, add --no-browser: it prints the address, and you paste the final redirect address back.
  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to the terminal. /mcp now shows wellfriend as connected.

Check that it works

  1. claude mcp list shows ✔ Connected next to wellfriend, and /mcp shows how many tools it offers.

  2. In a Claude Code session, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Tools are named mcp__wellfriend__ plus the tool name, for example mcp__wellfriend__documents_search.
  • The first time a Wellfriend tool runs, Claude Code asks for permission. Approve it once, or choose the option that stops asking for that tool.
  • Manage saved answers with /permissions. A rule for mcp__wellfriend__* covers every Wellfriend tool.
  • Type @ in a prompt to attach a Wellfriend resource, such as a document.
  • Claude Code warns when a tool result is larger than 10,000 tokens and cuts it at 25,000 by default. Raise the limit with the MAX_MCP_OUTPUT_TOKENS environment variable.

Troubleshooting

The status stays Needs authentication, or sign-in failed.
Run /mcp, select wellfriend and choose Authenticate again. If the browser could not return to Claude Code, paste the full address from the browser's address bar into the prompt Claude Code shows.
The status is Pending approval.
The server comes from the project's .mcp.json. Start Claude Code in the project and approve the server when asked.
claude mcp list says No MCP servers configured.
The server was added with the local scope from another folder. Run the command in this project, or add it again with --scope user.
The server times out while starting.
Set the MCP_TIMEOUT environment variable to 60000 (milliseconds) before starting Claude Code: export MCP_TIMEOUT=60000 in bash or zsh, $env:MCP_TIMEOUT = "60000" in PowerShell.
You added an Authorization header and sign-in never starts.
Remove the header: Wellfriend uses OAuth sign-in only. Run claude mcp remove wellfriend, then add it again with the command above.
Tools stop working after you revoked the connection in Wellfriend.
Run /mcp, select wellfriend and choose Re-authenticate, then approve again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Sign out but keep the server: /mcp → wellfriend → Clear authentication, or claude mcp logout wellfriend.
  • Remove it: claude mcp remove wellfriend (add --scope if you added it to the project or user scope). This also deletes the stored sign-in.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Claude app

Desktop and web

Before you start

  • Works on claude.ai and in the Claude Desktop app. Connectors you add there also work in the iOS and Android apps.
  • Every plan can add custom connectors. The Free plan allows one.
  • Team and Enterprise: only organization owners (and, on Enterprise, custom roles allowed to manage connectors) can add a custom connector, in Organization settings → Connectors. Members then connect it themselves.
  • The app reaches Wellfriend over the internet rather than from your device, so your VPN or local network does not matter.

Set it up

  1. Open Customize → Connectors. In the desktop app, choose Customize in the sidebar, then Connectors.

    Open Connectors
  2. Choose Add custom connector.

    • Some accounts show Add, then Custom, then Web instead. Choose those.
  3. Fill in the first screen, then choose Continue:

    • Name: Wellfriend.
    • Remote MCP server URL: paste the URL below.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  4. Review the sign-in settings the app detected and choose Continue. Keep these choices:

    • Authentication: Sign in now.
    • OAuth client: the option marked Recommended. Register automatically also works.
    • Request headers: leave empty. Wellfriend needs no API key or header.
  5. Choose Add.

    • If your dialog shows the name, the URL and Advanced settings on one screen, leave OAuth Client ID and OAuth Client Secret empty and choose Add.
  6. Team and Enterprise: an organization admin does steps 2 to 5 in Organization settings → Connectors (Add, then Custom, then Web). Each member then opens Customize → Connectors, finds Wellfriend (marked Custom) and chooses Connect.

Sign in and choose permissions

  1. Sign-in starts after Add when you chose Sign in now. Otherwise choose Connect on the Wellfriend connector.

    • On claude.ai the Wellfriend page opens in the same tab. In the desktop app it opens in your browser.
  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to the app. If the browser offers to open the desktop app, allow it. Wellfriend is listed under Your connectors as Connected.

Check that it works

  1. Customize → Connectors lists Wellfriend as Connected.

  2. Start a chat, choose + in the lower left of the message box, then Connectors, and switch Wellfriend on.

  3. In that chat, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  4. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Connectors are switched on per conversation: + → Connectors → Wellfriend. Typing / in the message box opens the same menu.
  • When a Wellfriend tool asks for approval, choose Allow once, or Always allow to stop asking for that tool.
  • To set every tool at once, open Customize → Connectors → Wellfriend → Tool permissions and choose Always allow, Needs approval or Blocked for each tool.
  • On mobile, Wellfriend is available after you sign in with the same account; switch it on in the chat the same way.

Troubleshooting

Wellfriend's tools are not offered in a chat.
Connectors are off by default in each conversation. Choose + → Connectors and switch Wellfriend on.
The app shows Couldn't reach the MCP server.
Check that the URL is exactly https://wellfriend.dev/mcp, with https and the /mcp path. Remove the connector and add it again if it was mistyped.
The app shows Authorization with the MCP server failed.
Disconnect and connect again from Customize → Connectors. Sign-in settings cannot be edited, so if it still fails, remove the connector and add it again.
You approved in the browser but the app still shows Connect.
Return to the app from the browser (the desktop app asks to open), or reload claude.ai. Wellfriend lists the connection in Developer API → MCP once it worked.
Add custom connector is missing.
On Team and Enterprise, ask an organization admin to add Wellfriend in Organization settings → Connectors. On Free, remove your existing custom connector first.
The connector shows Reconnect after you revoked it in Wellfriend.
Choose Reconnect and approve Wellfriend again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.

Disconnect

  • Sign out but keep the connector: Customize → Connectors → Wellfriend → Disconnect. It stays in the list and shows Connect.
  • Delete it: open the connector's … menu and choose Remove. On Team and Enterprise, organization owners remove it for everyone in Organization settings → Connectors.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Codex

CLI and IDE

Before you start

  • The Codex CLI, the Codex IDE extension or the ChatGPT desktop app. All three read the same ~/.codex/config.toml, so adding the server once covers them.
  • Remote servers and OAuth sign-in need no experimental setting.

Set it up

  1. Add the server from a terminal:

    Codex command
    codex mcp add wellfriend --url https://wellfriend.dev/mcp
  2. Or add it to ~/.codex/config.toml yourself. A trusted project can use its own .codex/config.toml instead.

    • enabled = false turns the server off without removing it.
    • enabled_tools or disabled_tools limit which Wellfriend tools Codex sees.
    • tool_timeout_sec raises the time a tool may run (60 seconds by default); startup_timeout_sec does the same for starting (10 seconds).
    config.toml (~/.codex/config.toml)
    [mcp_servers.wellfriend]
    url = "https://wellfriend.dev/mcp"
  3. In the IDE extension: open the gear menu, choose MCP servers, then Add server.

    • Name: wellfriend.
    • Transport: Streamable HTTP.
    • URL: the Wellfriend URL.
    • Save, then choose Restart extension.
  4. In the ChatGPT desktop app: Settings → MCP servers → Add server, choose Streamable HTTP, enter the same name and URL, save and choose Restart.

Sign in and choose permissions

  1. Sign in from the terminal. Your browser opens Wellfriend.

    • In the IDE extension or the desktop app, choose Authenticate next to wellfriend instead.
    • Inside a running Codex session, /mcp login wellfriend does the same.
    Sign in
    codex mcp login wellfriend
  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Codex once the browser says sign-in is complete.

Check that it works

  1. codex mcp list shows wellfriend as enabled. In the Codex terminal UI, /mcp lists its tools; /mcp verbose adds diagnostics.

  2. In Codex, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Codex calls Wellfriend tools when your request needs them. Name the tool or Wellfriend if it does not.
  • Approval is set per server or per tool in config.toml. default_tools_approval_mode = "writes" under [mcp_servers.wellfriend] asks before any tool that is not read-only; Wellfriend marks its read tools read-only.
  • Set one tool's approval with approval_mode under [mcp_servers.wellfriend.tools.<tool name>].

Troubleshooting

Tools are missing or the server shows an error.
Run /mcp verbose in Codex and check that the server is enabled and connected.
Sign-in completes but Codex cannot store it.
The system keyring may be unavailable. Set mcp_oauth_credentials_store = "file" at the top of config.toml and sign in again.
Authenticate in the app does not finish.
Run codex mcp login wellfriend in a terminal; the app reads the same sign-in.
The server times out while starting.
Raise startup_timeout_sec under [mcp_servers.wellfriend].
Tools stop working after you revoked the connection in Wellfriend.
Run codex mcp logout wellfriend, then codex mcp login wellfriend.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Sign out: codex mcp logout wellfriend removes the stored sign-in.
  • Remove: codex mcp remove wellfriend, or delete the [mcp_servers.wellfriend] table. enabled = false keeps it but turns it off.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

ChatGPT

Web

Before you start

  • ChatGPT on the web, at chatgpt.com.
  • Adding a custom MCP server depends on your plan and workspace role. In Business, Enterprise and Edu workspaces, admins control it in Workspace settings → Permissions & roles. If you do not see Add custom MCP server, ask your workspace admin.

Set it up

  1. Open Plugins.

    Open ChatGPT
  2. Choose the + button, then Add custom MCP server.

  3. Fill in the form:

    • Name: Wellfriend. The description is optional.
    • Connection: Server URL. Paste the URL below, including /mcp.
    • Authentication: OAuth.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  4. Read the warning and choose I understand and want to continue.

  5. Choose Create as a plugin. ChatGPT reads Wellfriend's tools and shows them for you to review.

  6. Install the plugin. Sign-in starts during install or the first time you use it, and your browser opens Wellfriend.

Sign in and choose permissions

  1. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  2. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  3. Choose Allow access. Deny ends the request without connecting anything.

  4. The Wellfriend window closes and ChatGPT shows the plugin as connected.

Check that it works

  1. Type @ in the message box and choose Wellfriend.

  2. In the same message, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. Expand the tool call in the answer to see the exact input and output.

  4. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Choose Wellfriend with @ in a conversation to use it.
  • Tools that change data ask for confirmation by default. Read tools that Wellfriend marks read-only run without asking. You can remember a decision for the rest of a conversation; a new conversation asks again.
  • Turn single tools on or off on the plugin's details page.
  • When Wellfriend adds tools, open Plugins, open the Wellfriend connection, choose Refresh and start a new conversation.

Troubleshooting

Add custom MCP server is missing.
Your plan or workspace role does not allow custom servers. Ask your workspace admin.
ChatGPT answers without calling Wellfriend.
Choose Wellfriend with @ and ask for a specific action, for example the prompt above.
New Wellfriend tools do not appear.
Open Plugins → Wellfriend, choose Refresh and start a new conversation.
Tools stop working after you revoked the connection in Wellfriend.
Open Wellfriend in Plugins, disconnect it and connect again, then approve on the consent page.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.

Disconnect

  • In ChatGPT, open Wellfriend from Plugins (or Settings → Apps) and use its Disconnect or Uninstall plugin action.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Notion

Custom Agents

Before you start

  • Notion Custom Agents on a Business or Enterprise plan. MCP connections are not available on other plans.
  • A workspace admin first turns on custom servers: Settings → Connections → Manage tab → Enable custom MCP servers. If the workspace limits connections to approved ones, the admin adds Wellfriend's URL under Approved connections → Add approved connection → Custom MCP server.
  • Full access or Can edit permission on the agent. People who can only view and interact with the agent cannot add connections.
  • Connections belong to one agent. Add Wellfriend to each agent that should use it.

Set it up

  1. Open the Custom Agent, then its Settings, and go to Tools & Access.

  2. Choose Add connection, then Custom MCP server.

  3. Fill in the form:

    • MCP server URL: paste the URL below.
    • Display name: Wellfriend (optional, but it makes the connection easy to find).
    • Authentication: leave any header or API key field empty. Wellfriend signs in with OAuth.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  4. Choose Connect. Notion registers itself with Wellfriend and starts the sign-in.

Sign in and choose permissions

  1. A Wellfriend window opens. The connection uses the account of the person who signs in here, and only that person can change its tool settings later.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Notion. Tools & Access lists Wellfriend with a Connected status.

Check that it works

  1. Refresh the agent's settings page: Wellfriend shows Connected or a green check under Tools & Access.

  2. In a chat with the agent, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. If the agent does not use Wellfriend, name it in the agent's instructions, for example "Use the Wellfriend connection for documents".

  4. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Expand the Wellfriend connection under Tools & Access to see its tools. Turn each one on or off with its toggle.
  • Each tool runs in one of three ways: Run automatically (no confirmation, best for read tools), Always ask (the default for tools that change data), or Always allow (approves every tool from the server).
  • Scheduled runs of the agent use this connection too, so they fail while it is disconnected.

Troubleshooting

Custom MCP server is missing from Add connection.
Your workspace admin has not enabled custom servers, or your plan does not include MCP connections. Ask the admin to turn on Enable custom MCP servers in Settings → Connections.
Notion says the server is not approved.
The workspace allows approved connections only. Ask the admin to add Wellfriend's URL under Approved connections.
An agent run fails with a Wellfriend tool.
Open the agent's Activity tab, check that the connection has not expired and is turned on, then disconnect and connect Wellfriend again if needed.
Tools stop working after you revoked the connection in Wellfriend.
Disconnect Wellfriend under Tools & Access, add it again and approve on the consent page.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.

Disconnect

  • In Notion: the agent's Settings → Tools & Access → Wellfriend → Disconnect, then Disconnect again to confirm. Scheduled runs that use Wellfriend stop working.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Mistral Vibe

Work, web and mobile

Before you start

  • Mistral Vibe (formerly Le Chat) in Work, on the web or in the mobile apps. Connectors live under Vibe → Work.
  • Adding a custom connector is an administrator feature. On Free, Pro and Student plans the account owner is the administrator.
  • Vibe connects to Wellfriend from its own servers over HTTPS, so your VPN or local network does not matter.

Set it up

  1. Open the Connectors page in Work.

  2. Choose + Add Connector, then switch to the Custom MCP Connector tab.

  3. Fill in the fields:

    • Connector name: wellfriend. It must be unique and have no spaces or special characters.
    • Server URL: paste the URL below.
    • Description: optional, for example Wellfriend documents.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  4. Choose Connect. Vibe detects the authentication method from the URL: Wellfriend uses OAuth 2.1 with dynamic client registration.

Sign in and choose permissions

  1. Vibe guides you through the consent flow: a Wellfriend page opens.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Vibe. The connector appears under My Connectors.

Check that it works

  1. Connectors → My Connectors lists the Wellfriend connector.

  2. In a new chat, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Vibe calls Wellfriend's functions when your request needs them.
  • Set approvals per function: Connectors → My Connectors → the Wellfriend card → Functions tab. Turn on Always allow for functions you trust; the others ask each time.
  • Keep functions that change data on manual approval; read functions are lower risk.

Troubleshooting

Vibe shows MCP connection requires additional information or is invalid.
Check the Server URL is exactly https://wellfriend.dev/mcp, including /mcp, then add the connector again.
+ Add Connector is missing.
Only administrators can add custom connectors. Ask your organisation's administrator to add Wellfriend.
The connector name is rejected.
Use wellfriend without spaces, or another name made of letters only.
Tools stop working after you revoked the connection in Wellfriend.
Remove the connector in Vibe, add it again and approve on the consent page.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.

Disconnect

  • In Vibe: open Connectors → My Connectors → the Wellfriend card and remove the connector.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Perplexity

Web and apps

Before you start

  • Perplexity on the web or in the apps, with a plan that includes custom connectors.
  • Enterprise: members can add custom connectors only when an admin turns on Allow members to add custom connectors (Enterprise settings → Connectors → Connector permissions). Admins can add Wellfriend for the whole organisation in Enterprise settings → Permissions → Connectors permissions → + Custom connector.
  • The connector is added on Perplexity's side and reaches Wellfriend over the internet.

Set it up

  1. Open Plugins in the sidebar. If you do not see Plugins yet, open Customize → Connectors.

    Open Plugins
  2. Choose Add custom, then Add MCP connector. In the dialog, select Remote.

  3. Fill in the form:

    • Name: Wellfriend.
    • MCP Server URL: paste the URL below (HTTPS is required).
    • Authentication: OAuth. Leave Client ID and Client Secret empty; Wellfriend registers Perplexity by itself.
    • Transport: Streamable HTTP.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  4. Tick the box that acknowledges the risks of custom connectors, then choose Add. The connector appears on the Plugins page.

Sign in and choose permissions

  1. Choose the Wellfriend connector card. Perplexity starts the sign-in and a Wellfriend window opens.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Perplexity. The Wellfriend connector is enabled.

Check that it works

  1. The Plugins page shows the Wellfriend connector without an error tag.

  2. In a new thread, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Perplexity uses Wellfriend's tools when your question needs them.
  • Use the … menu on the connector card to change or remove it.

Troubleshooting

Perplexity says dynamic client registration did not return a client secret.
Wellfriend registers public clients only and never issues a client secret, which is the OAuth 2.1 default. Perplexity users have reported this error with other public-client servers too. Remove the connector and add it again; if it persists, connect Wellfriend from another client for now.
The connector shows an error tag.
Perplexity could not validate the server during setup. Check the URL is exactly https://wellfriend.dev/mcp and that Transport is Streamable HTTP, then reconfigure the connector.
Add MCP connector is missing (Enterprise).
Ask an admin to turn on Allow members to add custom connectors, or to add Wellfriend for the organisation.
Tools stop working after you revoked the connection in Wellfriend.
Open the connector's … menu, remove it, add it again and approve on the consent page.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.

Disconnect

  • In Perplexity: Plugins → the Wellfriend card → … → remove the connector.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Raycast

Desktop

Before you start

  • Raycast with a Pro plan: MCP servers are a Pro feature.
  • Raycast signs in with Dynamic OAuth (dynamic client registration with PKCE), which Wellfriend supports. You need no client ID or secret.

Set it up

  1. Open Raycast and run the Install MCP Server command. You can also open Manage MCP Servers and use the Install New Server action.

  2. Fill in the form:

    • Name & Icon: Wellfriend.
    • Transport: HTTP.
    • URL: paste the URL below.
    • OAuth Type: Dynamic.
    • Custom Instructions: optional, for example "Use Wellfriend for my documents".
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  3. Choose Install MCP Server (⌘↵) to save and connect.

Sign in and choose permissions

  1. Raycast asks you to Sign In before Wellfriend's tools are available. Choose Sign In; your browser opens Wellfriend.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Raycast. Manage MCP Servers shows Wellfriend as Running.

Check that it works

  1. Manage MCP Servers lists Wellfriend with the status Running. The details pane shows the server's output.

  2. In AI Chat, after typing @ and choosing Wellfriend, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Mention the server with @ and its name in AI Chat or Quick AI. Root Search also gets an Ask command for the server.
  • MCP tools follow the Permissions setting for AI Extensions: read-only tools run without asking, and Raycast asks before the others.
  • Wellfriend marks its read tools read-only, so lookups run straight away and changes ask first.

Troubleshooting

The server status is Error.
Open Manage MCP Servers and read the details pane. Check the URL, then choose Restart.
Sign In does not appear.
Check that OAuth Type is Dynamic. Static needs a client ID, which Wellfriend does not require.
Tools stop working after you revoked the connection in Wellfriend.
Choose Logout on Wellfriend in Manage MCP Servers, then Sign In again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Sign out but keep the server: Manage MCP Servers → Wellfriend → Logout. It clears the saved tokens.
  • Remove it: Manage MCP Servers → Wellfriend → Uninstall.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Cursor

Editor

Before you start

  • Cursor 3.9 or later, where MCP servers are managed on the Customize page.
  • On team plans an admin can restrict MCP servers in Team Settings → MCP Configuration. If Wellfriend is blocked, ask them to allow its URL.

Set it up

  1. Open the install link. It opens Cursor with Wellfriend filled in. The same link is in Wellfriend under Developer API → MCP → Cursor.

    Open in Cursor
  2. Cursor asks you to confirm installing the wellfriend server. Confirm it.

  3. Or add it to an mcp.json file yourself, save it and restart Cursor:

    • ~/.cursor/mcp.json: every project.
    • .cursor/mcp.json in a project: that project only. When both files define the server, the project file wins.
    mcp.json (~/.cursor/mcp.json or .cursor/mcp.json)
    {
      "mcpServers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }

Sign in and choose permissions

  1. Open Customize in the sidebar, then MCPs. When wellfriend needs sign-in, use its sign-in action there; your browser opens Wellfriend.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Cursor. Customize → MCPs shows the server as connected with its tools.

Check that it works

  1. Customize → MCPs shows wellfriend's status and its tools.

  2. In Agent chat, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • The agent uses Wellfriend tools automatically when they fit your request.
  • Turn a tool on or off by clicking its name in the tools list at the top of the chat panel.
  • Cursor asks before running an MCP tool by default. Click the arrow next to the tool name to see its arguments before you approve.
  • Run modes in Cursor Settings → Agents → Approvals & Execution (Auto-review, Allowlist, Run Everything) also apply to MCP tools.

Troubleshooting

The server shows an error or no tools.
Open the Output panel (Ctrl+Shift+U, or Cmd+Shift+U on macOS) and choose MCP Logs.
The install link does nothing.
Cursor must be installed and allowed to open cursor:// links. Otherwise add the server through mcp.json.
The server is stuck after a change.
Remove it in Customize → MCPs and add it again.
Tools stop working after you revoked the connection in Wellfriend.
Sign in again from Customize → MCPs and approve on the consent page.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Turn it off: Customize → MCPs, switch wellfriend off. Disabled servers do not load or appear in chat.
  • Remove it in Customize → MCPs, or delete the wellfriend entry from mcp.json.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

VS Code

Editor

Before you start

  • VS Code 1.102 or later with GitHub Copilot, and a folder open.
  • Copilot Business and Enterprise: the MCP servers in Copilot policy is off by default. An organization or enterprise admin must enable it.

Set it up

  1. Open the install link. VS Code opens with the Wellfriend server filled in; confirm the install. The same link is in Wellfriend under Developer API → MCP → VS Code.

    Open in VS Code
  2. Or run MCP: Add Server from the Command Palette (Ctrl+Shift+P, or Cmd+Shift+P on macOS):

    • Server type: HTTP (HTTP or Server-Sent Events).
    • URL: paste the Wellfriend URL.
    • Server ID: wellfriend.
    • Where to save it: Global for every workspace, or Workspace for this folder only.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  3. Or write it into .vscode/mcp.json in the folder. MCP: Open User Configuration opens your personal file, which takes the same format.

    mcp.json (.vscode/mcp.json)
    {
      "servers": {
        "wellfriend": {
          "type": "http",
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }

Sign in and choose permissions

  1. If VS Code asks whether you trust wellfriend, review the URL and accept. On the first connection a browser window opens for authorization at Wellfriend.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to VS Code. The server starts and lists its tools.

Check that it works

  1. The Extensions view lists wellfriend under MCP SERVERS - INSTALLED. MCP: List Servers shows whether it is running.

  2. In the Chat view, in agent mode, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Choose which tools the agent may use with Configure Tools in the chat input (or Chat: Open Customizations → Tools).
  • One request can carry at most 128 tools. If you have many servers, turn off Wellfriend toolsets you do not need.
  • VS Code asks before running a tool. Approve a single use, or approve it for the session, the workspace or always. Chat: Manage Tool Approval changes saved answers; Chat: Reset Tool Confirmations clears them.

Troubleshooting

The server fails to start or shows no tools.
Run MCP: List Servers, choose wellfriend, then Show Output to read its log.
New Wellfriend tools do not appear.
Run MCP: Reset Cached Tools.
MCP servers are disabled.
Your organization's Copilot policy blocks them. Ask an admin to enable MCP servers in Copilot.
Tools stop working after you revoked the connection in Wellfriend.
Open the Accounts menu, sign out of the Wellfriend account, then restart the server from MCP: List Servers and sign in again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Stop, disable or uninstall: MCP: List Servers → wellfriend → Stop Server, Disable or Uninstall.
  • Sign out: Accounts menu → Manage Accounts → the Wellfriend account → Sign Out. Authentication: Remove Dynamic Authentication Providers also deletes the client registration.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Visual Studio

IDE (Windows)

Before you start

  • Visual Studio 2026, or Visual Studio 2022 version 17.14 with the latest servicing release, on Windows, signed in to GitHub Copilot.
  • Copilot Business and Enterprise: an admin controls agent mode and MCP in the GitHub Copilot policies, and may set an MCP server allow list. If Wellfriend is not allowed, Visual Studio says so; ask the admin to allow its URL.
  • Agent mode: MCP tools are used from the Copilot Chat pane in Agent mode.

Set it up

  1. Create or open the config file in Visual Studio, so its JSON schema applies, and add the server:

    • %USERPROFILE%\.mcp.json: every solution, for you only.
    • <SOLUTIONDIR>\.mcp.json: this solution; commit it to share with your team.
    • Visual Studio also reads <SOLUTIONDIR>\.vs\mcp.json, .vscode\mcp.json and .cursor\mcp.json.
    .mcp.json (%USERPROFILE%\.mcp.json or <SOLUTIONDIR>\.mcp.json)
    {
      "servers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }
  2. Save the file. With valid JSON, the Copilot agent restarts and loads the servers.

  3. Or add it from chat (Visual Studio 2026): switch the chat pane to Agent mode, choose Tools, then the + button and Add custom MCP server. In Visual Studio 2022 the + button opens the Add MCP server dialog.

    • Name: wellfriend.
    • Type: HTTP, with the URL below.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp

Sign in and choose permissions

  1. In .mcp.json, choose Authentication Required (or Manage Authentication) in the CodeLens above wellfriend, then Authenticate. Your browser opens Wellfriend.

    • If no CodeLens appears, turn it on in Tools → Options → Text Editor → CodeLens.
  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Visual Studio. The tools picker lists Wellfriend's tools.

Check that it works

  1. In the chat pane, choose Agent from the mode selector, then Tools. Wellfriend's tools are listed; tools are off by default, so select the ones you want.

  2. In agent mode, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Copilot asks before it runs a tool. Use the Confirm drop-down (Allow in Visual Studio 2022) to approve it for this session, this solution or always.
  • Reset saved approvals in Tools → Options → All Settings → GitHub → Copilot → Tools.
  • When Wellfriend adds tools, Visual Studio refetches the list and resets earlier approvals for them.
  • Visual Studio 2026 18.7 and later asks you to trust the server again when its configuration or tools change: Accept, Always Trust or Reject.

Troubleshooting

The server is not listed.
Check the file name: the user and solution files are .mcp.json with a leading dot, the .vs and .vscode files are mcp.json. Save the file again so the agent reloads it.
Visual Studio says the server is not allowed by your organization's policy.
Your GitHub admin set an MCP allow list. Ask them to add Wellfriend's URL.
The tools are off in agent mode.
Tools from a new server are disabled by default. Choose Tools in the chat pane and select Wellfriend's tools.
Tools stop working after you revoked the connection in Wellfriend.
Choose Manage Authentication in the CodeLens and sign in again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Remove the wellfriend entry from .mcp.json and save. Visual Studio stops the server and withdraws its tools at once.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Zed

Editor

Before you start

  • A current Zed release with the Agent Panel. Remote MCP servers and OAuth sign-in are built in.
  • Leave out any Authorization header: without one, Zed signs in with the standard MCP OAuth flow.

Set it up

  1. Open Settings → AI → MCP Servers (or run agent: open settings and choose MCP Servers). Choose Add Server, then Add Remote Server.

  2. Or edit the settings file yourself: run zed: open settings file from the command palette and add the server under context_servers. A project can use .zed/settings.json instead.

    • If context_servers already exists, add only the wellfriend entry inside it.
    settings.json (settings.json (zed: open settings file) or .zed/settings.json)
    {
      "context_servers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }
  3. Save. Zed starts the server.

Sign in and choose permissions

  1. Zed prompts you to authenticate against the server. Accept; your browser opens Wellfriend.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Zed. The dot next to wellfriend in Settings → AI → MCP Servers turns green.

Check that it works

  1. In Settings → AI → MCP Servers, the indicator next to wellfriend is green with the tooltip Server is active.

  2. In the Agent Panel, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • The agent uses Wellfriend's tools when they fit your request. A profile can turn servers on or off.
  • Zed asks before running a tool by default (agent.tool_permissions.default is confirm).
  • Set one tool with a rule keyed mcp:wellfriend:<tool name>, for example mcp:wellfriend:documents_search with "default": "allow".

Troubleshooting

The indicator is not green.
Hover over it to read the state, check the URL, then save the settings file again.
Zed never asks you to sign in.
Remove any headers entry from wellfriend; a configured Authorization header skips OAuth.
A tool call fails.
The error appears in the agent's reply. Run the prompt above to check the connection works.
Tools stop working after you revoked the connection in Wellfriend.
Remove wellfriend from context_servers, save, add it again and approve on the consent page.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Delete the wellfriend entry from context_servers and save.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Official guides

Antigravity

App, IDE and CLI

Before you start

  • Antigravity connects to remote servers over Streamable HTTP, which Wellfriend uses. The legacy HTTP+SSE transport and the httpUrl field are not supported; use serverUrl.
  • The Antigravity App, IDE and CLI read the same mcp_config.json. In the CLI, /mcp in the prompt panel opens the MCP Manager; the sign-in step below is in the App and IDE settings.
  • Sign-in gives you a code in the browser that you paste back into Antigravity.

Set it up

  1. In the editor's agent side panel, choose … at the top, then MCP Servers. This opens the MCP Store.

  2. Choose Manage MCP Servers, then View raw config.

  3. Add the server under mcpServers in mcp_config.json and save:

    • ~/.gemini/config/mcp_config.json applies to every project, in the App, the IDE and the CLI.
    • A workspace can use .agents/mcp_config.json instead.
    mcp_config.json (~/.gemini/config/mcp_config.json or .agents/mcp_config.json)
    {
      "mcpServers": {
        "wellfriend": {
          "serverUrl": "https://wellfriend.dev/mcp"
        }
      }
    }

Sign in and choose permissions

  1. Open Agent settings (Ctrl+,, or Cmd+, on macOS), go to the Customizations tab and choose Authenticate next to wellfriend. Your browser opens Wellfriend.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. The browser shows an authorization code. Copy it, paste it into the Antigravity settings panel and choose Submit. The server reconnects.

Check that it works

  1. Under Customizations → Installed MCP Servers, choose Refresh. wellfriend lists its tools.

  2. In the agent panel, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Once the server is installed, the agent can use its tools.
  • enabledTools in the server's entry keeps only the listed tools; disabledTools hides the listed ones.
  • MCP tools ask by default: choose Allow on the approval card. Under the Turbo permission preset they run without asking.

Troubleshooting

Submit rejects the code.
Codes are single-use and short-lived. Choose Authenticate next to wellfriend again and paste the new code straight away.
A tool call times out.
Antigravity waits 300 seconds to connect and 180 seconds per tool call. Set timeoutSeconds on the server to change both.
Tools stop working after you revoked the connection in Wellfriend.
Choose Authenticate next to wellfriend again and paste the new code.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Turn it off with "disabled": true in its entry, or delete the entry from mcp_config.json. In the Antigravity app, the trash icon next to the server uninstalls it.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Kiro

Editor

Before you start

  • The current Kiro desktop app. Kiro on the web does not support remote MCP servers.
  • Moving from Amazon Q Developer? AWS ends support for its IDE plugins on 30 April 2027 and names Kiro as the successor; set Wellfriend up here.
  • MCP support turned on: open Settings (Ctrl+,, or Cmd+, on macOS), search for MCP and enable it.

Set it up

  1. Open the install link. The kiro.dev page opens Kiro, which shows the server to add; confirm it. If Kiro does not open, choose Open in Kiro on that page. The same link is in Wellfriend under Developer API → MCP → Kiro.

    Open in Kiro
  2. Or run Kiro: Open user MCP config (JSON) from the Command Palette, add the server and save. Kiro reloads the file by itself.

    • ~/.kiro/settings/mcp.json: every workspace.
    • .kiro/settings/mcp.json: one workspace (Kiro: Open workspace MCP config (JSON)). It wins over the user file and loads only in a trusted workspace.
    mcp.json (~/.kiro/settings/mcp.json)
    {
      "mcpServers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }

Sign in and choose permissions

  1. When Kiro connects, it opens Wellfriend's sign-in in your browser.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Kiro. The MCP servers tab in the Kiro panel shows wellfriend as connected.

Check that it works

  1. Kiro panel → MCP servers: wellfriend is connected. Expand it to see its tools.

  2. In Kiro chat, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Expand the server in the MCP servers tab and click a tool to enable or disable it.
  • Right-click wellfriend for Reconnect, Disable, Disable All Tools, Enable All Tools and Show MCP Logs.
  • Kiro asks before calling a tool. To skip the question for read tools, list them in autoApprove, for example "autoApprove": ["documents_search"].

Troubleshooting

The server shows an error.
Right-click wellfriend and choose Show MCP Logs, or open the Output panel and choose Kiro - MCP Logs.
Kiro reports a scope error during sign-in.
Add "oauthScopes": [] to the wellfriend entry so Kiro asks only for what Wellfriend offers.
The workspace config is ignored.
Trust the workspace, or add the server to the user file instead.
Tools stop working after you revoked the connection in Wellfriend.
Choose Re-authenticate in the MCP servers tab and approve again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Turn it off with "disabled": true, or delete the wellfriend entry from mcp.json; Kiro reloads the change.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Kiro CLI

CLI

Before you start

  • The Kiro CLI (kiro-cli), signed in. It reads the same mcp.json files as the Kiro editor.

Set it up

  1. Add the server under mcpServers and save:

    • ~/.kiro/settings/mcp.json: every workspace.
    • .kiro/settings/mcp.json: one workspace. When both define the server, the workspace file wins.
    mcp.json (~/.kiro/settings/mcp.json or .kiro/settings/mcp.json)
    {
      "mcpServers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }
  2. Start a session with kiro-cli (or kiro-cli chat).

Sign in and choose permissions

  1. When Kiro connects to Wellfriend it opens the sign-in page in your browser. If it does not, run /mcp auth in the chat.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to the terminal. The server connects and its tools load.

Check that it works

  1. Run /mcp in the chat: wellfriend is listed as connected.

  2. In the kiro-cli chat, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Kiro asks before calling a tool. To skip the question for read tools, list them in autoApprove, for example "autoApprove": ["documents_search"].

Troubleshooting

Sign-in is stuck.
Run /mcp cancel-auth, then /mcp auth.
Kiro reports a scope error during sign-in.
Add "oauthScopes": [] to the wellfriend entry so Kiro asks only for what Wellfriend offers.
Tools stop working after you revoked the connection in Wellfriend.
Run /mcp auth and approve again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Sign out with /mcp logout, which removes the stored credentials. Remove the wellfriend entry from mcp.json to delete the server.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Devin Desktop

Desktop (Devin Local), formerly Windsurf

Before you start

  • Devin Desktop, formerly Windsurf (renamed on 2 June 2026). Its default agent, Devin Local, reads the Devin CLI config files, so these steps match the Devin CLI guide.
  • The config file moved in v3000.3 (the Local 3.6 release). Update Devin if ~/.config/devin/mcp_config.json is not read.
  • Teams and Enterprise: an admin must allow MCP (Allow MCP, MCP allowlist). An allowlist entry must use the server ID wellfriend exactly.

Set it up

  1. Add the server under mcpServers and save:

    • ~/.config/devin/mcp_config.json (%APPDATA%\devin\mcp_config.json on Windows): every project.
    • .devin/mcp_config.json in a project: shared with everyone who opens it.
    • A url entry uses Streamable HTTP by default.
    mcp_config.json (~/.config/devin/mcp_config.json or %APPDATA%\devin\mcp_config.json or .devin/mcp_config.json)
    {
      "mcpServers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }
  2. Or add it from a terminal with the Devin CLI guide on this page; both read the same file.

Sign in and choose permissions

  1. Devin prompts you to sign in the first time the server is used, and your browser opens Wellfriend. devin mcp login wellfriend starts it from a terminal.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Devin Desktop. wellfriend is listed with its tools.

Check that it works

  1. devin mcp list shows wellfriend.

  2. In a Devin Local tab, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Devin asks before each MCP tool call. Allow the tool or the whole server, once or permanently.

Troubleshooting

The server says Auth required.
Run devin mcp logout wellfriend, then devin mcp login wellfriend.
The server does not appear.
Check the file path above and that Devin is v3000.3 or later.
The server is blocked by your team.
Ask an admin to add wellfriend to the MCP allowlist with exactly that ID.
Tools stop working after you revoked the connection in Wellfriend.
Sign in again with devin mcp login wellfriend.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Delete the wellfriend entry from mcp_config.json, or run devin mcp remove wellfriend. devin mcp logout wellfriend signs out and keeps it.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Devin CLI

CLI

Before you start

  • The Devin CLI, signed in. Devin Desktop's Devin Local agent reads the same config files.
  • No Wellfriend API key: the CLI signs in through your browser.

Set it up

  1. Add the server. -s user makes it available in every project; without it the server is saved to the local scope.

    • -s project saves it to .devin/mcp_config.json in the project, for everyone who opens it.
    Devin CLI command
    devin mcp add -s user wellfriend https://wellfriend.dev/mcp
  2. Or add it to the config file yourself:

    mcp_config.json (~/.config/devin/mcp_config.json or .devin/mcp_config.json)
    {
      "mcpServers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }

Sign in and choose permissions

  1. Sign in from the terminal. Your browser opens Wellfriend. If you skip this, the CLI asks you to authenticate the first time the server is used.

    Sign in
    devin mcp login wellfriend
  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to the terminal once the browser says sign-in is complete.

Check that it works

  1. devin mcp list shows wellfriend.

  2. In a Devin CLI session, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Devin asks before each MCP tool call. Allow the tool or the whole server, once or permanently.

Troubleshooting

The server says Auth required.
Run devin mcp logout wellfriend, then devin mcp login wellfriend.
devin mcp list does not show the server.
It was added to the local scope from another folder. Add it again with -s user.
Tools stop working after you revoked the connection in Wellfriend.
Run devin mcp login wellfriend and approve again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Sign out: devin mcp logout wellfriend removes the stored sign-in. Remove: devin mcp remove wellfriend.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Copilot CLI

CLI

Before you start

  • GitHub Copilot CLI installed and signed in (copilot login).
  • Copilot Business and Enterprise: your organisation's MCP registry and allow list apply. If Wellfriend is blocked, ask an admin to allow it.
  • VS Code's .vscode/mcp.json is not read by Copilot CLI; add Wellfriend here as well.

Set it up

  1. Add the server from a terminal. It goes to ~/.copilot/mcp-config.json and is available at once.

    Copilot CLI command
    copilot mcp add --transport http wellfriend https://wellfriend.dev/mcp
  2. Or inside a session, run /mcp add, then use Tab to move between fields:

    • Server Name: wellfriend.
    • Server Type: HTTP (Streamable HTTP).
    • URL: the Wellfriend URL. Leave HTTP Headers empty.
    • Tools: * for all tools.
    • Press Ctrl+S to save.
  3. Or edit the config file yourself. A repository can use .mcp.json or .github/mcp.json instead; those load only in a trusted folder.

    mcp-config.json (~/.copilot/mcp-config.json)
    {
      "mcpServers": {
        "wellfriend": {
          "type": "http",
          "url": "https://wellfriend.dev/mcp",
          "tools": [
            "*"
          ]
        }
      }
    }

Sign in and choose permissions

  1. Copilot CLI signs you in to MCP servers through its OAuth callback flow, identifying itself with a Client ID Metadata Document: your browser opens Wellfriend. If you cancel, wellfriend stays in needs-auth; run /mcp auth to sign in again.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to the terminal. The server reconnects by itself.

Check that it works

  1. /mcp list (or copilot mcp list) shows wellfriend connected; /mcp show wellfriend lists its tools.

  2. In Copilot CLI, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Copilot CLI asks before it runs a tool you have not allowed.
  • Allow one Wellfriend tool for a run with --allow-tool='wellfriend(documents_search)', or every Wellfriend tool with --allow-tool='wellfriend'. --deny-tool blocks them the same way.
  • /reset-allowed-tools clears the approvals of the current session.

Troubleshooting

wellfriend shows needs-auth.
Run /mcp auth and approve Wellfriend.
The project's .mcp.json server is ignored.
Project servers load only after you trust the folder. Start Copilot CLI in the repository and confirm folder trust, or add the server to your user config.
Calls time out.
Raise timeout (milliseconds, 30000 by default) on the server, or pass --timeout to copilot mcp add.
Tools stop working after you revoked the connection in Wellfriend.
Run /mcp auth to re-authenticate and approve again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Turn it off: copilot mcp disable wellfriend (or /mcp disable wellfriend). It stays off across sessions.
  • Remove it: copilot mcp remove wellfriend (or /mcp delete wellfriend).
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Copilot Studio

Agents

Before you start

  • A Microsoft Copilot Studio agent you can edit. Copilot Studio connects to remote servers over Streamable HTTP, which Wellfriend uses.
  • Copilot Studio reaches MCP servers through Power Platform connectors, so your organisation's data policies for connectors also apply to Wellfriend.

Set it up

  1. Open the agent's Tools page and choose Add a tool, then New tool, then Model Context Protocol. The MCP onboarding wizard opens.

  2. Fill in the required fields:

    • Server name: Wellfriend.
    • Server description: for example, Wellfriend documents and developer account. The agent uses it to decide when to call the server.
    • Server URL: paste the URL below.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  3. Authentication: choose OAuth 2.0, then the Dynamic discovery type. Wellfriend supports dynamic client registration with discovery, so nothing else is needed.

  4. Choose Create, then Next. The Add tool dialog opens.

Sign in and choose permissions

  1. In Add tool, choose Create a new connection. A Wellfriend sign-in window opens.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Copilot Studio and choose Add to agent.

Check that it works

  1. The Tools page lists Wellfriend with its tools.

  2. In the agent's test chat, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • The agent decides when to call Wellfriend from the server description and each tool's description.
  • Open Wellfriend on the Tools page to turn single tools on or off.

Troubleshooting

Model Context Protocol is not offered under New tool.
A data policy may block the connector. Ask your Power Platform admin.
Creating the connection fails.
Check the Server URL is exactly https://wellfriend.dev/mcp and that Dynamic discovery is selected, then create the tool again.
Tools stop working after you revoked the connection in Wellfriend.
Create a new connection for the Wellfriend tool and approve again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.

Disconnect

  • Remove the Wellfriend tool from the agent's Tools page. Edit or delete the connector under Custom connectors in Power Apps or Power Automate.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Junie

CLI

Before you start

  • Junie CLI. Junie in JetBrains IDEs reads the same mcp.json; the sign-in steps below are the ones JetBrains documents for the CLI.
  • JetBrains AI Assistant's own MCP settings accept only header tokens or local servers, not OAuth sign-in. To use Wellfriend there, follow Any other MCP client and its mcp-remote bridge.

Set it up

  1. Add the server to an mcp.json file and save:

    • ~/.junie/mcp/mcp.json: you, in every project.
    • .junie/mcp/mcp.json in the project root: everyone who opens the project (commit it to share).
    mcp.json (~/.junie/mcp/mcp.json or .junie/mcp/mcp.json)
    {
      "mcpServers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }
  2. Or let the MCP Installation Assistant write it: run /mcp, press Ctrl+A twice to set up a server from scratch, choose Project scope or User scope, then Remote, and enter the URL.

    Wellfriend MCP server URL
    https://wellfriend.dev/mcp

Sign in and choose permissions

  1. Run /mcp. wellfriend shows Authorization required. Select it to open its menu, choose Authorize and log in on the browser page that opens.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Junie. /mcp shows wellfriend as Active.

Check that it works

  1. /mcp lists wellfriend with the status Active.

  2. In Junie, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Junie uses Wellfriend's tools when your task needs them.
  • Disable the server from the /mcp list to keep it configured but unused.

Troubleshooting

The status is Failed or Inactive.
Select the server in /mcp and choose Reconnect. Failed can mean invalid JSON or a failed sign-in.
The status stays Authorization required.
Choose Authorize again and finish the browser sign-in.
Requests time out.
Set timeout on the server in milliseconds (1000 to 3600000; 60000 by default).
Tools stop working after you revoked the connection in Wellfriend.
Select the server in /mcp, choose Authorize and approve again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Run /mcp, select wellfriend and choose Disable to keep it, or Delete to remove its configuration.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Cline

CLI

Before you start

  • The Cline CLI, which documents browser sign-in for remote servers (Authorize OAuth).
  • The Cline IDE extensions can add a remote server on the Remote Servers tab of MCP Servers (Server Name, Server URL, Transport Type Streamable HTTP), but Cline's docs do not describe OAuth sign-in there.

Set it up

  1. Add the server from a terminal. --yes skips the wizard; leave it out to review the fields first.

    Cline command
    cline mcp add wellfriend https://wellfriend.dev/mcp --transport http --yes
  2. Or add it to the MCP settings file yourself. Set "type": "streamableHttp": without it, Cline uses the older SSE transport.

    • CLINE_MCP_SETTINGS_PATH points the CLI at another file.
    cline_mcp_settings.json (~/.cline/data/settings/cline_mcp_settings.json)
    {
      "mcpServers": {
        "wellfriend": {
          "type": "streamableHttp",
          "url": "https://wellfriend.dev/mcp",
          "disabled": false,
          "autoApprove": []
        }
      }
    }

Sign in and choose permissions

  1. Run cline mcp, choose Authorize OAuth and pick wellfriend. Your browser opens Wellfriend.

    Open the MCP wizard
    cline mcp
  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to the terminal once the browser says sign-in is complete.

Check that it works

  1. cline config mcp lists wellfriend as enabled (--json for machine-readable output).

  2. In Cline, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Cline asks before each tool call unless the tool is listed in autoApprove.
  • List only read tools there, for example "autoApprove": ["documents_search"], and review the rest before you approve them.

Troubleshooting

The server does not connect.
Check the URL and that type is streamableHttp, then run Authorize OAuth again.
Tools are missing.
Confirm the server is enabled in cline mcp and that sign-in finished.
Calls time out.
Increase the MCP timeout for the server.
Tools stop working after you revoked the connection in Wellfriend.
Run cline mcp, choose Authorize OAuth and pick wellfriend again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Turn it off in cline mcp (Enable/disable server), or remove it: cline mcp remove wellfriend.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

goose

Desktop and CLI

Before you start

  • goose Desktop or the goose CLI. Both read ~/.config/goose/config.yaml.
  • goose obtains a client ID by itself (Client ID Metadata Document or dynamic registration); Wellfriend supports both, so you set no client_id.

Set it up

  1. Open the install link. goose shows the Wellfriend extension to add; confirm it. The same link is in Wellfriend under Developer API → MCP → goose.

    Open in goose
  2. Or in goose Desktop: open the sidebar, choose Extensions, then Add custom extension, and fill in:

    • Type: Streamable HTTP.
    • ID: wellfriend. Name: Wellfriend.
    • Endpoint: the URL below. Timeout: 300.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  3. Or from a terminal: run goose configure, choose Add Extension, then Remote Extension (Streamable HTTP), and answer the prompts with the same name and URL.

  4. Or edit ~/.config/goose/config.yaml yourself:

    config.yaml (~/.config/goose/config.yaml)
    extensions:
      wellfriend:
        name: Wellfriend
        type: streamable_http
        uri: https://wellfriend.dev/mcp
        enabled: true
        timeout: 300

Sign in and choose permissions

  1. The first time goose connects to Wellfriend, it opens a browser window for sign-in. The callback runs on 127.0.0.1.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to goose. The Wellfriend extension is enabled.

Check that it works

  1. Extensions lists Wellfriend with its toggle on.

  2. In a new goose session, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Turn the extension on or off with its toggle in Extensions; the change applies to new sessions.
  • goose calls Wellfriend's tools when your task needs them.

Troubleshooting

The install link does nothing.
goose must be installed and allowed to open goose:// links. Otherwise add the extension in Extensions or goose configure.
The browser window does not open.
Turn the extension off and on, or start a new session, so goose connects again.
Your network only allows a fixed callback port.
Set GOOSE_OAUTH_CALLBACK_PORT to a fixed port before starting goose.
Tools stop working after you revoked the connection in Wellfriend.
Start a new session so goose signs in again, and approve Wellfriend.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Turn it off with its toggle in Extensions, or remove the wellfriend entry from config.yaml.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

OpenCode

CLI

Before you start

  • OpenCode installed. It signs in to remote servers with OAuth by itself, using dynamic client registration.
  • Each MCP server adds to the context; turn off toolsets you do not need with Wellfriend's ?toolsets= URL option.

Set it up

  1. Add the server under mcp and save:

    • ~/.config/opencode/opencode.json: every project.
    • opencode.json in a project root: that project; it overrides the global file.
    opencode.json (~/.config/opencode/opencode.json or opencode.json in the project root)
    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "wellfriend": {
          "type": "remote",
          "url": "https://wellfriend.dev/mcp",
          "enabled": true
        }
      }
    }

Sign in and choose permissions

  1. OpenCode asks you to authenticate the first time it uses Wellfriend. To start it yourself, run the command below; your browser opens Wellfriend.

    Sign in
    opencode mcp auth wellfriend
  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to the terminal. OpenCode stores the sign-in in ~/.local/share/opencode/mcp-auth.json.

Check that it works

  1. opencode mcp list shows wellfriend and its sign-in status.

  2. In OpenCode, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Wellfriend's tools are prefixed with the server name, for example wellfriend_documents_search.
  • Turn them off everywhere with "tools": { "wellfriend_*": false }, then turn them back on for one agent in its tools setting.

Troubleshooting

Sign-in fails.
Run opencode mcp debug wellfriend: it shows the sign-in status, tests the connection and tries OAuth discovery.
OpenCode never asks you to sign in.
Make sure the entry has no "oauth": false and no Authorization header.
The server is skipped.
Check "enabled": true and that the project file does not override it.
Tools stop working after you revoked the connection in Wellfriend.
Run opencode mcp logout wellfriend, then opencode mcp auth wellfriend.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Sign out: opencode mcp logout wellfriend.
  • Turn it off with "enabled": false, or delete the wellfriend entry.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Amp

CLI

Before you start

  • Amp installed and signed in.
  • No Wellfriend API key: Amp signs in through your browser, with a Client ID Metadata Document or dynamic client registration.

Set it up

  1. Add the server from a terminal:

    Amp command
    amp mcp add wellfriend https://wellfriend.dev/mcp
  2. Or add it under amp.mcpServers in a settings file:

    • ~/.config/amp/settings.json: every workspace.
    • .amp/settings.json: this workspace. It wins over the user file.
    settings.json (~/.config/amp/settings.json or .amp/settings.json)
    {
      "amp.mcpServers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }

Sign in and choose permissions

  1. Start Amp. It opens Wellfriend's sign-in page in your browser.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Amp once the browser says sign-in is complete.

Check that it works

  1. In Amp, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  2. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Amp uses Wellfriend's tools when your request needs them.

Troubleshooting

Sign-in failed or used another account.
Run amp mcp oauth logout wellfriend and start Amp again; it signs in afresh.
Tools stop working after you revoked the connection in Wellfriend.
Run amp mcp oauth logout wellfriend, start Amp and approve again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Sign out: amp mcp oauth logout wellfriend clears the stored sign-in. Remove the wellfriend entry from amp.mcpServers to delete the server.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Warp

Terminal

Before you start

  • Warp with its agent features. These steps are for agents on your machine.
  • Cloud agents cannot finish a browser sign-in. To use Wellfriend there, add it as a managed MCP installation on the Integrations page, authorize it once and reference it by its warp_id.

Set it up

  1. Open Settings → Agents → MCP servers. Warp Drive → Personal → MCP Servers, or Open MCP Servers in the Command Palette, opens the same page.

  2. Choose + Add, then Streamable HTTP or SSE Server (URL), paste the JSON below and save.

    MCP server JSON (~/.warp/.mcp.json or .warp/.mcp.json)
    {
      "mcpServers": {
        "wellfriend": {
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }
  3. Or put the same JSON in a file:

    • ~/.warp/.mcp.json: global.
    • .warp/.mcp.json in a repository root: that project. Project servers never start by themselves; turn them on in the MCP servers page.

Sign in and choose permissions

  1. Choose Start on wellfriend. Warp has no saved sign-in yet, so it opens your browser.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Warp. Warp stores the sign-in on this device; another machine signs in again.

Check that it works

  1. The MCP servers page shows wellfriend running. View Logs shows its output.

  2. In an agent conversation, ask: "List my five most recently updated Wellfriend documents." The client calls documents_search and lists titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Warp's agent calls Wellfriend's tools when your request needs them; your agent profile's permissions decide what runs without asking.
  • A server running when you quit Warp starts again next time; a stopped one stays stopped.

Troubleshooting

The server fails to start.
Choose View Logs on the server and read the error. Remove API keys before you share logs.
Sign-in keeps failing.
Revoke the server's credentials from the MCP servers page, or delete ~/.mcp-auth, then start the server again and sign in.
The agent ignores Wellfriend.
Some models use MCP tools better than others. Name Wellfriend in the prompt or try another model.
Tools stop working after you revoked the connection in Wellfriend.
Revoke the stored credentials in the MCP servers page and start the server again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • Stop or delete wellfriend on the MCP servers page. Revoke its stored credentials there too.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Make

Scenarios

Before you start

  • A Make account with a scenario to edit.
  • Make connects to Wellfriend from Make's servers, so Wellfriend acts as the account that approves the connection, inside the workspace you choose.
  • Make's OAuth redirect is https://www.make.com/oauth/cb/mcp. Wellfriend accepts it when Make registers; you set nothing in Wellfriend.

Set it up

  1. Open the scenario and add the MCP Client module Call a tool.

  2. Choose Create a connection. Optionally enter a Connection name, such as Wellfriend.

  3. In MCP Server, choose + New MCP Server and fill in:

    • URL: paste the URL below.
    • API Key / Access token: leave empty. Wellfriend signs in with OAuth.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  4. Choose Save.

Sign in and choose permissions

  1. Make asks you to authenticate. A Wellfriend window opens.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Make. The connection is selected in the module.

Check that it works

  1. In Call a tool, open Tool Name: the list shows Wellfriend's tools. Choose documents_search, then run the module once.

  2. The module's output lists your documents. Make recommends testing with Call a tool before Execute an action with AI.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Call a tool runs one named tool with the Arguments you map.
  • Execute an action with AI lets an AI choose among the Tools you select for a Task; pick only the Wellfriend tools the scenario needs.
  • An AI agent can use Wellfriend too: on the Run an agent module, choose + → Add tool → MCP Client → Call a tool.

Troubleshooting

Make asks for a redirect URI.
Wellfriend registers Make's redirect automatically. If the error remains, remove the connection and create it again.
The connection fails right after Save.
Check the URL is exactly https://wellfriend.dev/mcp and the API Key / Access token field is empty.
Tools stop working after you revoked the connection in Wellfriend.
Reauthorize the connection in Make (or create it again) and approve Wellfriend.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.

Disconnect

  • In Make, delete the Wellfriend connection from your connections, or remove it from the modules that use it.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Zapier

Zaps

Before you start

  • A Zapier account. MCP Client is a beta app; it supports tool calls over Streamable HTTP and SSE.
  • Zapier connects to Wellfriend from Zapier's servers, as the account that approves the connection.

Set it up

  1. Open the Apps page and choose + Add connection.

  2. Search for MCP Client, select it and choose Add connection. A Connect an Account page opens.

  3. Fill in the fields:

    • Server URL: paste the URL below.
    • Transport: Streamable HTTP.
    • OAuth: Yes (the Bearer Token field is then ignored).
    • Bearer Token: leave empty.
    Wellfriend MCP server URL
    https://wellfriend.dev/mcp
  4. Choose Yes, Continue to MCP Client. A new window opens.

Sign in and choose permissions

  1. Log in to Wellfriend in that window and grant Zapier access.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Return to Zapier. The MCP Client connection is listed on the Apps page.

Check that it works

  1. In a Zap, add the MCP Client action Run Tool, choose the Wellfriend connection and the tool documents_search, then test the step.

  2. The test returns a list of your documents.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Run Tool runs one tool and returns one result. Run Read-Only Tool is a search that runs read-only tools.
  • The triggers New Tool and New Tool Result start a Zap when the server adds a tool or a tool returns a result.
  • If the connection name does not say Wellfriend, rename it in Manage your app connections.

Troubleshooting

The connection is not offered in the Zap editor.
Refresh the page.
Zapier asks you to reconnect straight away.
Check that Transport is Streamable HTTP and OAuth is Yes, and that your Wellfriend role allows the access you approved.
Tools stop working after you revoked the connection in Wellfriend.
Reconnect the MCP Client connection in Zapier and approve Wellfriend again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.

Disconnect

  • In Zapier, remove the MCP Client connection from your app connections.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

OpenRouter Agent SDK

TypeScript SDK

Before you start

  • OpenRouter's documented way to use a remote MCP server is its Agent SDK for TypeScript: createMCPTools from @openrouter/mcp connects to the server and hands its tools to callModel. OpenRouter's chat has no documented setting for adding your own MCP server.
  • Running an agent CLI through OpenRouter (Ori Harness)? Add Wellfriend to that agent with its own guide on this page; the MCP setup does not change.
  • Node.js and an OpenRouter account. The Wellfriend side needs no key: the SDK signs in with OAuth through an MCP SDK OAuthClientProvider that you pass as auth: { kind: 'oauth', provider }. OpenRouter's page does not name the package that supplies it.

Set it up

  1. Install OpenRouter's MCP package and the Agent SDK:

    Install
    npm install @openrouter/mcp @openrouter/agent
  2. Implement an MCP SDK OAuthClientProvider that works with @openrouter/mcp. As the MCP TypeScript SDK documents the interface, it stores the client registration, tokens and PKCE verifier, and opens the browser in redirectToAuthorization.

    • redirectUrl and clientMetadata.redirect_uris: a loopback address such as http://localhost:8090/callback. Wellfriend accepts loopback redirects on any port.
    • Keep tokens in secure storage (an OS keychain), not a plain file.
    • Wellfriend registers your app as a public client; it never issues a client secret.
  3. Connect the SDK to Wellfriend with that provider:

    agent.ts (the file that calls callModel)
    import { createMCPTools } from "@openrouter/mcp";
    
    // provider: an MCP SDK OAuthClientProvider, signed in to Wellfriend once
    // (see the steps).
    const wellfriend = await createMCPTools({
      url: "https://wellfriend.dev/mcp",
      auth: { kind: "oauth", provider },
      toolNamePrefix: "wellfriend_",
    });
    
    // Pass wellfriend.tools to callModel({ tools }); call wellfriend.close() when done.

Sign in and choose permissions

  1. On the first connection there are no tokens yet. Sign in once with the MCP SDK's StreamableHTTPClientTransport for https://wellfriend.dev/mcp and your provider: connect() throws UnauthorizedError after calling redirectToAuthorization, and the browser opens Wellfriend.

  2. On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.

  3. The consent page asks Allow, followed by the client's name. Choose where and how it works:

    • Workspace: the workspace whose documents the client may use.
    • Environment: Live for your real documents, Test for test data.
    • Permission mode: Read only, Read & write or Full access. Start with Read only if you only want answers about your documents (see Permission modes).
  4. Choose Allow access. Deny ends the request without connecting anything.

  5. Wellfriend redirects to your redirect URL with code and state. Compare state, call transport.finishAuth(params), and the provider saves the tokens. createMCPTools with the same provider then connects without another sign-in.

Check that it works

  1. wellfriend.tools contains one tool per Wellfriend tool, prefixed wellfriend_, for example wellfriend_documents_search.

  2. Call callModel with tools: wellfriend.tools and the input "List my five most recently updated Wellfriend documents." The model calls wellfriend_documents_search and answers with titles from the workspace you approved.

  3. In Wellfriend, open Dashboard → Developer API → MCP. The client is listed under Connections → Clients. Choose Test: it reports Working and the number of tools this connection can use.

Use the tools

  • Spread wellfriend.tools into callModel({ tools }) next to your own tools; results carry source: "mcp".
  • includeTools and excludeTools limit which Wellfriend tools the model sees.
  • cacheCredentials is off by default. If you turn it on, the snapshot holds tokens: store it as a secret.
  • Call wellfriend.close() when the agent is done.

Troubleshooting

connect() throws UnauthorizedError every time.
The provider does not keep tokens between runs. Save them in saveTokens and return them from tokens().
finishAuth rejects the callback.
Compare state with the value your provider created, then pass the whole URLSearchParams from the callback to finishAuth, not only the code.
Tools stop working after you revoked the connection in Wellfriend.
Delete the stored tokens and sign in again.
The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know, usually because an old registration expired. Remove the server from the client, add it again and sign in.
A tool answers that a scope or permission is missing.
The connection's permission mode, or your role in that workspace, does not allow the action. Change the mode for the connection in Developer API → MCP, or revoke it and connect again with a wider mode.
The connection fails on a company network.
The client must reach https://wellfriend.dev over HTTPS: the /mcp endpoint, the /.well-known/ discovery documents and the /oauth/ sign-in pages. Ask your network team to allow that host. A proxy that inspects TLS must use a certificate the client trusts.

Disconnect

  • In your code, call wellfriend.close() and delete the provider's stored tokens and client registration.
  • In Wellfriend, open Dashboard → Developer API → MCP → Connections → Clients and choose Revoke on the client. Its sign-in ends at once; the client must sign in again to reconnect.

Any other MCP client

Remote HTTP or stdio

Clients that support remote servers

  1. Add https://wellfriend.dev/mcp as a remote MCP server using the Streamable HTTP transport. Leave any API key, token or header field empty.

    JSON
    {
      "mcpServers": {
        "wellfriend": {
          "type": "http",
          "url": "https://wellfriend.dev/mcp"
        }
      }
    }
    TOML
    [mcp_servers.wellfriend]
    url = "https://wellfriend.dev/mcp"
  2. The client discovers Wellfriend's sign-in from the server, registers itself (Client ID Metadata Document or dynamic client registration) and opens the browser. Approve it on the consent page and choose a permission mode.

  3. If your client cannot register itself, register one in Developer API → MCP → Other client → Register client, then give the client that client ID and your redirect URI.

Clients that only start local (stdio) servers

  1. Use the mcp-remote bridge, which runs locally over stdio and connects to Wellfriend over HTTPS. It is a community package on npm, not part of Wellfriend; it needs Node.js 18 or later. This is also the route for clients whose own remote-server settings take only a header token, not an OAuth sign-in, such as JetBrains AI Assistant, Roo Code, Continue, LM Studio and Augment: add the bridge to them as a local (stdio) server.

    Client config using mcp-remote
    {
      "mcpServers": {
        "wellfriend": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "https://wellfriend.dev/mcp"
          ]
        }
      }
    }
  2. On first start it opens the browser for Wellfriend's sign-in and consent, then keeps the sign-in in ~/.mcp-auth.

  3. To sign in again or switch accounts, close the client, delete ~/.mcp-auth and start the client again. Behind a TLS-inspecting proxy, point NODE_EXTRA_CA_CERTS at your company's certificate.

Troubleshooting

Any client

The browser shows Invalid authorization request.
The client sent a client ID or redirect address Wellfriend does not know. Remove the server from the client, add it again and reconnect.
The browser approved the connection but the app still says Connect.
Return to the app from the browser (desktop apps ask to open the app), or restart the app. The connection is listed in Developer API → MCP once it worked.
The client only offers read tools, or a tool says a scope is missing.
The connection was approved with a narrower permission mode. Change the mode in Developer API → MCP, or revoke it and connect again with the mode you need.
Tools do not appear in a chat.
Several apps switch connectors on per conversation or per tool. Turn Wellfriend on in that chat's tools or connectors menu.
The client only supports local (stdio) servers.
Use the mcp-remote bridge described under Any other MCP client.
The connection fails on a company network.
Allow HTTPS to wellfriend.dev (the /mcp endpoint, /.well-known/ discovery and /oauth/ sign-in). A TLS-inspecting proxy must use a certificate the client trusts.
You revoked the connection and want it back.
Sign in again from the client (its Authenticate, Connect or login command) and approve on the consent page.