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.
- Claude CodeCLI
- Claude appDesktop and web
- CodexCLI and IDE
- ChatGPTWeb
- NotionCustom Agents
- Mistral VibeWork, web and mobile
- PerplexityWeb and apps
- RaycastDesktop
- CursorEditor
- VS CodeEditor
- Visual StudioIDE (Windows)
- ZedEditor
- AntigravityApp, IDE and CLI
- KiroEditor
- Kiro CLICLI
- Devin DesktopDesktop (Devin Local), formerly Windsurf
- Devin CLICLI
- Copilot CLICLI
- Copilot StudioAgents
- JunieCLI
- ClineCLI
- gooseDesktop and CLI
- OpenCodeCLI
- AmpCLI
- WarpTerminal
- MakeScenarios
- ZapierZaps
- OpenRouter Agent SDKTypeScript SDK
- Any other MCP clientRemote HTTP or stdio bridge
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.
| Mode | What the client can do | Choose it when |
|---|---|---|
| Read only | View 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 & write | Everything 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 access | Every 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
CLIBefore 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
Add the server. Without
--scopeit uses the local scope: only you, only in the current project.Claude Code command claude mcp add --transport http wellfriend https://wellfriend.dev/mcpTo pick another scope, put
--scopebefore the server name:local(default): only you, in this project. Stored in~/.claude.jsonunder the project.project: everyone who opens the project. Stored in.mcp.jsonin 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" } } }Check that it was added.
claude mcp listshows wellfriend with the status Needs authentication until you sign in.List servers claude mcp list
Sign in and choose permissions
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 wellfrienddoes the same. Over SSH, add--no-browser: it prints the address, and you paste the final redirect address back.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to the terminal.
/mcpnow shows wellfriend as connected.
Check that it works
claude mcp listshows ✔ Connected next to wellfriend, and/mcpshows how many tools it offers.In a Claude Code session, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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 examplemcp__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 formcp__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_TOKENSenvironment 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 listsays 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_TIMEOUTenvironment variable to 60000 (milliseconds) before starting Claude Code:export MCP_TIMEOUT=60000in 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.devover HTTPS: the/mcpendpoint, 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, orclaude mcp logout wellfriend. - Remove it:
claude mcp remove wellfriend(add--scopeif 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 webBefore 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
Open Customize → Connectors. In the desktop app, choose Customize in the sidebar, then Connectors.
Open ConnectorsChoose Add custom connector.
- Some accounts show Add, then Custom, then Web instead. Choose those.
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/mcpReview 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.
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.
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
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.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
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
Customize → Connectors lists Wellfriend as Connected.
Start a chat, choose + in the lower left of the message box, then Connectors, and switch Wellfriend on.
In that chat, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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/mcppath. 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 IDEBefore 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
Add the server from a terminal:
Codex command codex mcp add wellfriend --url https://wellfriend.dev/mcpOr add it to
~/.codex/config.tomlyourself. A trusted project can use its own.codex/config.tomlinstead.enabled = falseturns the server off without removing it.enabled_toolsordisabled_toolslimit which Wellfriend tools Codex sees.tool_timeout_secraises the time a tool may run (60 seconds by default);startup_timeout_secdoes the same for starting (10 seconds).
config.toml (~/.codex/config.toml) [mcp_servers.wellfriend] url = "https://wellfriend.dev/mcp"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.
- Name:
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
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 wellfrienddoes the same.
Sign in codex mcp login wellfriendOn Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Codex once the browser says sign-in is complete.
Check that it works
codex mcp listshows wellfriend as enabled. In the Codex terminal UI,/mcplists its tools;/mcp verboseadds diagnostics.In Codex, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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_modeunder[mcp_servers.wellfriend.tools.<tool name>].
Troubleshooting
- Tools are missing or the server shows an error.
- Run
/mcp verbosein 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 ofconfig.tomland sign in again. - Authenticate in the app does not finish.
- Run
codex mcp login wellfriendin a terminal; the app reads the same sign-in. - The server times out while starting.
- Raise
startup_timeout_secunder[mcp_servers.wellfriend]. - Tools stop working after you revoked the connection in Wellfriend.
- Run
codex mcp logout wellfriend, thencodex 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.devover HTTPS: the/mcpendpoint, 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 wellfriendremoves the stored sign-in. - Remove:
codex mcp remove wellfriend, or delete the[mcp_servers.wellfriend]table.enabled = falsekeeps 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
WebBefore 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
Open Plugins.
Open ChatGPTChoose the + button, then Add custom MCP server.
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/mcpRead the warning and choose I understand and want to continue.
Choose Create as a plugin. ChatGPT reads Wellfriend's tools and shows them for you to review.
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
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
The Wellfriend window closes and ChatGPT shows the plugin as connected.
Check that it works
Type
@in the message box and choose Wellfriend.In the same message, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.Expand the tool call in the answer to see the exact input and output.
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 AgentsBefore 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
Open the Custom Agent, then its Settings, and go to Tools & Access.
Choose Add connection, then Custom MCP server.
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/mcpChoose Connect. Notion registers itself with Wellfriend and starts the sign-in.
Sign in and choose permissions
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.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Notion. Tools & Access lists Wellfriend with a Connected status.
Check that it works
Refresh the agent's settings page: Wellfriend shows Connected or a green check under Tools & Access.
In a chat with the agent, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.If the agent does not use Wellfriend, name it in the agent's instructions, for example "Use the Wellfriend connection for documents".
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 mobileBefore 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
Open the Connectors page in Work.
Choose + Add Connector, then switch to the Custom MCP Connector tab.
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- Connector name:
Choose Connect. Vibe detects the authentication method from the URL: Wellfriend uses OAuth 2.1 with dynamic client registration.
Sign in and choose permissions
Vibe guides you through the consent flow: a Wellfriend page opens.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Vibe. The connector appears under My Connectors.
Check that it works
Connectors → My Connectors lists the Wellfriend connector.
In a new chat, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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
wellfriendwithout 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 appsBefore 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
Open Plugins in the sidebar. If you do not see Plugins yet, open Customize → Connectors.
Open PluginsChoose Add custom, then Add MCP connector. In the dialog, select Remote.
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/mcpTick the box that acknowledges the risks of custom connectors, then choose Add. The connector appears on the Plugins page.
Sign in and choose permissions
Choose the Wellfriend connector card. Perplexity starts the sign-in and a Wellfriend window opens.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Perplexity. The Wellfriend connector is enabled.
Check that it works
The Plugins page shows the Wellfriend connector without an error tag.
In a new thread, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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/mcpand 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
DesktopBefore 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
Open Raycast and run the Install MCP Server command. You can also open Manage MCP Servers and use the Install New Server action.
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/mcpChoose Install MCP Server (
⌘↵) to save and connect.
Sign in and choose permissions
Raycast asks you to Sign In before Wellfriend's tools are available. Choose Sign In; your browser opens Wellfriend.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Raycast. Manage MCP Servers shows Wellfriend as Running.
Check that it works
Manage MCP Servers lists Wellfriend with the status Running. The details pane shows the server's output.
In AI Chat, after typing
@and choosing Wellfriend, ask: "List my five most recently updated Wellfriend documents." The client callsdocuments_searchand lists titles from the workspace you approved.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.devover HTTPS: the/mcpendpoint, 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.
Official guides
Cursor
EditorBefore 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
Open the install link. It opens Cursor with Wellfriend filled in. The same link is in Wellfriend under Developer API → MCP → Cursor.
Open in CursorCursor asks you to confirm installing the wellfriend server. Confirm it.
Or add it to an
mcp.jsonfile yourself, save it and restart Cursor:~/.cursor/mcp.json: every project..cursor/mcp.jsonin 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
Open Customize in the sidebar, then MCPs. When wellfriend needs sign-in, use its sign-in action there; your browser opens Wellfriend.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Cursor. Customize → MCPs shows the server as connected with its tools.
Check that it works
Customize → MCPs shows wellfriend's status and its tools.
In Agent chat, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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, orCmd+Shift+Uon macOS) and choose MCP Logs. - The install link does nothing.
- Cursor must be installed and allowed to open
cursor://links. Otherwise add the server throughmcp.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.devover HTTPS: the/mcpendpoint, 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
EditorBefore 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
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 CodeOr run MCP: Add Server from the Command Palette (
Ctrl+Shift+P, orCmd+Shift+Pon 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/mcpOr write it into
.vscode/mcp.jsonin 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
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.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to VS Code. The server starts and lists its tools.
Check that it works
The Extensions view lists wellfriend under MCP SERVERS - INSTALLED. MCP: List Servers shows whether it is running.
In the Chat view, in agent mode, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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.devover HTTPS: the/mcpendpoint, 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
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.jsonand.cursor\mcp.json.
.mcp.json (%USERPROFILE%\.mcp.json or <SOLUTIONDIR>\.mcp.json) { "servers": { "wellfriend": { "url": "https://wellfriend.dev/mcp" } } }Save the file. With valid JSON, the Copilot agent restarts and loads the servers.
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- Name:
Sign in and choose permissions
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.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Visual Studio. The tools picker lists Wellfriend's tools.
Check that it works
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.
In agent mode, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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.jsonwith a leading dot, the.vsand.vscodefiles aremcp.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.devover HTTPS: the/mcpendpoint, 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.jsonand 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.
Official guides
Zed
EditorBefore you start
- A current Zed release with the Agent Panel. Remote MCP servers and OAuth sign-in are built in.
- Leave out any
Authorizationheader: without one, Zed signs in with the standard MCP OAuth flow.
Set it up
Open Settings → AI → MCP Servers (or run
agent: open settingsand choose MCP Servers). Choose Add Server, then Add Remote Server.Or edit the settings file yourself: run
zed: open settings filefrom the command palette and add the server undercontext_servers. A project can use.zed/settings.jsoninstead.- If
context_serversalready exists, add only thewellfriendentry inside it.
settings.json (settings.json (zed: open settings file) or .zed/settings.json) { "context_servers": { "wellfriend": { "url": "https://wellfriend.dev/mcp" } } }- If
Save. Zed starts the server.
Sign in and choose permissions
Zed prompts you to authenticate against the server. Accept; your browser opens Wellfriend.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Zed. The dot next to wellfriend in Settings → AI → MCP Servers turns green.
Check that it works
In Settings → AI → MCP Servers, the indicator next to wellfriend is green with the tooltip Server is active.
In the Agent Panel, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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.defaultisconfirm). - Set one tool with a rule keyed
mcp:wellfriend:<tool name>, for examplemcp:wellfriend:documents_searchwith"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
headersentry 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.devover HTTPS: the/mcpendpoint, 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_serversand 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 CLIBefore you start
- Antigravity connects to remote servers over Streamable HTTP, which Wellfriend uses. The legacy HTTP+SSE transport and the
httpUrlfield are not supported; useserverUrl. - The Antigravity App, IDE and CLI read the same
mcp_config.json. In the CLI,/mcpin 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
In the editor's agent side panel, choose … at the top, then MCP Servers. This opens the MCP Store.
Choose Manage MCP Servers, then View raw config.
Add the server under
mcpServersinmcp_config.jsonand save:~/.gemini/config/mcp_config.jsonapplies to every project, in the App, the IDE and the CLI.- A workspace can use
.agents/mcp_config.jsoninstead.
mcp_config.json(~/.gemini/config/mcp_config.jsonor .agents/mcp_config.json){ "mcpServers": { "wellfriend": { "serverUrl": "https://wellfriend.dev/mcp" } } }
Sign in and choose permissions
Open Agent settings (
Ctrl+,, orCmd+,on macOS), go to the Customizations tab and choose Authenticate next to wellfriend. Your browser opens Wellfriend.On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
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
Under Customizations → Installed MCP Servers, choose Refresh. wellfriend lists its tools.
In the agent panel, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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.
enabledToolsin the server's entry keeps only the listed tools;disabledToolshides 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
timeoutSecondson 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.devover HTTPS: the/mcpendpoint, 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": truein its entry, or delete the entry frommcp_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
EditorBefore 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+,, orCmd+,on macOS), search for MCP and enable it.
Set it up
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 KiroOr 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
When Kiro connects, it opens Wellfriend's sign-in in your browser.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Kiro. The MCP servers tab in the Kiro panel shows wellfriend as connected.
Check that it works
Kiro panel → MCP servers: wellfriend is connected. Expand it to see its tools.
In Kiro chat, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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.devover HTTPS: the/mcpendpoint, 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 frommcp.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
CLIBefore you start
- The Kiro CLI (
kiro-cli), signed in. It reads the samemcp.jsonfiles as the Kiro editor.
Set it up
Add the server under
mcpServersand 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" } } }Start a session with
kiro-cli(orkiro-cli chat).
Sign in and choose permissions
When Kiro connects to Wellfriend it opens the sign-in page in your browser. If it does not, run
/mcp authin the chat.On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to the terminal. The server connects and its tools load.
Check that it works
Run
/mcpin the chat: wellfriend is listed as connected.In the kiro-cli chat, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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 authand 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.devover HTTPS: the/mcpendpoint, 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 frommcp.jsonto 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 WindsurfBefore 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.jsonis not read. - Teams and Enterprise: an admin must allow MCP (Allow MCP, MCP allowlist). An allowlist entry must use the server ID
wellfriendexactly.
Set it up
Add the server under
mcpServersand save:~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows): every project..devin/mcp_config.jsonin a project: shared with everyone who opens it.- A
urlentry uses Streamable HTTP by default.
mcp_config.json(~/.config/devin/mcp_config.jsonor %APPDATA%\devin\mcp_config.jsonor .devin/mcp_config.json){ "mcpServers": { "wellfriend": { "url": "https://wellfriend.dev/mcp" } } }Or add it from a terminal with the Devin CLI guide on this page; both read the same file.
Sign in and choose permissions
Devin prompts you to sign in the first time the server is used, and your browser opens Wellfriend.
devin mcp login wellfriendstarts it from a terminal.On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Devin Desktop. wellfriend is listed with its tools.
Check that it works
devin mcp listshows wellfriend.In a Devin Local tab, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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, thendevin 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
wellfriendto 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.devover HTTPS: the/mcpendpoint, 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 rundevin mcp remove wellfriend.devin mcp logout wellfriendsigns 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
CLIBefore 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
Add the server.
-s usermakes it available in every project; without it the server is saved to the local scope.-s projectsaves it to.devin/mcp_config.jsonin the project, for everyone who opens it.
Devin CLI command devin mcp add -s user wellfriend https://wellfriend.dev/mcpOr add it to the config file yourself:
mcp_config.json(~/.config/devin/mcp_config.jsonor .devin/mcp_config.json){ "mcpServers": { "wellfriend": { "url": "https://wellfriend.dev/mcp" } } }
Sign in and choose permissions
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 wellfriendOn Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to the terminal once the browser says sign-in is complete.
Check that it works
devin mcp listshows wellfriend.In a Devin CLI session, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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, thendevin mcp login wellfriend. devin mcp listdoes 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 wellfriendand 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.devover HTTPS: the/mcpendpoint, 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 wellfriendremoves 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
CLIBefore 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.jsonis not read by Copilot CLI; add Wellfriend here as well.
Set it up
Add the server from a terminal. It goes to
~/.copilot/mcp-config.jsonand is available at once.Copilot CLI command copilot mcp add --transport http wellfriend https://wellfriend.dev/mcpOr 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+Sto save.
- Server Name:
Or edit the config file yourself. A repository can use
.mcp.jsonor.github/mcp.jsoninstead; 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
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 authto sign in again.On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to the terminal. The server reconnects by itself.
Check that it works
/mcp list(orcopilot mcp list) shows wellfriend connected;/mcp show wellfriendlists its tools.In Copilot CLI, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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-toolblocks them the same way. /reset-allowed-toolsclears the approvals of the current session.
Troubleshooting
- wellfriend shows needs-auth.
- Run
/mcp authand approve Wellfriend. - The project's
.mcp.jsonserver 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--timeouttocopilot mcp add. - Tools stop working after you revoked the connection in Wellfriend.
- Run
/mcp authto 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.devover HTTPS: the/mcpendpoint, 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
AgentsBefore 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
Open the agent's Tools page and choose Add a tool, then New tool, then Model Context Protocol. The MCP onboarding wizard opens.
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/mcpAuthentication: choose OAuth 2.0, then the Dynamic discovery type. Wellfriend supports dynamic client registration with discovery, so nothing else is needed.
Choose Create, then Next. The Add tool dialog opens.
Sign in and choose permissions
In Add tool, choose Create a new connection. A Wellfriend sign-in window opens.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Copilot Studio and choose Add to agent.
Check that it works
The Tools page lists Wellfriend with its tools.
In the agent's test chat, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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/mcpand 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
CLIBefore 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-remotebridge.
Set it up
Add the server to an
mcp.jsonfile and save:~/.junie/mcp/mcp.json: you, in every project..junie/mcp/mcp.jsonin 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" } } }Or let the MCP Installation Assistant write it: run
/mcp, pressCtrl+Atwice 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
Run
/mcp. wellfriend shows Authorization required. Select it to open its menu, choose Authorize and log in on the browser page that opens.On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Junie.
/mcpshows wellfriend as Active.
Check that it works
/mcplists wellfriend with the status Active.In Junie, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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
/mcplist to keep it configured but unused.
Troubleshooting
- The status is Failed or Inactive.
- Select the server in
/mcpand 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
timeouton 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.devover HTTPS: the/mcpendpoint, 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
CLIBefore 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
Add the server from a terminal.
--yesskips the wizard; leave it out to review the fields first.Cline command cline mcp add wellfriend https://wellfriend.dev/mcp --transport http --yesOr add it to the MCP settings file yourself. Set
"type": "streamableHttp": without it, Cline uses the older SSE transport.CLINE_MCP_SETTINGS_PATHpoints 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
Run
cline mcp, choose Authorize OAuth and pick wellfriend. Your browser opens Wellfriend.Open the MCP wizard cline mcpOn Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to the terminal once the browser says sign-in is complete.
Check that it works
cline config mcplists wellfriend as enabled (--jsonfor machine-readable output).In Cline, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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
typeisstreamableHttp, then run Authorize OAuth again. - Tools are missing.
- Confirm the server is enabled in
cline mcpand 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.devover HTTPS: the/mcpendpoint, 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.
Official guides
goose
Desktop and CLIBefore 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
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 gooseOr 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/mcpOr from a terminal: run
goose configure, choose Add Extension, then Remote Extension (Streamable HTTP), and answer the prompts with the same name and URL.Or edit
~/.config/goose/config.yamlyourself: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
The first time goose connects to Wellfriend, it opens a browser window for sign-in. The callback runs on
127.0.0.1.On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to goose. The Wellfriend extension is enabled.
Check that it works
Extensions lists Wellfriend with its toggle on.
In a new goose session, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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 orgoose 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_PORTto 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.devover HTTPS: the/mcpendpoint, 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.
Official guides
OpenCode
CLIBefore 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
Add the server under
mcpand save:~/.config/opencode/opencode.json: every project.opencode.jsonin 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
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 wellfriendOn Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to the terminal. OpenCode stores the sign-in in
~/.local/share/opencode/mcp-auth.json.
Check that it works
opencode mcp listshows wellfriend and its sign-in status.In OpenCode, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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 itstoolssetting.
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": falseand no Authorization header. - The server is skipped.
- Check
"enabled": trueand that the project file does not override it. - Tools stop working after you revoked the connection in Wellfriend.
- Run
opencode mcp logout wellfriend, thenopencode 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.devover HTTPS: the/mcpendpoint, 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.
Official guides
Amp
CLIBefore 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
Add the server from a terminal:
Amp command amp mcp add wellfriend https://wellfriend.dev/mcpOr add it under
amp.mcpServersin 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
Start Amp. It opens Wellfriend's sign-in page in your browser.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Amp once the browser says sign-in is complete.
Check that it works
In Amp, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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 wellfriendand 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.devover HTTPS: the/mcpendpoint, 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 wellfriendclears the stored sign-in. Remove the wellfriend entry fromamp.mcpServersto 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.
Official guides
Warp
TerminalBefore 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
Open Settings → Agents → MCP servers. Warp Drive → Personal → MCP Servers, or Open MCP Servers in the Command Palette, opens the same page.
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" } } }Or put the same JSON in a file:
~/.warp/.mcp.json: global..warp/.mcp.jsonin a repository root: that project. Project servers never start by themselves; turn them on in the MCP servers page.
Sign in and choose permissions
Choose Start on wellfriend. Warp has no saved sign-in yet, so it opens your browser.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Warp. Warp stores the sign-in on this device; another machine signs in again.
Check that it works
The MCP servers page shows wellfriend running. View Logs shows its output.
In an agent conversation, ask: "List my five most recently updated Wellfriend documents." The client calls
documents_searchand lists titles from the workspace you approved.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.devover HTTPS: the/mcpendpoint, 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
ScenariosBefore 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
Open the scenario and add the MCP Client module Call a tool.
Choose Create a connection. Optionally enter a Connection name, such as Wellfriend.
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/mcpChoose Save.
Sign in and choose permissions
Make asks you to authenticate. A Wellfriend window opens.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Make. The connection is selected in the module.
Check that it works
In Call a tool, open Tool Name: the list shows Wellfriend's tools. Choose
documents_search, then run the module once.The module's output lists your documents. Make recommends testing with Call a tool before Execute an action with AI.
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/mcpand 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
ZapsBefore 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
Open the Apps page and choose + Add connection.
Search for MCP Client, select it and choose Add connection. A Connect an Account page opens.
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/mcpChoose Yes, Continue to MCP Client. A new window opens.
Sign in and choose permissions
Log in to Wellfriend in that window and grant Zapier access.
On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Return to Zapier. The MCP Client connection is listed on the Apps page.
Check that it works
In a Zap, add the MCP Client action Run Tool, choose the Wellfriend connection and the tool
documents_search, then test the step.The test returns a list of your documents.
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 SDKBefore you start
- OpenRouter's documented way to use a remote MCP server is its Agent SDK for TypeScript:
createMCPToolsfrom@openrouter/mcpconnects to the server and hands its tools tocallModel. 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
OAuthClientProviderthat you pass asauth: { kind: 'oauth', provider }. OpenRouter's page does not name the package that supplies it.
Set it up
Install OpenRouter's MCP package and the Agent SDK:
Install npm install @openrouter/mcp @openrouter/agentImplement an MCP SDK
OAuthClientProviderthat 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 inredirectToAuthorization.redirectUrlandclientMetadata.redirect_uris: a loopback address such ashttp://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.
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
On the first connection there are no tokens yet. Sign in once with the MCP SDK's
StreamableHTTPClientTransportforhttps://wellfriend.dev/mcpand your provider:connect()throwsUnauthorizedErrorafter callingredirectToAuthorization, and the browser opens Wellfriend.On Wellfriend's page, sign in with the account you use for the dashboard, if you are not signed in already.
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).
Choose Allow access. Deny ends the request without connecting anything.
Wellfriend redirects to your redirect URL with
codeandstate. Comparestate, calltransport.finishAuth(params), and the provider saves the tokens.createMCPToolswith the same provider then connects without another sign-in.
Check that it works
wellfriend.toolscontains one tool per Wellfriend tool, prefixedwellfriend_, for examplewellfriend_documents_search.Call
callModelwithtools: wellfriend.toolsand the input "List my five most recently updated Wellfriend documents." The model callswellfriend_documents_searchand answers with titles from the workspace you approved.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.toolsintocallModel({ tools })next to your own tools; results carrysource: "mcp". includeToolsandexcludeToolslimit which Wellfriend tools the model sees.cacheCredentialsis 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()throwsUnauthorizedErrorevery time.- The provider does not keep tokens between runs. Save them in
saveTokensand return them fromtokens(). finishAuthrejects the callback.- Compare
statewith the value your provider created, then pass the wholeURLSearchParamsfrom the callback tofinishAuth, 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.devover HTTPS: the/mcpendpoint, 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 stdioClients that support remote servers
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"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.
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
Use the
mcp-remotebridge, 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" ] } } }On first start it opens the browser for Wellfriend's sign-in and consent, then keeps the sign-in in
~/.mcp-auth.To sign in again or switch accounts, close the client, delete
~/.mcp-authand start the client again. Behind a TLS-inspecting proxy, pointNODE_EXTRA_CA_CERTSat 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-remotebridge described under Any other MCP client. - The connection fails on a company network.
- Allow HTTPS to
wellfriend.dev(the/mcpendpoint,/.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.