Skip to content
localweave
Menu

MCP server

The localweave MCP server

Let an AI assistant answer “where do we rank on the north side?” from your real data, without a password and, unless you allow it, without the power to change anything.

How a connection is authorised

The MCP server never sees a password and holds no long-lived credential. It accepts either an access token from signing in to the localweave-mcp app (OAuth code flow with PKCE) or a token minted for it by a first-party service such as the web app.

For every request it exchanges that token at the token service for a short-lived API token. The exchange checks the signature, the person’s membership in the org, the scope policy and the actor chain, and the API records that chain on every audit entry.

Read-only unless you ask

A sign-in gets read scopes only. Writes (starting a run, generating Next Actions, drafting a review reply) need a write scope requested explicitly, and never more than the person’s role allows. Tool lists follow scopes: a client sees only the tools its scopes allow.

Nothing deletes data, and a review reply is only ever a draft that a person sends from the app.

Safe with untrusted text

Location names, review text, AI answers, competitor names and cited URLs are written by people or third parties. The server wraps every such string as untrusted text, cuts strings at 2,000 characters, refuses results over 64 KB, and redacts anything shaped like a token or webhook secret.

Tools