Skip to main content
Glama
MCP System Bridge

MCP System Bridge

by leynier

MCP System Bridge

License: MIT Version Tests

mcp-sys-bridge is a local Model Context Protocol (MCP) server that lets MCP clients open web URLs, copy text to the clipboard, send native notifications, and inspect the local date and time.

Installation

The server requires Python 3.12 or newer and runs directly with uvx. Add it to your MCP client configuration:

{
  "mcpServers": {
    "mcp-sys-bridge": {
      "command": "uvx",
      "args": ["mcp-sys-bridge"]
    }
  }
}

It can also be started manually:

uvx mcp-sys-bridge

For a local checkout, use either entry point after uv sync:

uv run mcp-sys-bridge
uv run python -m mcp_sys_bridge

Related MCP server: Command Executor MCP Server

Available tools

open_urls

Opens HTTP or HTTPS URLs in the default browser. URLs without a scheme use HTTPS. Other schemes are rejected so an MCP client cannot accidentally invoke arbitrary protocol handlers.

The tool preserves input order and duplicates. Each requested URL receives its own result:

[
  {
    "requested_url": "example.com:8080/docs",
    "normalized_url": "https://example.com:8080/docs",
    "opened": true,
    "error": null
  }
]

An invalid URL or browser failure does not stop the rest of the batch.

copy_to_clipboard

Copies the provided text to the local clipboard. This replaces the current clipboard contents. Provider failures are returned to the client as MCP tool errors.

send_notification

Sends a local system notification with a title, message, optional application name, and a non-negative timeout. Provider failures are returned as MCP tool errors. Some operating systems may ignore the requested timeout.

get_current_date_info

Returns local calendar and clock fields, including ISO calendar values, English day and month names, timezone name, and UTC offset. iso_datetime is timezone-aware, for example 2026-08-08T20:30:00-06:00.

Platform notes

  • Windows and macOS normally provide the required browser, clipboard, and notification integrations.

  • Linux requires an active graphical session and compatible system providers. Clipboard support may require wl-clipboard, xclip, or xsel, depending on the session; desktop notifications typically require a working notification service and D-Bus integration.

  • Clipboard and notification tools are expected to fail cleanly in headless sessions where those providers are unavailable.

  • MCP annotations identify URL opening, clipboard writes, and notifications as side effects so compatible clients can apply their normal confirmation policy.

Development

make tests   # Ruff plus tests with 100% line and branch coverage
make audit   # Audit the locked environment for known vulnerabilities
make build   # Build the wheel and source distribution

Tests mock browser, clipboard, and notification calls; they do not modify the developer's desktop state.

Changelog

0.2.0

  • Changed open_urls to return ordered structured results and restricted it to HTTP/HTTPS.

  • Corrected MCP side-effect annotations and MCP error reporting.

  • Made date-time output timezone-aware and added timezone metadata.

  • Renamed the import package from src to mcp_sys_bridge.

  • Added functional tests, dependency auditing, cross-platform CI, and OIDC-based publishing.

src.* imports and the dictionary result previously returned by open_urls are not compatible with 0.2.0. The documented mcp-sys-bridge command remains unchanged.

0.1.5

  • Added the cross-platform send_notification tool.

0.1.4

  • Added tool annotations.

0.1.3

  • Added get_current_date_info.

0.1.2

  • Changed open_url to open_urls for batch URL opening.

0.1.0

  • Added URL opening and clipboard support.

License

MIT License. See license.

Available Tools

4 tools
copy_to_clipboardD
Read-only

Copy text to the clipboard.

Inputs: text (required).

get_current_date_infoA
Read-only
Get comprehensive information about the current date.

Returns:
    DateInfo: A dictionary containing comprehensive date and time information:
        - full_datetime (str): Full date and time in YYYY-MM-DD HH:MM:SS format
        - iso_date (str): ISO 8601 date format (YYYY-MM-DD)
        - iso_datetime (str): ISO 8601 datetime format with timezone
        - timestamp (int): Unix timestamp (seconds since epoch)
        - year (int): Current year (e.g., 2024)
        - month (int): Current month (1-12)
        - day (int): Current day of the month (1-31)
        - day_of_year (int): Day number in the year (1-366)
        - day_of_week_number (int): Day of the week (0=Monday, 6=Sunday)
        - day_name (str): Full name of the day (e.g., "Monday")
        - day_name_short (str): Short name of the day (e.g., "Mon")
        - month_name (str): Full name of the month (e.g., "January")
        - month_name_short (str): Short name of the month (e.g., "Jan")
        - is_leap_year (bool): True if current year is a leap year
        - week_number (int): ISO 8601 week number (1-53)
        - iso_year (int): ISO 8601 year (may differ from calendar year)
        - weekday_iso (int): ISO weekday (1=Monday, 7=Sunday)
        - quarter (int): Quarter of the year (1-4)
        - days_in_month (int): Total days in the current month
        - hour (int): Current hour (0-23)
        - minute (int): Current minute (0-59)
        - second (int): Current second (0-59)
        - microsecond (int): Current microsecond (0-999999)

Inputs: no named parameters.

open_urlsC
Read-only

Open a list of URLs in the default browser.

Inputs: urls (required).

send_notificationA
Read-only
Send a system notification.

Displays a native operating system notification with the specified title and message.
Works across Windows, macOS, and Linux platforms.

Args:
    title: The title of the notification (required)
    message: The message body of the notification (required)
    app_name: The name of the application sending the notification (optional)
    timeout: Duration in seconds to display the notification (default: 10)

Returns:
    A success message if the notification was sent successfully, or an error message if it failed.

Examples:
    send_notification("Task Complete", "Your build has finished successfully")
    send_notification("Warning", "Low disk space detected", app_name="System Monitor", timeout=5)

Inputs: title (required), message (required), app_name, timeout.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a completely distinct purpose: clipboard text, current date/time, opening URLs, and sending notifications. No overlap or ambiguity.

    Naming Consistency4/5

    All names use snake_case and start with verbs, but the structure varies slightly (e.g., 'copy_to_clipboard' vs 'get_current_date_info' vs 'open_urls'). Mostly consistent.

    Tool Count4/5

    Four tools is a bit low for a 'system bridge' but still reasonable for a focused set covering common system interactions. Could be expanded slightly without feeling overwhelming.

    Completeness3/5

    The set covers clipboard, date/time, URL opening, and notifications, but misses obvious complementary operations like reading clipboard or more system info. There are noticeable gaps.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers