Connect your agent

Connect any other MCP client

Any app that speaks MCP over HTTP can use Clam. Give it two values from your Shell's Install tab, the address and a key, and your Shell's rules decide what it may do.

Before you start

An MCP client is an AI app that can plug in outside tools. Clam is one such tool; it checks every request against your Shell's rules before anything touches Gmail.

Your app must support a remote MCP server over HTTP, which some apps call Streamable HTTP, with a Bearer key on every request. We don't support SSE, and an app with nowhere to put a key can't use Clam.

You also need a Shell; the Quickstart gets you one. Open it, go to its Install tab, and pick Other.

Connect your app

Two ways in. Start with the first; the other is for when it doesn't fit.

Try it

With the starter policy from the Quickstart, ask your app:

See What your agent can do.

Remove access

On the Shell's Install tab, find your app under Connected agents and click Remove access. The key stops at once; other agents keep working. Then delete Clam's entry in your app.

Pausing or deleting the Shell, and stopping Clam's own Gmail access, are in Remove access.

If it doesn't work

More in Common issues & solutions.

Your app says it's unauthorized

The key is wrong or was removed in Clam. Click Regenerate key and paste the new one.

Your app can't connect

Check it uses HTTP, not SSE, and that the address is your Shell's own.