Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

session-mesh-mcp

Latest version: v0.2.2

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: Shashank4DEV
2 Stars
0 Forks
3 Versions
216 Downloads
TypeScript Repo language

Scan summary

session-mesh-mcp was last scanned on 29 Nov 2026 at version 0.2.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.2.2.
  • Downloads: 216 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.2 LATEST 29 Nov 2026 No rules fired
0.2.1 31 Oct 2026 No rules fired
0.2.0 26 Oct 2026 No rules fired

No rules fired in 0.2.2

Findings

Findings for v0.2.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

⚡ session-mesh-mcp — MCP Agent Orchestrator

TypeScript MCP License Tests

An open, extensible Model Context Protocol (MCP) server that acts as a scalable, multi-modal multi-agent coordination engine.

It allows any MCP-compatible client (Claude Desktop, Cursor, Antigravity, Zed, LibreChat) to delegate complex multi-step programming and research goals to internal teams of specialized subagents — acting as a context firewall to conserve client token limits while preventing tool timeouts.


Naming note: The canonical name of this project is session-mesh-mcp — it is used consistently for the GitHub repository, the npm package, and the PyPI package. The legacy CLI aliases agent-mesh-mcp, mcp-agent-orchestrator, and agent-orchestrator are deprecated: they still work today, but new setups should use session-mesh-mcp, and the aliases will be removed in a future major release. (The Python wrapper's internal module name, mcp_agent_orchestrator, is not user-facing.)


🌟 Key Features

  • 🧠 Multi-Modal Orchestration:
    1. Cross-Session Agent Mesh (invoke_session, send_session_message, check_inbox): Spawn independent specialist subagents in isolated sessions with dedicated models, context boundaries, persistent SQLite inboxes, and bidirectional inter-session messaging.
    2. Autonomous Swarm (start_swarm): Supervisor agent decomposes goals into subtasks, delegates to worker agents, and synthesizes final outputs.
    3. Interactive Toolkit (spawn_agent, send_agent_message): Direct agent management primitives enabling host models to orchestrate custom loops.
    4. Structured Pipelines (run_pipeline): Deterministic multi-stage DAG workflows passing typed artifacts with human-in-the-loop checkpoints (approve_checkpoint).
  • 🔌 Flexible Inference (Zero API Keys or Cloud APIs):
    • Zero-Key Local Setup: Uses your authenticated local Antigravity (agy) CLI (accessing gemini-3.8-flash-high, claude-sonnet-4-6, etc.) or Ollama.
    • Cloud API Setup: Direct integrations for Google Gemini, Anthropic, OpenAI, or any OpenAI-compatible provider (DeepSeek, Groq, Together).
    • Hybrid Setup: Mix and match free local models for high-volume workers and cloud frontier models for critical reviews.
  • 🛡️ Sandboxed Workspace Tools:
    • Scoped filesystem tools (fs_read, fs_write, fs_list, fs_delete).
    • Controlled shell execution (shell_exec) with configurable safety modes (autonomous, semi-autonomous, safe).
    • Web search and HTTP fetch (web_fetch).
    • MCP Gateway Bridge: Subagents can dynamically call tools on third-party MCP servers (e.g. GitHub, PostgreSQL, Docker).
  • 💾 State & Persistence:
    • Embedded SQLite database (data/orchestrator.db) with WAL mode.
    • Persists task histories, agent thought transcripts, and generated artifacts across restarts.
  • 🖥️ Live Web Dashboard:
    • Runs on http://localhost:4000 with Server-Sent Events (SSE).
    • Real-time progress tracker, live agent scratchpads, artifact previewer, and one-click checkpoint approval buttons.

🏗️ Architecture

flowchart TD
    Client["Host MCP Client\n(Claude Desktop / Cursor / Antigravity / Zed)"]

    subgraph Server["MCP Agent Orchestrator Server"]
        subgraph Transport["MCP Protocol Layer (stdio)"]
            Tools["MCP Tools\n(start_swarm, run_pipeline, spawn_agent, etc.)"]
            Status["Inspection Tools\n(get_task_status, list_jobs, approve_checkpoint)"]
        end

        subgraph Kernel["Orchestration Kernel"]
            Dispatcher["Task Dispatcher & Scheduler"]
            PolicyEngine["Workspace & Safety Policy Gatekeeper"]
            Supervisor["Swarm Supervisor"]
            DAGRunner["Pipeline DAG Runner"]
            AgentPool["Interactive Agent Pool"]
        end

        subgraph Inference["Inference Layer"]
            Agy["Local agy CLI\n(Zero Keys)"]
            Ollama["Local Ollama\n(Zero Keys)"]
            Cloud["Cloud APIs\n(Gemini / Anthropic / OpenAI / DeepSeek)"]
        end

        subgraph Capabilities["Subagent Capabilities"]
            Builtins["Workspace Tools\n(fs, shell, web)"]
            Bridge["MCP Bridge\n(External MCP Servers)"]
        end

        subgraph Persistence["Storage & Dashboard"]
            DB[("SQLite Storage\n(data/orchestrator.db)")]
            UI["Web Dashboard\n(http://localhost:4000)"]
        end
    end

    Client <-->|"stdio"| Transport
    Transport --> Dispatcher
    Dispatcher --> PolicyEngine
    PolicyEngine --> Supervisor & DAGRunner & AgentPool
    Supervisor & DAGRunner & AgentPool --> Inference
    Supervisor & DAGRunner & AgentPool <--> Capabilities
    Dispatcher <--> DB
    DB <--> UI

⚡ Quick Start & CLI

1. Instant Run with uvx / pip (PyPI)
# Run directly via uvx (zero install) or install from PyPI
uvx session-mesh-mcp doctor
pip install session-mesh-mcp

# Start the MCP server over stdio
session-mesh-mcp serve

# Launch the live Web Dashboard on http://localhost:4000
session-mesh-mcp dashboard
2. Instant Run with npx (Node.js)
# Run the built-in system diagnostics & health check
npx session-mesh-mcp doctor

# Generate a starter orchestrator.yaml in your current directory
npx session-mesh-mcp init

# Start the MCP server over stdio
npx session-mesh-mcp
3. Local Development & Build
git clone https://github.com/ShashankIIITN/session-mesh-mcp.git
cd session-mesh-mcp

# Install dependencies and compile TypeScript
npm install
npm run build

# Run all 32 unit and integration test scenarios
# (plus the stdio end-to-end smoke test via: npm run test:e2e)
npm test

⚙️ Configuration (orchestrator.yaml)

Create orchestrator.yaml in the project root (you can also reference orchestrator.example.yaml):

version: "1.0"

server:
  port: 4000 # Web Dashboard port (http://localhost:4000)
  storage:
    type: "sqlite"
    connection_string: "./data/orchestrator.db"
  security:
    default_safety_mode: "semi-autonomous" # autonomous | semi-autonomous | safe
    allowed_workspaces:
      - "./"
      - "D:/"

# ─────────────────────────────────────────────────────────────────────────
# INFERENCE PROVIDERS
# Choose your setup: Local (Zero API Keys), Cloud API Keys, or Hybrid
# ─────────────────────────────────────────────────────────────────────────
inference:
  default_provider: "direct"
  # Cost & capability tiers for isolated child sessions
  tiers:
    fast:
      provider: "agy"
      model: "gemini-3.8-flash-low" # Ultra-fast, zero thinking-token overhead
    balanced:
      provider: "agy"
      model: "gemini-3.8-flash-high"
    heavy:
      provider: "agy_claude"
      model: "claude-sonnet-4-6"
  providers:

    # ── Option A: Local Antigravity CLI (Zero API Keys) ──
    # Auto-detected on Windows, macOS, and Linux!
    agy:
      type: "agy"
      model: "gemini-3.8-flash-high" # Or "claude-sonnet-4-6", "gemini-3.1-pro-high"

    # ── Option B: Local Ollama (Zero API Keys) ──
    ollama:
      type: "ollama"
      base_url: "http://localhost:11434"
      model: "llama3.3"

    # ── Option C: Cloud API Providers (Require API Keys) ──
    gemini:
      type: "gemini"
      model: "gemini-2.5-flash"
      api_key_env: "GEMINI_API_KEY"

    anthropic:
      type: "anthropic"
      model: "claude-3-7-sonnet-20250219"
      api_key_env: "ANTHROPIC_API_KEY"

    openai:
      type: "openai"
      model: "gpt-4o"
      api_key_env: "OPENAI_API_KEY"

    # ── Option D: Custom OpenAI-Compatible (DeepSeek, Groq, Together) ──
    deepseek:
      type: "openai-compatible"
      base_url: "https://api.deepseek.com"
      model: "deepseek-coder"
      api_key_env: "DEEPSEEK_API_KEY"

# ─────────────────────────────────────────────────────────────────────────
# DECLARATIVE AGENT PERSONAS
# Assign each agent whichever provider you prefer (local or cloud)
# ─────────────────────────────────────────────────────────────────────────
agents:
  researcher:
    role: "Research & Documentation Specialist"
    provider: "agy" # Using zero-key local model
    tools: ["web_fetch", "fs_read", "fs_list"]
    system_prompt: "You are an expert researcher. Synthesize concise and factual summaries."

  coder:
    role: "Senior Software Engineer"
    provider: "agy"
    tools: ["fs_read", "fs_write", "fs_list", "shell_exec"]
    system_prompt: "You are a senior engineer. Write clean, robust code and verify changes."

  reviewer:
    role: "Staff Security & QA Auditor"
    provider: "agy"
    tools: ["fs_read", "fs_list", "shell_exec"]
    system_prompt: "You are a staff reviewer focused on correctness, edge cases, and security."

# ─────────────────────────────────────────────────────────────────────────
# PRESET PIPELINES
# ─────────────────────────────────────────────────────────────────────────
pipelines:
  feature_implementation:
    stages:
      - name: "research"
        agent: "researcher"
        output_artifact: "research_notes.md"
        checkpoint: false
      - name: "code"
        agent: "coder"
        input_artifacts: ["research_notes.md"]
        output_artifact: "implementation.md"
        checkpoint: true # Pauses for human approval
      - name: "review"
        agent: "reviewer"
        input_artifacts: ["implementation.md"]
        checkpoint: false

# ─────────────────────────────────────────────────────────────────────────
# EXTERNAL MCP GATEWAYS (Optional)
# Subagents can call tools from these external servers
# ─────────────────────────────────────────────────────────────────────────
mcp_gateways:
  github:
    command: "npx"
    args: ["-y", "@modelcontextprotocol/server-github"]
    env:
      GITHUB_PERSONAL_ACCESS_TOKEN: "${GITHUB_TOKEN}"

🔌 Connecting to Your MCP Client

You can connect either via npx (instant, portable) or pointing directly to your local clone.

1. Antigravity (agy)

To register the orchestrator globally in your local Antigravity environment:

# Using npx (portable):
agy mcp add session-mesh npx -y session-mesh-mcp

# OR using local build:
agy mcp add session-mesh node "D:\my project\session-mesh-mcp\dist\index.js" "D:\my project\session-mesh-mcp\orchestrator.yaml"

Verify it is active:

agy mcp list

2. Claude Desktop

Add to your %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "agent-orchestrator": {
      "command": "npx",
      "args": ["-y", "session-mesh-mcp"]
    }
  }
}

(Or replace "command": "node" and point to "D:\\my project\\session-mesh-mcp\\dist\\index.js" for local development).


3. Cursor
  1. Open Cursor Settings $\rightarrow$ Features $\rightarrow$ MCP Servers.
  2. Click Add New MCP Server:
    • Name: agent-orchestrator
    • Type: command
    • Command:
      npx -y session-mesh-mcp

      (Or node "D:\my project\session-mesh-mcp\dist\index.js")


🛠️ MCP Tool Reference

Cross-Session Agent Mesh Tools (v0.2.0)

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases session-mesh-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229