Skip to main content
Glama
PrivacyFlow MCP Server

PrivacyFlow MCP Server

Official

PrivacyFlow MCP Server

MCP server for PrivacyFlow — encrypted messaging via Signal, SimpleX, and Session.

Setup

Prerequisites

Installation

npm install -g privacyflow-mcp-server

Alternatively, use npx for on-demand execution without installing:

npx -y privacyflow-mcp-server

Configuration

Set the following environment variables:

Variable

Required

Default

Description

PRIVACYFLOW_API_KEY

Yes

—

Your PrivacyFlow API key

PRIVACYFLOW_BASE_URL

No

https://api.privacyflow.app

API base URL

PRIVACYFLOW_API_KEY_HEADER

No

authorization

Auth header: authorization or x-api-key

Usage

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "privacyflow": {
      "command": "npx",
      "args": ["-y", "privacyflow-mcp-server"],
      "env": {
        "PRIVACYFLOW_API_KEY": "pf_live_your_key_here",
        "PRIVACYFLOW_BASE_URL": "https://api.privacyflow.app"
      }
    }
  }
}

OpenCode (.opencode.json)

{
  "mcp": {
    "privacyflow": {
      "type": "local",
      "command": "npx",
      "args": ["-y", "privacyflow-mcp-server"],
      "env": {
        "PRIVACYFLOW_API_KEY": "pf_live_your_key_here",
        "PRIVACYFLOW_BASE_URL": "https://api.privacyflow.app"
      },
      "enabled": true
    }
  }
}

Cursor

Add to your Cursor MCP config (~/.cursor/mcp.json):

{
  "mcpServers": {
    "privacyflow": {
      "command": "npx",
      "args": ["-y", "privacyflow-mcp-server"],
      "env": {
        "PRIVACYFLOW_API_KEY": "pf_live_your_key_here",
        "PRIVACYFLOW_BASE_URL": "https://api.privacyflow.app"
      }
    }
  }
}

Related MCP server: pigeonpost

Tools

Tool

Description

privacyflow_check_health

Check API health and version

privacyflow_verify_api_key

Verify API key validity and list authorized app IDs

privacyflow_list_apps

List authorized apps with names, active state, and configured messengers

privacyflow_poll_messages

Poll incoming messages from your app queue

privacyflow_send_messages

Send messages via PrivacyFlow

Resources

  • privacyflow://docs/api — API endpoint documentation

  • privacyflow://docs/contact-formats — Signal/Session/SimpleX contact ID formats

Prompts

  • privacyflow_reply_to_message — Reply to a polled message preserving routing fields

  • privacyflow_broadcast — Broadcast a message to multiple contacts

Development

npm install        # Install dependencies
npm run dev        # Run with tsx (development)
npm run build      # Build TypeScript
npm test           # Run tests

Testing with MCP Inspector

npx @modelcontextprotocol/inspector node build/index.js

License

MIT

Available Tools

5 tools
privacyflow_check_healthA

Check the health of the PrivacyFlow API. Returns status and version information. No authentication required.

Inputs: no named parameters.

privacyflow_list_appsA

List all PrivacyFlow apps authorized by your API key. Each app includes its appId, name, active state, and configured messengers (with groupId and provisioning status). Use this to discover which appIds you can pass to privacyflow_send_messages and which messengers each app supports. No input required.

Inputs: no named parameters.

privacyflow_poll_messagesA

Poll incoming messages from your PrivacyFlow app queues. Returns messages from all apps authorized by your API key. Messages are consumed on poll (destructive read). Supports Signal, SimpleX, and Session messengers.

Inputs: limit.

privacyflow_send_messagesSend MessagesA

Send one or more messages through PrivacyFlow. Accepts an array of message objects. Each message requires appId, contactId, message, and messenger (signal/simplex/session). Optionally include groupId for group replies. Maximum 50 messages per call, 10,000 characters per message.

Inputs: no named parameters.

privacyflow_verify_api_keyA

Verify that the configured PrivacyFlow API key is valid and return the list of authorized app IDs. No side effects.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct action: health check, API key validation, app listing, polling incoming messages, and sending messages. Descriptions clearly differentiate the purpose of each tool, with no meaningful overlap.

    Naming Consistency5/5

    All tools follow a consistent pattern: the 'privacyflow' prefix followed by a verb_noun structure (check_health, verify_api_key, list_apps, poll_messages, send_messages). This uniform naming makes the toolset predictable and easy to navigate.

    Tool Count5/5

    With exactly 5 tools, the server is well-scoped for a messaging integration service. Each tool covers a necessary operation (health, auth, discovery, receive, send) without unnecessary bloat or redundancy.

    Completeness4/5

    The toolset covers the core lifecycle of a messaging service: authentication, app discovery, sending, and receiving messages. Minor gaps exist (e.g., no explicit message acknowledgment or per-app filtering on poll), but these are reasonable workarounds and do not cripple the primary workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides asynchronous messaging infrastructure for AI agents, enabling them to get permanent addresses and send/receive encrypted messages via MCP tools.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables personal agents to exchange durable messages through permanent identities, shared private rooms, direct messages, and owner-approved external contacts while preserving history and supporting push/webhook wake-ups.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to exchange end-to-end encrypted messages, negotiate availability and plans, and share notes in project spaces through a local node exposing 13 MCP tools and an encrypted relay that only stores ciphertext.
      MIT