Resources
+4 −1
- + docs:configuration-object
- + docs:definition-object
- + docs:operating-agreement
- + docs:kyc-and-aml
- − docs:valuation-signals
land.fabrica/mcp
11 changes recorded. MCP Harbor re-reads this listing from the official registry every six hours and asks the live server what it exposes, and keeps what changed between one look and the next.
https://raw.githubusercontent.com/fabrica-land/fabrica-mcp/HEAD/AGENTS.md
− config.ts # Connect Fabrica (OAuth resource server): FABRICA_OAUTH flag, issuer per network, the /mcp/account resource− server.json, server.testnet.json # MCP Registry entries (land.fabrica/mcp, land.fabrica/mcp-testnet); npm run registry:publish− account.ts # get_my_account, get_my_properties (signed-in endpoint /mcp/account only, the connected user's own token)− attention.ts # what_needs_attention (signed-in endpoint only; ranks items from the other personal reads plus fees and checks on up to 20 live properties)− my-loans.ts # get_my_loans (signed-in endpoint only, portfolio:read; loans with live payoff, pool deposits valued at tick prices)− offers.ts # get_my_offers (signed-in endpoint only, portfolio:read; public order data for the account's wallets)− onramps.ts # get_my_properties_being_added, get_adding_status (signed-in endpoint only, onramp:read)− own-wallet.ts # On the signed-in endpoint, fills wallet arguments from the account (omitted or "me"; portfolio:read); public reads otherwise unchanged− account.ts # personal reads with the connected user's token (never cached, never on anonymous calls)− generated/ # operations.ts: one result type per gql document, from scripts/codegen.mjs (committed; npm run codegen)− - API result types come from the queries: `npm run codegen` (`scripts/codegen.mjs`, driving `@graphql-codegen/core` directly so the toolchain stays on Node 20) regenerates `src/clients/generated/operations.ts` from `schema/api-schema.graphql` and the `gql` documents in `src/clients/graphql.ts`. Run it after changing a query or refreshing the schema and commit the result; CI fails on a stale file (`npm run codegen:check`). A field is in a type exactly when the query selects it, so a new field mea− - `FABRICA_OAUTH` (default: off on both networks): Connect Fabrica. `enabled` serves the signed-in endpoint `/mcp/account` (401 with an RFC 9728 challenge without a token) and `/.well-known/oauth-protected-resource[/mcp/account]`; off, both answer 404 and `/mcp` is unchanged− - `FABRICA_OAUTH_ISSUER` (default: `https://api.fabrica.land`, `https://api-test.fabrica.land` on Sepolia), `FABRICA_OAUTH_JWKS_URL` (default: the issuer's `/.well-known/jwks.json`), `FABRICA_MCP_ORIGIN` (default: `https://mcp.fabrica.land`, `https://mcp-testnet.fabrica.land` on Sepolia; the token audience is `<origin>/mcp/account`)− Run tests with `npm test` (vitest). Tests cover config, scoring, spam filtering, pool aggregation, legal notices, formatting, and input validation. Tests mock the GraphQL clients — no live API calls. `src/__tests__/schema-drift.test.ts` validates every document against the schema snapshot, and `npm run codegen:check` keeps the generated result types in step with them.− **Hosted:** `https://mcp.fabrica.land/mcp` (mainnet) and `https://mcp-testnet.fabrica.land/mcp` (Sepolia). Two Vercel projects on this repo, each with `FABRICA_NETWORK` set in its environment; `npm run build:vercel` writes a Build Output API bundle (`.vercel/output`). Stateless: a fresh server and transport per POST, JSON responses, no sessions. Keep it that way unless a feature truly needs sessions.− **Local (unsupported, for development):** `npm install && npm run build`, then `node dist/index.js` (stdio). The package is not published to npm.− | https://api.fabrica.land/graphql | The public GraphQL API (introspection enabled). `schema/api-schema.graphql` is a checked-in snapshot; refresh with `npm run schema:refresh` |+ config.ts # Connect Fabrica (OAuth resource server): FABRICA_OAUTH flag, issuer per network, the /mcp resource+ server.json, server.testnet.json # MCP Registry entries (land.fabrica/mcp, land.fabrica/mcp-testnet); yarn registry:publish+ account.ts # get_my_account, get_my_properties (listed while Connect Fabrica is on; read with the connected user's own token, sign_in_required without one)+ attention.ts # what_needs_attention (signed in only; ranks items from the other personal reads plus fees and checks on up to 20 live properties)+ my-loans.ts # get_my_loans (signed in only, portfolio:read; loans with live payoff, pool deposits valued at tick prices)+ offers.ts # get_my_offers (signed in only, portfolio:read; public order data for the account's wallets)+ onramps.ts # get_my_properties_being_added, get_adding_status (signed in only, onramp:read); describeOnRamp and the county's questions with their answers+ add-land.ts # add_land, answer_adding_questions: start a property from a listing link, a parcel number or an address as the connected person (onramp:write), then the owner and the county's questions read from the record+ own-wallet.ts # Signed in, fills wallet arguments from the account (omitted or "me"; portfolio:read); public reads otherwise unchanged; signerFor gives the sign request tools the account's wallets, and pickSigner (sign-requests.ts) picks the one that fits the action or asks when several do+ personal-view.ts # Signed in, get_land_property and estimate_land_borrowing read the token with the user's token (uncached, issuer only) for personalized borrowing capacity; falls back to the public read+ account.ts # personal reads with the connected user's token (never cached, never on anonymous calls); the on-ramp start and patch writes (onramp:write)+ listing-import.ts # the web app's listing import (POST /api/import-listing on fabrica.land), called with this server's key (FABRICA_LISTING_IMPORT_KEY)+ generated/ # operations.ts: one result type per gql document, from scripts/codegen.mjs (committed; yarn codegen)+ - API result types come from the queries: `yarn codegen` (`scripts/codegen.mjs`, driving `@graphql-codegen/core` directly so the toolchain stays on Node 20) regenerates `src/clients/generated/operations.ts` from `schema/api-schema.graphql` and the `gql` documents in `src/clients/graphql.ts`. Run it after changing a query or refreshing the schema and commit the result; CI fails on a stale file (`yarn codegen:check`). A field is in a type exactly when the query selects it, so a new field means add+ - `FABRICA_LIST_WHILE_ADDING` (default: on for both networks; `disabled` turns it off): lets list_land_for_sale prepare a listing of a property its owner is still adding to Fabrica (claimed, token not issued yet), as the web app's own list-for-sale dialog does; every other sign-request tool keeps refusing such a property. Separate from `FABRICA_SIGN_REQUESTS`, which still gates the sign-request tools as a whole+ - `FABRICA_LISTING_IMPORT_KEY`: this server's key for the web app's listing import (`x-listing-import-key`), so listing reads are counted on the server's own hourly budget; without it the import is called as an ordinary caller+ - `FABRICA_OAUTH` (default: off on both networks): Connect Fabrica. `enabled` lists the personal tools on `/mcp` and refuses a call to one without a token with 401 and an RFC 9728 challenge (lazy sign-in: the client asks the person to sign in and retries); a valid token on any request makes the session the person's own, and a valid token without the grant a write tool needs (`add_land`, `answer_adding_questions`: `onramp:write`) is refused with 403 and an `insufficient_scope` challenge so the + - `FABRICA_OAUTH_ISSUER` (default: `https://api.fabrica.land`, `https://api-test.fabrica.land` on Sepolia), `FABRICA_OAUTH_JWKS_URL` (default: the issuer's `/.well-known/jwks.json`), `FABRICA_MCP_ORIGIN` (default: `https://mcp.fabrica.land`, `https://mcp-testnet.fabrica.land` on Sepolia; the token audience is `<origin>/mcp`)+ Run tests with `yarn test` (vitest). Tests cover config, scoring, spam filtering, pool aggregation, legal notices, formatting, and input validation. Tests mock the GraphQL clients — no live API calls. `src/__tests__/schema-drift.test.ts` validates every document against the schema snapshot, and `yarn codegen:check` keeps the generated result types in step with them.+ **Hosted:** `https://mcp.fabrica.land/mcp` (mainnet) and `https://mcp-testnet.fabrica.land/mcp` (Sepolia). Two Vercel projects on this repo, each with `FABRICA_NETWORK` set in its environment; `yarn build:vercel` writes a Build Output API bundle (`.vercel/output`). Stateless: a fresh server and transport per POST, JSON responses, no sessions. Keep it that way unless a feature truly needs sessions.+ **Local (unsupported, for development):** `yarn install && yarn build`, then `node dist/index.js` (stdio). The package is not published to npm.+ | https://api.fabrica.land/graphql | The public GraphQL API (introspection enabled). `schema/api-schema.graphql` is a checked-in snapshot; refresh with `yarn schema:refresh` |
https://raw.githubusercontent.com/fabrica-land/fabrica-mcp/HEAD/AGENTS.md
− loan-book.ts # get_fabrica_loan_book (distribution of the loan records; no auction proceeds or per-loan liquidation rows, Fede 2026-10-17)− http.ts # GET /sign-requests/{id} and POST /sign-requests/{id}/result for the Soil sign page (contract on ENG-5073)− lifecycle.ts # propertyStage(): premint, minted, off-ramp, burned (get_land_property, search rows)− Used for DeFi lending pool TVL, utilization, and loan count data. Its `loansLiquidated` counter reads 0 on mainnet while 10 pool loans were liquidated (ENG-5029), so `get_fabrica_loan_book` counts from the loan records and shows the pool counters next to them. The subgraph, the env var and some internal identifiers keep the MetaStreet name for historical reasons; public-facing text says DeFi lending pool. **Pools are discovered dynamically** by querying all pools that accept the Fabrica collater− Each digit is a category value set by its group's rules, not a count of passing checks: never label a digit "x/y checks pass". Pass counts come from the individual results (`scoringCheckResults`), which `get_land_property` returns as `propertyChecks { passed, total, encoding, results }` and the property card shows as "9 of 12 pass", like fabrica.land. The deprecated `valuation.confidenceScore` and `valuation.scoreBreakdown` aliases were removed in ENG-5028 (payload size); `propertyChecks` is the− | `fabrica-land/fabrica-connectors` | The trust agreement: trust structure, beneficiary rights |+ auth/+ config.ts # Connect Fabrica (OAuth resource server): FABRICA_OAUTH flag, issuer per network, the /mcp/account resource+ token.ts # access-token checks (ES256 JWT, issuer, audience, expiry, at+jwt) against the issuer's JWKS; never logged+ server.json, server.testnet.json # MCP Registry entries (land.fabrica/mcp, land.fabrica/mcp-testnet); npm run registry:publish+ loan-book.ts # get_fabrica_loan_book (distribution of the loan records; no auction proceeds or per-loan liquidation rows)+ loans.ts # borrow_against_land, repay_loan_against_land (sign requests), get_loan_against_land (GetLoanContext, never cached)+ account.ts # get_my_account, get_my_properties (signed-in endpoint /mcp/account only, the connected user's own token)+ attention.ts # what_needs_attention (signed-in endpoint only; ranks items from the other personal reads plus fees and checks on up to 20 live properties)+ my-loans.ts # get_my_loans (signed-in endpoint only, portfolio:read; loans with live payoff, pool deposits valued at tick prices)+ offers.ts # get_my_offers (signed-in endpoint only, portfolio:read; public order data for the account's wallets)+ onramps.ts # get_my_properties_being_added, get_adding_status (signed-in endpoint only, onramp:read)+ own-wallet.ts # On the signed-in endpoint, fills wallet arguments from the account (omitted or "me"; portfolio:read); public reads otherwise unchanged+ account.ts # personal reads with the connected user's token (never cached, never on anonymous calls)+ http.ts # GET /sign-requests/{id} and POST /sign-requests/{id}/result for the Soil sign page+ well-known.ts # /.well-known/mcp.json, /.well-known/mcp/server-card.json, /.well-known/ai-catalog.json (card read from a live in-process server)+ vercel-well-known.ts # Vercel function entry for /.well-known+ lifecycle.ts # propertyStage(): unclaimed, being_added, replaced, live, removal_in_progress, removed, retired+ Used for DeFi lending pool TVL, utilization, and loan count data. Its `loansLiquidated` counter undercounts on mainnet, so `get_fabrica_loan_book` counts from the loan records and shows the pool counters next to them. The subgraph, the env var and some internal identifiers keep the MetaStreet name for historical reasons; public-facing text says DeFi lending pool. **Pools are discovered dynamically** by querying all pools that accept the Fabrica collateral token — no hardcoded pool IDs. Mainnet h+ Each digit is a category value set by its group's rules, not a count of passing checks: never label a digit "x/y checks pass". Pass counts come from the individual results (`scoringCheckResults`), which `get_land_property` returns as `propertyChecks { passed, total, encoding, results }` and the property card shows as "9 of 12 pass", like fabrica.land. The deprecated `valuation.confidenceScore` and `valuation.scoreBreakdown` aliases were removed (payload size); `propertyChecks` is the only copy.+ - `FABRICA_OAUTH` (default: off on both networks): Connect Fabrica. `enabled` serves the signed-in endpoint `/mcp/account` (401 with an RFC 9728 challenge without a token) and `/.well-known/oauth-protected-resource[/mcp/account]`; off, both answer 404 and `/mcp` is unchanged+ - `FABRICA_OAUTH_ISSUER` (default: `https://api.fabrica.land`, `https://api-test.fabrica.land` on Sepolia), `FABRICA_OAUTH_JWKS_URL` (default: the issuer's `/.well-known/jwks.json`), `FABRICA_MCP_ORIGIN` (default: `https://mcp.fabrica.land`, `https://mcp-testnet.fabrica.land` on Sepolia; the token audience is `<origin>/mcp/account`)+ - `FABRICA_OAUTH_JWKS` (Sepolia and local only, ignored on mainnet): inline public JWKS for the mocked issuer; `node scripts/oauth-mock-issuer.mjs` prints one with a matching access token and can serve a mock `GET /oauth/account`+ | `fabrica-land/fabrica-connectors` | The trust agreement: trust structure, beneficiary rights. This server serves it as the `fabrica://legal/us-trust-agreement` resource |+ This repository is public. Code, comments, docs, tests, commit messages and pull request titles carry no internal tracker ids (Linear `ENG-…`, `ASK-…`), no internal names or decisions, no business numbers and no credentials; describe the behavior instead. `src/__tests__/public-repo.test.ts` fails on a tracker id in a tracked file; commit messages and pull request titles follow the rule by review, and commits made before the rule are left as they are. The API's own schema descriptions (`schema/ap+ - Use the product names people see on fabrica.land, not the API's internal vocabulary. "Property" is the default noun; name the token where the text identifies the asset (token ID, contract, the plain explanation of land, trust and token). A premint is "unclaimed" (no owner yet) or "being added" (claimed); a superseded premint is "replaced". People "add" a property to Fabrica and "remove" it; in prose, not "on-ramp", "off-ramp", "onboard", "mint" or "burn" (a token is "issued"; a burned token is+ - "Wallet" stays in this server where the input or output is an Ethereum address (tool names, `wallet` arguments, wallet reviews); Soil and the OAuth scope labels say "account" or "linked accounts" for the same thing, and the account tools follow them. Do not add "wallet" to the jargon check in `http.test.ts`.+ - American English ("labeled"). Operations across all 50 states are "with varying degrees of functionality"; never a bare "operates in all 50 states".
https://raw.githubusercontent.com/fabrica-land/fabrica-mcp/HEAD/AGENTS.md
+ # Fabrica MCP Server+ An MCP server giving AI agents read-only access to tokenized real property data on the Fabrica protocol.+ ## What is Fabrica?+ Fabrica tokenizes real property (land) as ERC-1155 NFTs on Ethereum. A legal trust holds title at the county level, and the token represents the beneficial interest in that trust: owning the token means owning the beneficial interest in the trust that holds the property.+ - Platform: https://fabrica.land+ - Docs: https://docs.fabrica.land+ - Company overview: https://about.fabrica.land+ - Dune: https://dune.com/fabrica/dashboard+ ---+ ## Project Structure+ ```+ src/+ config.ts # Network config, contract addresses, legal notices+ server.ts # createServer(): registers every tool+ prompts.ts # MCP prompts (due_diligence, work_parcel_list, wallet_review, how_to_add_land)+ index.ts # stdio entrypoint (local installs)+ http.ts # stateless Streamable HTTP handler (hosted)+ usage-log.ts # one structured log line per request, no arguments or IPs (docs/usage/)+ vercel.ts # Vercel function entry, bundled by scripts/build-vercel.mjs+ ui/property-card.ts # registers the property card MCP App resource (ui://fabrica/property-card)+ ui/generated/ # gitignored: HTML built from /ui by scripts/build-ui.mjs+ skills/fabrica/SKILL.md # Agent Skills file, served at /skill.md by scripts/build-vercel.mjs; keep it in step with the tools+ ui/+ property-card/ # the MCP App view (index.html template + app.ts), bundled with the+ # MCP Apps SDK into one self-contained HTML string (no CDN scripts).+ # view.ts: layout from the host context (compact under 480 px or on a+ # phone, regular otherwise), hover, safe areas, fact lines; unit tested+ fonts/ # Open Sauce Two (OFL) subset, served at /fonts by the hosted server+ tools/+ properties.ts # search_land, get_land_property, get_land_boundary+ lending.ts # get_fabrica_lending_market+ loan-book.ts # get_fabrica_loan_book (distribution of the loan records; no auction proceeds or per-loan liquidation rows, Fede 2026-10-17)+ portfolio.ts # get_land_portfolio+ protocol.ts # get_fabrica_stats+ scoring.ts # explain_property_checks+ borrowing.ts # estimate_land_borrowing+ valuation.ts # get_land_valuation (GraphQL GetValuation + REST /valuation/v1)+ activity.ts # get_land_activity+ marketplace.ts # get_land_order_book+ images.ts # get_land_map_image, get_land_portfolio_map_image
Showing the first 40 of each.
Showing the first 40 of each.
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect