跳到正文
FunCoding

propstack-mcp

官方 MCP Registry 已收录

Connect AI assistants to your Propstack real estate CRM (contacts, properties, deals).

Star
11
版本
v1.3.0
许可证
MIT
最近提交
2026年11月30日

Propstack MCP Server

Connect AI assistants (Claude, ChatGPT) to your Propstack real estate CRM.

Verbinden Sie KI-Assistenten mit Ihrem Propstack-CRM — Kontakte verwalten, Objekte durchsuchen, Deals pflegen, Besichtigungen planen und Suchprofile erstellen, alles per Sprache oder Chat.

What you can do / Was Sie damit machen koennen

  • Contact management — search, create, update, and tag contacts with GDPR tracking
  • Property search & management — filter by price, rooms, area, status; create and update listings
  • Deal pipeline — create deals, move through stages, track win/loss rates
  • Buyer matching — create search profiles from natural language ("3-Zimmer in Berlin, bis 400k, mit Balkon") and auto-match to new listings
  • Task & calendar — log call notes, set follow-up reminders, schedule viewings
  • Email — send templated emails linked to contacts and properties
  • 360-degree contact view — get a complete briefing before every call
  • Pipeline dashboards — deal counts and values per stage, stale deal alerts
  • Lead intake — one-call workflow: dedup, create contact, log notes, create deal, set reminder

Data protection (DSGVO): Using this server sends personal data from your Propstack CRM into the LLM you connect (Claude, ChatGPT, …). You — the Propstack customer — remain the data controller. See Datenschutz (DSGVO) for responsibility, legal basis, the fields data-minimization parameter, and notes on automated decisions.

Quick Start

1. Set your API key

export PROPSTACK_API_KEY=your_api_key_here

2a. Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "propstack": {
      "command": "npx",
      "args": ["-y", "propstack-mcp-server"],
      "env": {
        "PROPSTACK_API_KEY": "your_api_key_here"
      }
    }
  }
}

2b. Claude Code (CLI)

Add to your project's .mcp.json:

{
  "mcpServers": {
    "propstack": {
      "command": "npx",
      "args": ["-y", "propstack-mcp-server"],
      "env": {
        "PROPSTACK_API_KEY": "your_api_key_here"
      }
    }
  }
}

2c. claude.ai (web / mobile), ChatGPT and n8n: remote mode

Clients in the cloud cannot start a local npx command. They connect to a remote MCP server over HTTPS. Since v1.3.0 this server has a remote mode (Streamable HTTP) with token authentication:

export PROPSTACK_API_KEY=your_api_key_here
export MCP_AUTH_TOKEN=$(openssl rand -hex 32)
npx -y propstack-mcp-server --http --port 3000
# → http://127.0.0.1:3000/mcp   (health check: /health)

Put it behind HTTPS and add https://your-domain/mcp as a custom connector in Claude, with the request header Authorization: Bearer <MCP_AUTH_TOKEN>. It then works in Claude on the web, desktop and mobile.

Self-hosting for teams: deploy/ runs the MCP server, n8n and automatic HTTPS (Caddy) on one server with a single docker compose up -d. See Self-hosting below.

The HTTP mode refuses to start without MCP_AUTH_TOKEN: anyone with the URL would otherwise get full read/write access to your CRM. Do not put the stdio server behind an unauthenticated stdio-to-HTTP bridge or an open tunnel for the same reason.

2d. Cursor IDE

  1. Open Settings (Ctrl+,) → search "MCP"
  2. Edit MCP Servers JSON, or add mcp.json in project root / .cursor/

Option A — local project (after npm run build):

{
  "mcpServers": {
    "propstack": {
      "command": "node",
      "args": ["./dist/index.js"],
      "cwd": "C:/Users/you/path/to/propstack_mcp",
      "env": {
        "PROPSTACK_API_KEY": "your_api_key_here"
      }
    }
  }
}

Or use .env in project root — the server loads it automatically; you can omit the env block.

Option B — npx (published package or npx from local):

{
  "mcpServers": {
    "propstack": {
      "command": "npx",
      "args": ["-y", "propstack-mcp-server"],
      "env": {
        "PROPSTACK_API_KEY": "your_api_key_here"
      }
    }
  }
}

2e. Run directly

