Skip to main content

Model Context Protocol server for pararam.io - a modern communication and collaboration platform

Project description

Pararam Nexus MCP

A Model Context Protocol (MCP) server for interacting with pararam.io - a modern communication and collaboration platform.

About pararam.io

Pararam.io is a communication platform that provides:

  • Messaging: Create groups and private chats
  • Team Organization: Organize people into teams
  • Communication: Group and private calls (audio and video)
  • Cross-platform: Available on mobile (iOS, Android, Huawei) and web

This MCP server uses the pararamio-aio library to provide asynchronous access to pararam.io features through the Model Context Protocol.

Features

  • Asynchronous API client for pararam.io
  • Two-factor authentication support (TOTP)
  • Session persistence with cookie storage
  • Comprehensive chat and message management
  • File attachment handling (upload and download)
  • URL-based message retrieval
  • Conversation thread building

Available Tools

Message Operations

  • search_messages: Search for messages across all chats with advanced search syntax (Boolean operators, wildcards, filters)
  • get_chat_messages: Get recent messages from a specific chat
  • send_message: Send a message to a chat with optional reply and quote text
  • get_message_from_url: Extract and retrieve a message from pararam.io URL

Chat Operations

  • search_chats: Search for chats by name or description
  • build_conversation_thread: Build a conversation tree from a root message

File Operations

  • upload_file_to_chat: Upload files to a chat (from path or base64 content)
  • get_post_attachments: List all attachments in a post
  • download_post_attachment: Download attachments (to disk or as ImageContent)
    • 1MB size limit for downloads
    • Supported formats for direct display: images (JPEG, PNG, GIF, WEBP), documents (PDF, DOCX, DOC, TXT, RTF, ODT, HTML, EPUB), spreadsheets (XLSX, XLS, CSV), data (JSON, XML)
    • Returns ImageContent for supported types (displays natively in Claude Desktop/Code)
    • For unsupported types, requires output_path to save to disk
    • Saves to disk when output path is provided

User Operations

  • search_users: Search for users by name or unique name
  • get_user_info: Get detailed information about a specific user
  • get_user_team_status: Get user's status in teams (member, admin, guest)

Tool Details

send_message

Send a message to a chat with optional reply and quote functionality.

Parameters:

  • chat_id (required): ID of the chat to send message to
  • text (required): Message text to send
  • reply_to_message_id (optional): Post number to reply to
  • quote_text (optional): Text to quote from the replied message (only used with reply_to_message_id)

Examples:

# Simple message
send_message(chat_id="123", text="Hello!")

# Reply to a message
send_message(
    chat_id="123",
    text="I agree!",
    reply_to_message_id="456"
)

# Reply with quoted text
send_message(
    chat_id="123",
    text="That's a great idea!",
    reply_to_message_id="456",
    quote_text="We should implement this feature next week"
)

Installation

Quick Install with uvx (Recommended)

Install directly from GitHub:

uvx --from git+https://github.com/ivolnistov/pararam-nexus-mcp pararam-nexus-mcp

Or clone to a specific directory (e.g., ~/.mcp/):

git clone https://github.com/ivolnistov/pararam-nexus-mcp.git ~/.mcp/pararam-nexus-mcp
cd ~/.mcp/pararam-nexus-mcp
uv sync

Development Installation

For local development:

git clone https://github.com/ivolnistov/pararam-nexus-mcp.git
cd pararam-nexus-mcp
uv sync --dev

Configuration

Create a .env file with your pararam.io credentials:

PARARAM_LOGIN=your_login
PARARAM_PASSWORD=your_password
PARARAM_2FA_KEY=your_2fa_key  # Optional

Usage

If installed with uvx:

uvx --from git+https://github.com/ivolnistov/pararam-nexus-mcp pararam-nexus-mcp

If cloned locally:

cd ~/.mcp/pararam-nexus-mcp
uv run pararam-nexus-mcp

For development:

uv run pararam-nexus-mcp

Development

Install pre-commit hooks:

uv run pre-commit install

Run linting and formatting:

uv run ruff check --fix src/
uv run ruff format src/

Run type checking:

uv run mypy src/pararam_nexus_mcp

Run tests:

uv run pytest

Dependencies

  • FastMCP: Model Context Protocol server framework
  • pararamio-aio: Async Python client for pararam.io API
  • httpx: Modern HTTP client
  • Pydantic: Data validation using Python type annotations

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pararam_nexus_mcp-0.1.0.tar.gz (95.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pararam_nexus_mcp-0.1.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file pararam_nexus_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: pararam_nexus_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 95.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pararam_nexus_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 35d4a79d24049f7e77e75b297ed54787e293b92c2d4e1c04dbeb4d12ceffc6ad
MD5 76a479dccfbf84f352ce05cee0b95b83
BLAKE2b-256 b3bf6a58967e5c9960e77301ea5fb70e9def2631b32574019e38876e277ea1bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pararam_nexus_mcp-0.1.0.tar.gz:

Publisher: release.yml on ivolnistov/pararam-nexus-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pararam_nexus_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pararam_nexus_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23b179e12fba24fb257dfa0501f9fbf9fef3e107511d0329768c815234df1fcc
MD5 d3d8d95dfe1ae4b55ca56f981ee50413
BLAKE2b-256 100d9bb78b4450d715cd46f505165b0cee58e3327b83cc79fe90755e4f6ef1d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pararam_nexus_mcp-0.1.0-py3-none-any.whl:

Publisher: release.yml on ivolnistov/pararam-nexus-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page