Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Matrix Selfhost

A self-hosted Matrix (Synapse) server with a Claude-powered MCP server that lets Claude Desktop read, search, and summarize your Matrix rooms and messages.

Compatibility: Not stated.

Grade C

One Medium finding. Read the report before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

NETWORK_HOST_FROM_INPUT

Why this grade

  • NETWORK_HOST_FROM_INPUT Medium

    A file takes a URL or endpoint as input and has no fixed host list.

    mcp-server/server.js, line 34 limit: z.number().int().min(1).max(200).optional().default(30).describe("How many recent messages to fetch (1 - 200; default 30)"),

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Concern

    can delete files.

    PERMISSION_DELETE_FILES

    migration/replayJournal.js, line 18

    await fs.rm(tempPath, { force: true });

  • Install and update

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Serious

    accepts a host from input, with no fixed list in this file.

    NETWORK_HOST_FROM_INPUT

    mcp-server/server.js, line 34

    limit: z.number().int().min(1).max(200).optional().default(30).describe("How many recent messages to fetch (1 - 200; default 30)"),

    migration/adminApi.js, line 8

    const response = await fetch(url, {

    migration/clean_rooms.js, line 74

    const listRes = await fetch(`${PRIVATE_HOMESERVER}/_synapse/admin/v1/rooms`, {

    Show more

    migration/clean_rooms.js, line 101

    const deleteRes = await fetch(`${PRIVATE_HOMESERVER}/_synapse/admin/v1/rooms/${encodeURIComponent(room.room_id)}`, {

    migration/export.js, line 214

    const response = await fetch(httpUrl);

    migration/import.js, line 142

    const response = await fetch(`${process.env.PRIVATE_HOMESERVER}/_matrix/client/v3/register?access_token=${encodeURIComponent(process.env.APPSERVICE_TOKEN)}`, {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    bot/listener.js, line 14

    password: process.env.BOT_PASSWORD,

    bot/summarize.js, line 5

    apiKey: process.env.OPENAI_API_KEY,

    mcp-server/index.js, line 27

    dotenv.config({ path: join(currentDir, ".env"), quiet: true });

    Show more

    mcp-server/matrixClient.js, line 36

    const envPath = join(currentDir, ".env");

    mcp-server/matrixClient.js, line 69

    console.error(`[matrixClient] Automatically saved active session token and device ID to .env`);

    mcp-server/matrixClient.js, line 129

    const accessToken = process.env.MATRIX_ACCESS_TOKEN;

    mcp-server/matrixClient.js, line 182

    password: process.env.MATRIX_PASSWORD,

    migration/clean_rooms.js, line 9

    dotenv.config({ path: path.join(__dirname, ".env"), override: true });

    migration/clean_rooms.js, line 43

    process.env.ADMIN_TOKEN,

    migration/export.js, line 10

    // Load .env

    migration/export.js, line 11

    dotenv.config({ path: path.join(__dirname, ".env"), override: true });

    migration/export.js, line 21

    if (!process.env.PUBLIC_PASSWORD && (!process.env.PUBLIC_ACCESS_TOKEN || !process.env.PUBLIC_DEVICE_ID)) {

    migration/export.js, line 27

    const keyRaw = process.env.PUBLIC_RECOVERY_KEY || "";

    migration/export.js, line 48

    if (process.env.PUBLIC_ACCESS_TOKEN && process.env.PUBLIC_DEVICE_ID) {

    migration/export.js, line 49

    console.log("Using existing access token and device ID from .env...");

    migration/export.js, line 79

    console.log("TIP: Add these to your migration/.env to reuse this session and avoid spamming your account with unverified sessions:");

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • Licence

    Note

    no licence file found.

    LICENCE_MISSING

    No file path was stored.

    no licence file found.

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 374df8fa0c65. can delete files. accepts a host from input, with no fixed list in this file. reads a credential or environment file. no licence file found.

Date and source

Date checked:

View source

github.com

Commit graded: 374df8fa0c6525782bde682a8bb803bfec39ab5f

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen