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/mcpUse 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
- Create an account and an organization.
- Go to Settings, then Configuration, then API tokens. Minting a token is an admin action.
- 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
| Tool | Access | Needs | What it does |
|---|---|---|---|
search_decisions | read | token or sign-in | Substring match, for when you already have a fragment of a title. |
search_semantic | read | token or sign-in | Ask in plain language. Ranks by meaning, so it finds decisions whose titles share none of your words. |
list_projects | read | token or sign-in | List the projects you can see. The way to find one, including a brand-new, empty project that search cannot surface yet. |
list_modules | read | token or sign-in | List a project’s modules, so you have the module id that capturing a decision needs. |
record_observation | write | token or sign-in | Record a measured fact or a constraint found the hard way. Claims no authority, so a build runner can file one. |
get_decision_with_relationships | read | token or sign-in | One decision in full, with its typed relationships to others. |
get_constraints_for_scope | read | token or sign-in | The rails a change inside a project or module has to respect, plus the org standards governing it. |
relevant_context | read | token or sign-in | Given one decision, return the ones that bear on it, ranked with implementation outcomes taken into account. |
record_outcome | write | token or sign-in | Write back what happened when a decision was applied. |
get_corpus_ledger | read | token or sign-in | Active supersession chains and unresolved contradictions. |
capture_decision | write | sign-in | Create a decision. Always awaiting review, never approved. |
update_decision | write | sign-in | Revise a decision you may edit. Cannot change its status. |
relate_decisions | write | sign-in | Draw a supersedes, relates-to or contradicts edge between two decisions. |
move_decision | write | sign-in | Re-home a decision to another module in the same project, in place, keeping its id and history. |
copy_decision | write | sign-in | Copy a decision into another project as a new one awaiting review, with a link back to the original. |
get_server_info | read | token or sign-in | What 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_decisioncreates a decision awaiting review and can create no other kind,update_decisioncannot 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.