npm install propstack-mcp-server
PROPSTACK_API_KEY=your_key npx propstack-mcp-server

API Key / API-Schluessel

Get your Propstack API key:

  1. Log in to crm.propstack.de
  2. Go to Verwaltung > API-Schluessel (Administration > API Keys)
  3. Create or copy your V1 API key

Hinweis: Der API-Schluessel bestimmt die Berechtigungen. Stellen Sie sicher, dass Lese- und Schreibzugriff fuer die benoetigten Endpunkte aktiviert ist.

delete_image and the position / is_floorplan options of update_image use the Propstack API V2 (beta), because the V1 API does not document these operations. V2 accepts the same API key; all other tools use V1.

Available Tools (59)

Contacts (Kontakte)

ToolDescription
search_contactsSearch and filter contacts by name, email, phone, status, tags, broker, GDPR status, custom fields
get_contactGet full details of a single contact with related data
create_contactCreate a new contact (auto-dedup by email)
update_contactUpdate contact details, tags, GDPR status, broker assignment
delete_contactSoft-delete a contact (30-day recycle bin)
get_contact_sourcesList lead sources (ImmoScout24, Website, Empfehlung, etc.)
search_contacts_by_phoneLook up a contact by phone number (formatting-insensitive)

Properties (Objekte)

ToolDescription
search_propertiesSearch properties with 11 range filters, 17 sort fields, custom-field filters
get_propertyGet full property details including media, custom fields, energy certificate, equipment, layout, cost, and marketing fields
create_propertyCreate a new property listing, including German residential exposé fields (energy certificate, equipment, costs)
update_propertyUpdate price, status, description, broker assignment, and German residential exposé fields
get_property_statusesList property statuses (Verfuegbar, Reserviert, Verkauft, etc.)

Tasks (Aufgaben & Notizen)

ToolDescription
create_taskCreate a note, to-do, appointment, or cancellation (polymorphic)
update_taskMark done, reschedule, update notes
get_taskGet task details with linked contacts, properties, projects

Deals (Pipeline)

ToolDescription
search_dealsSearch deals by stage, pipeline, category, broker, feeling score
create_dealLink a contact to a property at a pipeline stage
update_dealMove deal through pipeline stages, update price/notes

Search Profiles (Suchprofile)

ToolDescription
list_search_profilesList what buyers/renters are looking for
create_search_profileCapture buyer criteria from natural language
update_search_profileAdjust budget, cities, room count, features
delete_search_profileRemove a search profile

Projects (Projekte)

ToolDescription
list_projectsList development projects with unit counts
get_projectGet project details with all units, media, documents

Activities & Events (Aktivitaeten & Termine)

ToolDescription
search_activitiesFull activity timeline for a contact, property, or project
list_eventsCalendar events — viewings, meetings, filtered by date/state

Emails (E-Mails)

ToolDescription
send_emailSend email using a Propstack template (snippet)
update_emailMark read/archived, categorize, link to CRM records
list_inbound_emailsList received emails by contact, property, project or broker (subject, date and linked IDs only)
get_emailRead one email by activity ID; optional fields whitelist, body as plain text

Documents (Dokumente)

ToolDescription
list_documentsList files attached to a property, project, or contact
upload_documentUpload a document (base64 data URI)

Images (Bilder)

ToolDescription
list_property_imagesList a property's images and floor plans in portal order (IDs, titles, flags)
upload_imageUpload an image to a property or project (base64 data URI, portal visibility)
update_imageChange an image's title (incl. title_de / title_en), portal visibility, position or floor-plan flag (position / floor plan: API V2)
delete_imageDestructive: permanently delete an image or floor plan; cannot be undone (API V2)

Relationships (Beziehungen)

ToolDescription
create_ownershipLink a contact as property owner (Eigentuemer)
create_partnershipLink a contact as buyer, tenant, etc. (Kaeufer, Mieter)

Lookups (Konfiguration)

ToolDescription
list_pipelinesGet deal pipelines with stages (IDs, names, positions)
get_pipelineGet a single pipeline with stage details
list_tagsList tags/groups (Merkmale) — filter contacts by group IDs
create_tagCreate a new tag for contacts, properties, or activities
list_activity_typesList note/todo/event templates for create_task
list_contact_statusesList contact statuses for search/assign
list_reservation_reasonsList deal cancellation reasons
list_custom_fieldsDiscover custom field definitions (names, types, options)
list_usersList all brokers/agents with contact info
list_teamsList teams/departments with member assignments
list_locationsList geographic areas (Geolagen) for location matching

