🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@paretools/shared

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paretools/shared

Shared utilities for Pare MCP servers

Source
npmnpm
Version
0.18.1
Version published
Maintainers
1
Created
Source

@paretools/shared

npm License: MIT

Shared utilities for Pare MCP servers.

Exports

  • run(command, args, options) — Executes a CLI command via execFile (no shell injection) and returns { stdout, stderr, exitCode }
  • dualOutput(data, formatter) — Returns both structuredContent (typed JSON) and content (human-readable text) for MCP tool responses
  • stripAnsi(text) — Removes ANSI escape codes from CLI output

Usage

This package is used internally by all @paretools/* server packages. You generally don't need to install it directly unless you're building a custom Pare server.

import { run, dualOutput, stripAnsi } from "@paretools/shared";

License

MIT

Keywords

mcp

FAQs

Package last updated on 29 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts