Home
Menu

OpenClaw

Connect OpenClaw to smiet over MCP, with an OAuth sign-in or an API key.

OpenClaw is a self-hosted personal agent that you reach through chat apps. Connect it to smiet and it can capture notes, read your inbox and carry notes out. For the full tool list and example prompts, see AI assistants.

Sign in with OAuth

OpenClaw takes a callback on your own machine (localhost), so it can sign in to smiet without a key.

1

Add the server

sh
openclaw mcp add smiet --url https://smiet.app/mcp --transport streamable-http

Then set auth to "oauth" for the server in ~/.openclaw/openclaw.json:

json
{
  "mcp": {
    "servers": {
      "smiet": {
        "url": "https://smiet.app/mcp",
        "transport": "streamable-http",
        "auth": "oauth"
      }
    }
  }
}
2

Sign in

sh
openclaw mcp login smiet

Open the link OpenClaw prints. Sign in to smiet if you need to, check the email next to Signed in as, and click Approve.

If your browser runs on another machine and can't reach the callback, copy the code from the address bar and run openclaw mcp login smiet --code <code>.

In the Control UI, the same server can be added under Settings → MCP with Streamable HTTP, then signed in with Sign in.

Use an API key instead

Create a key under Settings → API keys in smiet. It starts with oat_ and is shown once. Send it as a header:

json
{
  "mcp": {
    "servers": {
      "smiet": {
        "url": "https://smiet.app/mcp",
        "transport": "streamable-http",
        "headers": {
          "Authorization": "Bearer oat_your_key"
        }
      }
    }
  }
}

Don't set auth: "oauth" at the same time: OpenClaw then ignores the header. openclaw mcp doctor warns about a key written into the config; move it to OpenClaw's secret storage if you commit the file.

Check the connection

sh
openclaw mcp doctor smiet --probe

It connects to smiet and lists the tools. If you run a Gateway in another process, restart it to pick up the change.

Things to try

OpenClaw can run cron jobs and a periodic heartbeat. Ask it:

Every morning at 8:00, call get_next_action in smiet and send me the note on Telegram.

On each heartbeat, check smiet for notes with no destination and suggest one for each.

Disconnect

In smiet, open Settings → API keys and click Revoke next to the key. With OAuth, the key is named after the client OpenClaw registered. Then remove the smiet server from openclaw.json.