Smart Composites (Intelligente Workflows)

ToolDescription
full_contact_360Complete contact dossier — info, search profiles, deals, activity
property_performance_reportDays on market, inquiry count, pipeline breakdown, activity summary
pipeline_summaryDeals per stage, total values, stale deals needing attention
smart_lead_intakeFull lead workflow: dedup, create/update, log notes, deal, reminder
match_contacts_to_propertyFind buyers whose search profiles match a property
match_properties_to_contactReverse matching: find properties that fit a contact's search profiles

Admin (Verwaltung)

ToolDescription
list_webhooksList all configured webhook subscriptions
create_webhookSubscribe to CRM events (CLIENT_CREATED, PROPERTY_UPDATED, etc.)
delete_webhookRemove a webhook subscription
get_contact_favoritesGet properties a contact has favorited

Self-hosting for teams

Remote mode settings

Variable / flagDefaultWhat it does
--http / MCP_TRANSPORT=httpstdioServe Streamable HTTP instead of stdio
--port / PORT3000HTTP port
--host / HOST127.0.0.1Bind address (0.0.0.0 in Docker)
MCP_PATH/mcpEndpoint path
MCP_AUTH_TOKENrequiredBearer token(s); comma-separated to rotate without downtime; at least 24 characters
MCP_ALLOW_NO_AUTHfalseRun without a token, only behind your own authentication
MCP_ALLOWED_HOSTSnoneAllowed Host headers, comma-separated (DNS-rebinding protection)
MCP_MAX_BODY_MB25Request size limit (image and document uploads are base64)

The HTTP mode is stateless: every request gets a fresh server, so restarts lose nothing and several instances can run behind a load balancer. Each request is logged with method, tool name, status and duration, never with arguments or results.

Docker

docker build -t propstack-mcp .
docker run -p 3000:3000 -e PROPSTACK_API_KEY=... -e MCP_AUTH_TOKEN=... propstack-mcp

