Your coding agent can read your architecture decisions

Gateway Architect exposes your organization’s decision corpus over the Model Context Protocol. Claude Code, Claude Desktop and any other MCP client can ask what your team already decided, and why, while they are writing code against it.

Endpoint

One hosted server. There is nothing to install and nothing to run locally.

Server URL

https://www.gatewayarchitect.ai/api/mcp

Use the www. host exactly as written. The bare domain redirects, and HTTP clients drop the Authorization header across a host change, so the apex form fails with “Missing Authorization header” even when your token is correct.

Connect

Claude Code

claude mcp add --transport http gateway-architect \
  https://www.gatewayarchitect.ai/api/mcp \
  --header "Authorization: Bearer oga_your_token_here"

Claude Desktop, claude_desktop_config.json

{
  "mcpServers": {
    "gateway-architect": {
      "transport": "streamable-http",
      "url": "https://www.gatewayarchitect.ai/api/mcp",
      "headers": {
        "Authorization": "Bearer oga_your_token_here"
      }
    }
  }
}

Restart the client. The 11 tools a token can use appear and are callable immediately. The 5 that create or revise decisions need a browser sign-in, described below.

Two ways to connect

Which one you choose decides what the connection may do, because the two answer different questions about who is behind a call.

A token

For anything with nobody at the keyboard: a build pipeline, a scheduled job, a script. Minted in the application and pasted into your client config. Gets the 11 read and record tools.

Signing in through your browser

For an agent a person is driving. The client sends you to a browser, you sign in, confirm your second factor, and choose which organization the connection reads. Gets all 16 tools, and every decision it writes carries your name rather than whoever minted a shared token.

Signing in asks for an authenticator code at that moment, even if you are already signed in elsewhere. A connection lasts thirty days and keeps working after you close the tab, so it is authorized by someone proving they are present rather than by a session that proved it earlier. It does not sign you out of anything.

Getting a token

  1. Create an account and an organization.
  2. Go to Settings, then Configuration, then API tokens. Minting a token is an admin action.
  3. Copy the oga_ value. It is shown once.

A token belongs to one organization. It authorizes as the person who created it and reads only what that person can read. If you belong to two organizations, you need two tokens and two connections. A token cannot reach across organizations, and removing its creator from the organization revokes it immediately.

The 16 tools

ToolAccessNeedsWhat it does
search_decisionsreadtoken or sign-inSubstring match, for when you already have a fragment of a title.
search_semanticreadtoken or sign-inAsk in plain language. Ranks by meaning, so it finds decisions whose titles share none of your words.
list_projectsreadtoken or sign-inList the projects you can see. The way to find one, including a brand-new, empty project that search cannot surface yet.
list_modulesreadtoken or sign-inList a project’s modules, so you have the module id that capturing a decision needs.
record_observationwritetoken or sign-inRecord a measured fact or a constraint found the hard way. Claims no authority, so a build runner can file one.
get_decision_with_relationshipsreadtoken or sign-inOne decision in full, with its typed relationships to others.
get_constraints_for_scopereadtoken or sign-inThe rails a change inside a project or module has to respect, plus the org standards governing it.
relevant_contextreadtoken or sign-inGiven one decision, return the ones that bear on it, ranked with implementation outcomes taken into account.
record_outcomewritetoken or sign-inWrite back what happened when a decision was applied.
get_corpus_ledgerreadtoken or sign-inActive supersession chains and unresolved contradictions.
capture_decisionwritesign-inCreate a decision. Always awaiting review, never approved.
update_decisionwritesign-inRevise a decision you may edit. Cannot change its status.
relate_decisionswritesign-inDraw a supersedes, relates-to or contradicts edge between two decisions.
move_decisionwritesign-inRe-home a decision to another module in the same project, in place, keeping its id and history.
copy_decisionwritesign-inCopy a decision into another project as a new one awaiting review, with a link back to the original.
get_server_inforeadtoken or sign-inWhat this server is running right now: version, protocol, and the revision of the tool list you are holding.

What it will not do

  • Approve or reject a decision. An agent can propose one. It can never ratify one. capture_decision creates a decision awaiting review and can create no other kind, update_decision cannot change a decision’s status at all, and no tool approves or rejects. Approval is a governed act that stays with a person in the application.
  • Record an approval it did not get. Since October 2026 the columns that carry approval, rejection and retention are writable only by the server, after it has checked that the person holds the permission. A client holding a valid credential and talking to the database directly is refused the same way an agent is.
  • Read past your own access. Every call resolves what the issuing person can read and scopes the query to it. Membership of an organization grants nothing by itself.
  • Reach another organization, even when the same person belongs to both.

Rate limit is 60 requests per minute per token, adjustable per token. Every call counts, including handshake and tool listing.

What this is for

An AI coding agent reads your code. It cannot read the reasoning behind it, so it re-derives decisions your team settled a year ago, in ignorance of why. Gateway Architect is an Organizational Memory Platform™: it captures decisions as they are made, records what actually happened when they were implemented, and returns the relevant one at the moment the next decision is being taken. The MCP server is how that reaches the tools your engineers already use.