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 分

    请在仓库或注册中心条目中声明许可证。