deploy/ has a complete Compose stack (MCP server + n8n + Postgres + Caddy with Let's Encrypt) and a step-by-step guide.

Limiting tools

Works in both stdio and HTTP mode:

VariableEffect
PROPSTACK_READONLY=trueOnly read tools (search, get, list, match, reports). No create, update, send, upload or delete
PROPSTACK_TOOLS=a,b,cOnly these tools
PROPSTACK_DISABLED_TOOLS=x,yNever these tools, e.g. delete_contact,send_email

A common team setup: Claude gets a read-only connector, and writes go through a few fixed n8n workflows that check the data and log every run.

Every tool now carries MCP annotations (title, readOnlyHint, destructiveHint), so clients like Claude can ask before write and delete calls.

Example Conversations / Beispiel-Konversationen

Morning Briefing / Morgen-Briefing

You: What's on my calendar today?

AI: calls list_events with today's date range — You have 3 viewings scheduled...

Du: Gibt es neue Leads seit gestern?

KI: ruft search_contacts mit created_at_from=gestern auf — 5 neue Kontakte...

Lead Intake / Leaderfassung

You: I just got off the phone with Maria Schmidt, +49 157 1234 5678. She's looking for a 3-room apartment in Berlin, budget 300-400k, must have a balcony. She found us on ImmoScout.

AI: calls smart_lead_intake — Contact created (ID: 4521), call note logged, follow-up reminder set for tomorrow 9:00. Would you like me to create a search profile for her criteria?

Property Matching / Objekt-Matching

Du: Wir haben ein neues Listing: 3-Zimmer-Wohnung in Charlottenburg, 385.000 EUR. Wer kommt als Kaeufer in Frage?

KI: ruft match_contacts_to_property auf — 12 passende Suchprofile gefunden. Top 3: Herr Weber (Score 95%), Frau Mueller (Score 88%), Herr Kim (Score 85%)...

Pipeline Review

You: How's our sales pipeline looking? Any stale deals?

AI: calls pipeline_summary — 47 active deals, total value 12.3M EUR. 5 deals haven't been updated in 14+ days...

Pre-Call Briefing / Vor dem Anruf

Du: Gib mir alles ueber Kontakt 3847 — ich rufe gleich an.

KI: ruft full_contact_360 auf — Herr Weber, Rating 3 Sterne, sucht 3-Zimmer in Berlin/Potsdam bis 400k. 2 aktive Deals, letzte Aktivitaet vor 3 Tagen...

Datenschutz (DSGVO)

English summary: Using this MCP server sends personal data from your Propstack CRM into whichever LLM you connect. You (the Propstack customer) are the data controller (Verantwortlicher) under Art. 4(7) GDPR — the tool author hosts and processes nothing. The German section below covers controller responsibility, the legal basis your LLM processing needs, the fields parameter for data minimization, automated-decision notes for match_contacts_to_property, and audit logging. These points apply to any LLM tool handling customer data; they are stated here because they are easy to overlook.

Verantwortlichkeit

Dies ist ein quelloffenes Werkzeug (Open Source). Jeder Nutzer verbindet es über seinen eigenen API-Schluessel mit seinem eigenen Propstack-Konto. Der Server ist zustandslos, laeuft lokal beim jeweiligen Nutzer und speichert keine Daten. Es werden keine Daten durch den Autor des Werkzeugs gehostet oder verarbeitet. Der Propstack-Kunde, der dieses Werkzeug einsetzt, ist der Verantwortliche im Sinne von Art. 4 Nr. 7 DSGVO.

Verarbeitung durch das LLM

Bei der Nutzung dieses Werkzeugs werden personenbezogene Daten (Namen, Adressen, Kontaktdaten sowie je nach Tool auch Finanz- bzw. Deal-Daten) in das Kontextfenster des jeweils verbundenen LLM (Claude, ChatGPT usw.) uebertragen. Dies stellt einen Verarbeitungsvorgang im Sinne von Art. 4 Nr. 2 DSGVO dar. Der Verantwortliche benoetigt hierfuer:

  • eine Rechtsgrundlage nach Art. 6 DSGVO,
  • eine entsprechende Angabe in der eigenen Datenschutzerklaerung (Transparenzpflichten nach Art. 13/14 DSGVO gegenueber den betroffenen Personen),
  • gegebenenfalls einen Auftragsverarbeitungsvertrag (AVV) mit dem LLM-Anbieter.

Dies gilt fuer jedes LLM-gestuetzte Werkzeug, das Kundendaten verarbeitet, und ist nicht spezifisch fuer diesen MCP-Server — es wird hier dennoch ausdruecklich genannt, da es leicht uebersehen wird.

Hinweis zu automatisierten Entscheidungen (match_contacts_to_property)

Das Tool match_contacts_to_property erzeugt einen Uebereinstimmungs-Score (Ranking) zwischen Kontakten und einem Objekt — zur Vorlage fuer eine menschliche Pruefung. Es ist als Entscheidungsunterstuetzung konzipiert, nicht als autonomer Entscheider: Der Makler prueft die Ergebnisse und handelt manuell. Dadurch faellt die Nutzung nicht unter Art. 22 DSGVO (der ausschliesslich automatisierte Entscheidungen mit rechtlicher oder aehnlich erheblicher Wirkung betrifft). Der Verantwortliche sollte jedoch sicherstellen, dass das Tool auch tatsaechlich so eingesetzt wird — also nicht ohne menschliche Pruefung in eine vollstaendig automatisierte Ansprache eingebunden wird.

Datenminimierung (fields-Parameter)

Die Tools, die personenbezogene Daten in groesserem Umfang zurueckgeben — search_contacts, search_properties, search_deals, full_contact_360 und get_email — unterstuetzen einen optionalen fields-Parameter. Damit lassen sich gezielt nur die benoetigten Felder abrufen (z. B. ["first_name", "last_name", "email"]). Ohne fields bleibt das Verhalten unveraendert (alle Felder werden zurueckgegeben). Es wird empfohlen, dass Verantwortliche fields nutzen, um nur die fuer den jeweiligen Zweck erforderlichen Daten zu verarbeiten — im Sinne von Datenschutz durch Technikgestaltung (Art. 25 DSGVO).

list_inbound_emails gibt grundsaetzlich nur Betreff, Datum und verknuepfte IDs zurueck — keine Absenderadressen, keine Namen und keinen E-Mail-Text. Der Inhalt einer einzelnen E-Mail wird erst mit get_email abgerufen.

Audit-Logging / Zugriffskontrolle

Protokollierung von Zugriffen und Zugriffskontrolle liegen in der Verantwortung des Verantwortlichen — etwa ueber die Berechtigungssteuerung von Propstack (API-Schluessel-Berechtigungen) oder ueber Protokollierung auf Client- bzw. Sitzungsebene. Im stdio-Modus laeuft der Server zustandslos und lokal beim jeweiligen Nutzer; eine solche Protokollierung ist dort nicht im Werkzeug selbst enthalten.

Im Remote-Modus (HTTP) schreibt der Server pro Anfrage eine Logzeile mit Methode, Tool-Name, Statuscode und Dauer, ohne Argumente oder Ergebnisse. Wer den Server selbst betreibt (z. B. mit deploy/), ist fuer diesen Server Verantwortlicher bzw. Auftragsverarbeiter und braucht gegebenenfalls einen eigenen AVV. Mit PROPSTACK_READONLY und PROPSTACK_TOOLS laesst sich der Zugriff auf das Noetige beschraenken (Art. 25 DSGVO).

Development

git clone <repo-url>
cd propstack-mcp-server
npm install
npm run build    # tsc → dist/
npm start        # requires PROPSTACK_API_KEY

Releasing

npm version minor          # or patch / major: bumps package.json and server.json, commits, tags
git push --follow-tags     # the tag starts .github/workflows/release.yml

The release workflow checks that the tag matches both files, builds and tests, publishes to npm through trusted publishing (no npm token in the repo), publishes server.json to the MCP registry and creates a GitHub release with the CHANGELOG section. docker-publish.yml pushes the Docker image to GHCR. Write the CHANGELOG entry before running npm version.

Project Structure

src/
  index.ts                 # Entry point: picks stdio or HTTP
  server.ts                # Builds the MCP server and registers the tools
  http.ts                  # Streamable HTTP endpoint, bearer auth, /health
  config.ts                # Flags and environment variables
  tool-policy.ts           # Read-only mode, tool allow/deny lists, annotations
  propstack-client.ts      # HTTP client with auth, retry, error handling
  types/
    propstack.ts           # TypeScript interfaces for all API responses
  tools/
    helpers.ts             # Shared formatting utilities
    contacts.ts            # 7 contact tools
    properties.ts          # 5 property tools
    tasks.ts               # 3 task tools (polymorphic: note/todo/event/cancel)
    deals.ts               # 3 deal pipeline tools
    search-profiles.ts     # 4 search profile tools
    projects.ts            # 2 project tools
    activities.ts          # 2 activity/event tools
    emails.ts              # 4 email tools
    documents.ts           # 2 document tools
    relationships.ts       # 2 relationship tools (ownership/partnership)
    lookups.ts             # 8 lookup/config tools
    composites.ts          # 5 smart composite tools
    admin.ts               # 5 admin tools (webhooks, export, favorites)

Built and maintained by Andriy Shevchenko, SmartProcess Lab (Berlin), a Propstack implementation partner. SmartProcess Lab sets up this server for brokerages and builds automations on top of it.

License

MIT

同类 MCP Server

labelhead-artist-momentum

Trending hip-hop artist momentum scores across four cultural dimensions.

PApaperclipai/paperclip119k近 7 天新增 2,120 个 star

Corsair

One MCP URL for Gmail, Slack, GitHub, Notion and 700+ more apps, with your rules on every change.

COcorsairdev/corsair16k

Inbox Zero

Search Gmail and Outlook, save drafts, manage email rules, and view email stats.

ELelie222/inbox-zero13k近 7 天新增 76 个 star

kaneo

Official MCP server for Kaneo: manage tasks, projects, and labels from Claude and other MCP clients

USusekaneo/kaneo9.9k近 7 天新增 64 个 star

官方

QR Rápido

Generate QR codes for URLs, PIX, Wi-Fi, vCards, WhatsApp and more. For AI agents.

MOmodelcontextprotocol/registry7.5k近 7 天新增 24 个 star

whatsapp-mcp

WhatsApp MCP server

LHlharries/whatsapp-mcp7k近 7 天新增 33 个 star