All guides

Memory and apps6 steps3 min readUpdated

How to add a custom MCP server

Bring any tool that speaks MCP to your agents by its URL, from an internal wiki to your own database. A walk-through with a company wiki.

An internal wiki added by its URL, signing in with OAuth.

Agently connects to 84 apps. When the tool you need isn’t one of them but has a remote MCP server, add it by its URL: its tools become available to Linus, your agents, tasks and schedules.

This guide adds a company’s internal wiki. You end with the server connected, its tools listed, and a say over which ones your agents may use and which ask you first.

Before you start

  • Agently, signed in. Download it if you haven’t yet.
  • The server’s URL. From whoever runs it, with how it signs you in: its own sign-in page, or an API key.
  • A look at the catalog first. If the app is one Agently already connects to, connect it from Brain › Add a source instead.
  1. 1Open Custom MCP servers

    Open Settings at the foot of the rail, then Connections, and go to Custom MCP servers. It lists the servers your workspace already uses, each with how it stands.

  2. 2Name it and paste its URL

    In the Connect a custom MCP row, choose Connect. Give it a name your team will recognise, like Internal wiki, and paste its address into Server URL.

  3. 3Choose how it signs in

    Under Authentication, Sign in (OAuth) suits most servers: if the server needs a sign-in, you’re sent to its login page, and one without sign-in connects directly. If the server’s team gave you a client ID, add it under Advanced: OAuth client ID.

    Choose API key header if the server gave you a key instead. It’s sent with every request, stored encrypted and never shown to agents.

  4. 4Decide who can use it

    A server you add is yours. Owners and admins can switch on Share with workspace so teammates’ runs can use it too, with your sign-in. Share only what everyone may reach through your account.

    Then choose Connect, and finish the server’s sign-in if it opens one.

  5. 5Pick which tools it may use

    Once its row says Connected, open it. Tools lists everything the server offers, each with a switch: turn off any tool you don’t want your agents to use.

    Tools the server marks as only reading show Read-only and run without asking. The rest show Asks first, so an agent stops for your yes before using them. If you added the server and know a tool only reads, press its Asks first to mark it Read-only, marked by you, and chats then run it without asking.

    TipA tool its server doesn’t describe is treated as one that may delete: it always asks, and schedules don’t use it until the server describes it.

  6. 6Check it’s working

    Ask Linus to use it, the way you’d ask a colleague: “Search the internal wiki for our refund policy.” A tool that asks first waits as a card in the chat, named for the tool, and nothing runs until you press its yes.

    If the server adds tools later, open its row and choose Refresh tools to read the list again.

What its row says

StatusWhat to do
ConnectedNothing. Its tools are ready.
Sign-in pendingOpen it and choose Sign in to finish the server’s sign-in.
Sign in againThe server stopped accepting your sign-in. Open it and choose Reconnect.
ErrorOpen it to read why. Check the URL with whoever runs the server.

A server on your Mac

In Agently on your Mac, a server at a local address (localhost) is saved on this Mac instead, with Add to this Mac. Only your own chats with Claude Code and OpenCode agents on this Mac use it. Schedules, ChatGPT, chats other people can steer and anything in the cloud don’t.

If something goes wrong

Its row says Sign in again.
The server stopped accepting your sign-in. Open the row and choose Reconnect, or Sign in again in its Server settings.
A tool I expected isn’t listed.
Open the row and choose Refresh tools. If it’s listed but agents don’t use it, check its switch is on.
An agent asks every time it uses a tool.
The tool can change things, or its server doesn’t say. If you added the server and the tool only reads, mark it read-only.
My teammates can’t use it.
It’s yours alone until an owner or admin switches on Share with workspace in its row.

Questions

Which servers work?

Any remote MCP server you can reach by its URL. On your Mac, a server at localhost works for your own chats there.

Whose account does a shared server use?

The sign-in of the member who added it, for every teammate’s run.

Do schedules use it?

Yes, for the tools its server describes. A tool it doesn’t describe always asks, and schedules skip it.

How do I remove it?

Open its row and choose Remove this server. Linus, tasks and schedules stop using its tools, and you can add it again by its URL.

More guides

Free on your Mac.

On the ChatGPT or Claude plan you already pay for.

How to add a custom MCP server · Agently