Attesta

io.github.doralboim由 GitHub 帳號 doralboim 發布v0.2.0更新於 Oct 24, 2026

Provenance-grade Portugal residential property data and signed JWS verification for AI agents.

已驗證Streamable HTTP可網頁執行金融安全與監控資料與分析

概覽

AI 產生的概覽

遠端 MCP 伺服器,為 AI 代理提供可溯源的葡萄牙住宅房產資料,並支援簽章 JWS 驗證。

可以做什麼
  • 透過 MCP 端點查詢葡萄牙住宅房產資料,底層由資料擷取與比對流程支撐。
  • 取得市場資料,例如統計與可比物件資料包。
  • 使用簽章 JWS 憑證與公開的 JWKS 金鑰集驗證聲明。
  • 除 MCP 工具外另提供證據與讀取 API,並具備計量與防護機制。
適用情境
當助手需要葡萄牙住宅物件、市場統計或可比資料,或需要對房產相關聲明提供可驗證的簽章溯源,而非未經查核的擷取資料時適用。
執行需求
透過 streamable HTTP 連線至託管的遠端 MCP 端點;清單未宣告任何驗證、環境變數或標頭。若改在本地執行專案,則需要 Python 工具鏈、含 pgvector 的 Postgres,以及選用的 Apify 憑證或 LLM 供應商金鑰。
安裝前請注意
README 提到 MCP 工具具備計量與防護機制,使用可能被計數或受限。選用的即時擷取器依賴第三方 Apify actor 與選用 LLM 供應商,會將資料送往這些服務。清單未宣告驗證,依賴前請確認此公開端點所暴露的資料範圍與速率限制。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Attesta,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.doralboim%2Fattesta/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "attesta": {
      "type": "http",
      "url": "https://api-production-d9143.up.railway.app/mcp"
    }
  }
}

README

Attesta

B2A platform: provenance-grade Portugal residential property data + signed JWS verification for AI agents.

Authoritative docs: attesta-architecture.md · attesta-agent-prompt.md

Quick start

bash
make installcp .env.example .envmake db-up                 # Postgres + pgvectormake migrate               # apply Alembic migrationsmake dev                   # API at :8000
EndpointURL
Health/healthz
REST API/docs
MCP/mcp
JWKS/.well-known/jwks.json
Agent discovery/llms.txt

Pipeline (local)

bash
make ingest    # attesta-ingest --fixture (bundled JSON corpus)make resolve   # attesta-resolvemake test

Ingestion

Default: bundled fixtures in tests/fixtures/ — no external scraper credentials needed.

bash
make ingest                              # same as attesta-ingest --fixtureattesta-ingest --fixture                 # explicitattesta-ingest --source idealista_pt     # optional: Apify actor (needs APIFY_* in .env)attesta-ingest --source imovirtual       # optional: Apify actor

Live portal collectors implement app/ingestion/base.py (BaseCollector). Apify-backed Idealista/Imovirtual collectors ship as optional plugins; add a new source by subclassing, not refactoring the pipeline. See docs/decisions/008-fixture-first-ingestion.md.

To grow production corpus: pick a collector strategy (build Apify actors, direct HTTP, licensed feed, CSV import), wire env, and schedule the ingest worker on Railway.

CI

GitHub Actions runs ruff, mypy (advisory), pytest on SQLite + Postgres.

Decisions

Architecture Decision Records: docs/decisions/
Cursor rules: .cursor/rules/

Milestone status

  • M0 — Skeleton, CI, docker-compose, alembic scaffold
  • M1 — Schema, ingestion worker, fixtures, PII tests
  • M2 — Resolution matcher, read API
  • M3 — MCP tools, metering choke point, guardrails
  • M4 — Verification pipeline, JWS/JWKS, evidence API, eval harness (62 claims), attestation spec
  • M5 — Railway 3-service config, demo + verify scripts, OpenAPI export

Verification

bash
make eval                    # 62 labeled claims, 75% thresholdpython scripts/verify_jws.py <jws> --localpython scripts/demo.py       # E2E against local APImake openapi                 # writes public/openapi.json

LLM (optional, provider-agnostic via LiteLLM)

Set LLM_ENABLED=true and configure models + prompt file paths in .env (see .env.example).
Uses LiteLLM — point LLM_PARSE_MODEL / LLM_ADJUDICATE_MODEL at any supported provider (anthropic/, openai/, gemini/, azure/, groq/, etc.).
Provider API keys follow LiteLLM env conventions — set only the key(s) for your chosen provider(s).
See distribution/llm-providers.md for examples and cost estimates.

Attestation spec: public/attestation-spec.md
Market data contract (stats/comps envelopes): public/market-data-contract.md

來源:README.md,提交 5853590

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v0.2.0最新Sep 24, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。