Skip to main content
Glama
lortonx

daft-adverts-mcp

by lortonx

Irisches Kleinanzeigen-Toolkit (Daft + Adverts)

Bun-Monorepo: inoffizielle HTTP-Clients und MCP-Server für zwei irische Websites —

Website

Domain

Fokus

Daft.ie

Immobilien

Suche nach Verkauf / Miete / WG, Anzeigendetails, Keycloak-Authentifizierung

Adverts.ie

Marktplatz

Anzeigensuche, Verfeinerung/Facetten, Anzeigendetails, optionales Konto

Nicht mit Distilled Media, Daft oder Adverts verbunden. Protokolle und Datenstrukturen stammen aus den Android-Apps.

Haftungsausschluss

Dieses Repository wurde vollständig von KI-Code-Agenten unter menschlicher Anleitung geschrieben. Experiment / persönliches Werkzeug — kein unterstütztes Produkt.

  • Keine Garantie — Korrektheit und API-Kompatibilität sind nicht garantiert; die vorgelagerten Apps ändern sich.

  • Die Tests sind minimal — behandeln Sie einen grünen Testlauf nicht als produktionsreif.

  • Nutzung auf eigene Gefahr. Respektieren Sie die ToS und Ratenlimits; scrapen Sie nicht, spammen Sie nicht und missbrauchen Sie keine Konten.

Related MCP server: Bazos-MCP

Pakete

packages/
  daft-api/       @daft-ie/api          HTTP client → gateway.daft.ie / auth.daft.ie
  daft-mcp/       @daft-ie/mcp          MCP tools (stdio) over daft-api
  adverts-api/    @adverts-ie/api       HTTP client → new.api + api.adverts.ie
  adverts-mcp/    @adverts-ie/mcp       MCP tools (stdio) over adverts-api
  mcp-host/       @daft-ie/mcp-host     one Fastify process: both MCPs over HTTP (+ Docker)

Paket

README

Was Sie erhalten

@daft-ie/api

packages/daft-api

DaftApi: Suche nach Wohn-/Gewerbeimmobilien und Neubauten, Geo-Hilfsfunktionen, Objektdetails, gespeicherte Anzeigen/Suchen, Posteingang, Keycloak-Login + Refresh-Rotation

@daft-ie/mcp

packages/daft-mcp

Agent-Tools: search_for_sale / for_rent / sharing, get_property, autocomplete, resolve_area, optional auth_*

@adverts-ie/api

packages/adverts-api

AdvertsApi: Legacy-search.json-Browsing + Facetten/Orte; neue advert/{id}-Schnittstelle, Konto, Medien, Oberfläche zum Aufgeben von Anzeigen; App-Enums

@adverts-ie/mcp

packages/adverts-mcp

Agent-Tools: search_ads, Refine-/Preis-Facetten, Grafschaften/Gebiete, get_ad, discover/config, optional auth_*

@daft-ie/mcp-host

packages/mcp-host

Streamable HTTP: /mcp/daft, /mcp/adverts, /health; Cursor / OpenCode / Hermes / Docker

Schichten:

  Cursor / OpenCode / Hermes / your code
            │
            ├─ stdio ──► daft-mcp ──► daft-api ──► Daft
            ├─ stdio ──► adverts-mcp ──► adverts-api ──► Adverts
            └─ HTTP  ──► mcp-host ──► both MCP servers (shared process)

Schnellstart

bun install
cp .env.example .env   # fill DAFT_* and/or ADVERTS_* as needed

Nutzung der Bibliothek

import { DaftApi } from "@daft-ie/api";
import { AdvertsApi } from "@adverts-ie/api";

const daft = new DaftApi({ platform: "android", appVersion: "9.8.1" });
const adverts = new AdvertsApi();

MCP über HTTP (beide Tools, ein Prozess) — bevorzugt für Multi-Client-Setups:

bun packages/mcp-host/src/index.ts
# http://127.0.0.1:3100/mcp/daft
# http://127.0.0.1:3100/mcp/adverts

Docker: siehe packages/mcp-host.

MCP stdio (ein Server pro Prozess)

bun packages/daft-mcp/src/index.ts
bun packages/adverts-mcp/src/index.ts

Anbindung: .cursor/mcp.json, opencode.json und packages/mcp-host/README.md.

Umgebung

Gemeinsame .env im Wurzelverzeichnis (gitignored). Grobe Aufteilung:

Variablen

Verwendet von

DAFT_CLIENT_ID, DAFT_REFRESH_TOKEN, DAFT_ACCESS_TOKEN, …

@daft-ie/api / @daft-ie/mcp

ADVERTS_NEW_API_KEY, ADVERTS_OLD_API_KEY, ADVERTS_ACCESS_TOKEN, …

@adverts-ie/api / @adverts-ie/mcp

HTTP_PROXY

optionaler ausgehender Proxy für beide APIs

TS_AUTHKEY

Docker mcp-host Tailscale → Pi-Exit-Node

MCP_HOST, MCP_HOST_PORT

@daft-ie/mcp-host

Tokendateien nach dem Login: .daft-tokens.json, .adverts-tokens.json (mit *_TOKEN_FILE überschreibbar).

Sie können nur Daft, nur Adverts oder beide ausführen — ungenutzte Schlüssel werden einfach nicht verwendet.

Tests

Pro Paket (bun test in dem jeweiligen Ordner). Die Abdeckung ist bewusst dünn; siehe Haftungsausschluss.

Lizenz

MIT (sofern ein Paket nichts anderes angibt).

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables interaction with the Daft.ie API for searching rental properties and retrieving detailed information about specific rental listings.
    10
    ISC
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for interacting with Bazos.cz, Bazos.sk, Bazos.at, and Bazos.pl. Supports searching ads, retrieving ad details, and fetching user ratings.
    3
    59
    1
    AGPL 3.0
  • A
    license
    A
    quality
    C
    maintenance
    MCP server that enables AI assistants to search Irish property listings on Daft.ie via the daftlistings library.
    5
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server to search tutti.ch Swiss classifieds anonymously with tools for listings, categories, and localities. Supports both MCP clients and a JSON CLI.
    14
    MIT

View all related MCP servers

Related MCP Connectors

  • A basic MCP server to operate on the Postman API.

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

  • Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lortonx/daft-adverts-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server