Skip to content

Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.

4.2 KB
Raw Blame

MCP servers

Gotcha can use the tools of any Model Context Protocol server you add, as long as the server speaks the Streamable HTTP transport. You add a server with its URL and, if it needs one, a token; Gotcha lists the server's tools and the assistant can call them while that server is switched on.

Add a server

Drawer menu → Connectors → MCP servers → Add server, then fill in:

Field What to put
Name Anything. It labels the server's tools for the assistant (mcp_<name>__<tool>).
Server URL The server's Streamable HTTP endpoint, often ending in /mcp.
Bearer token Optional. Sent as Authorization: Bearer <token>.
Extra headers Optional, one per line as Name: value, for servers that want an API-key header instead.

Test connection contacts the server and shows its name and how many tools it offers, or why it failed. Save tests again and stores the server only if it answers. The token and headers are kept in Gotcha's encrypted connector store on the phone.

Both http:// and https:// addresses are accepted. When a token or header would travel over plain http:// outside your own network (localhost, .local and .lan names, private, link-local and Tailscale addresses), the card keeps working but warns that it could be read on the way — prefer https:// there. Redirects are followed when they cannot leak anything: the same address (scheme, host and port), or an http:// to https:// upgrade on the same host, with later requests staying on the upgraded address. Anything else — another host or port, or a downgrade back to plain http:// — is refused, naming where it points so you can enter that address instead. A missing trailing slash is forgiven too: when the server answers 404 on one of /mcp and /mcp/, Gotcha tries the other spelling once.

What the assistant gets

  • Each tool appears as mcp_<server>__<tool>, with its description prefixed by the server's name. Two servers with the same tool names do not clash.
  • Tools the server marks readOnlyHint can be used in Monitor. Every other tool is Operator only, because MCP gives no other way to tell what a tool does.
  • At most 64 tools per server are offered, so one large server cannot fill the prompt.
  • Images and audio in a tool's result are named, not passed on; text, embedded text resources and structured content are.

Trust: a server's tool descriptions and results reach the assistant as they are, and can steer what it does next. Add only servers you trust, and prefer read-only tools in Monitor when you are unsure.

Switching off and removing

Each server has its own switch: off, its tools are withheld from the assistant but the server stays saved. The MCP servers switch at the top turns all of them off at once. Remove (tap twice) deletes the server and its stored token.

Refresh tools asks the server for its tool list again. The Connectors page's auto-sync and Refresh all do the same for every server that is on. A failed refresh keeps the last known tools and shows the error under the server.

Not supported yet

  • Servers started as local processes (stdio). Android can't run them for Gotcha.
  • The older HTTP+SSE transport (MCP 2024-11-05). Gotcha recognises it and says so; use the server's Streamable HTTP endpoint if it has one.
  • OAuth sign-in. Use a token or header the server issues instead.
  • Resources, prompts and sampling: only tools are used.

Errors you may see

Message What to check
The server refused the token or headers (HTTP 401/403) The token, or the header name and value.
Nothing answered at this URL (HTTP 404) The path: many servers serve MCP at /mcp.
This server uses the older HTTP+SSE transport Look for a Streamable HTTP endpoint in the server's docs.
The server returned HTTP 301/302/307/308 and a URL The server moved: enter the URL it names.
The server answered, but not as an MCP server The URL points at a web page or another API.
Couldn't reach the server The address, the network, and whether the server is running.

Home Assistant has its own connector card, which needs no URL path and adds Home Assistant's own hints; it uses the same tool gating.