Back to Home
portofcontext icon

pctx

Verified Safe

by portofcontext

Overview

Facilitates AI agent interaction with tools and MCP servers by providing a sandboxed TypeScript code execution environment, reducing token usage and simplifying API integration.

Installation

Run Command
pctx mcp dev

Environment Variables

  • OPENROUTER_API_KEY
  • NASA_API_KEY
  • STRIPE_MCP_KEY
  • GRAFANA_CLOUD_TOKEN
  • OTEL_USERNAME
  • OTEL_PASSWORD
  • OTEL_API_KEY
  • MCP_API_TOKEN
  • NODE_ENV
  • LOG_LEVEL
  • PCTX_CMD
  • NASA_MCP_PORT
  • PCTX_PORT

Security Notes

The server executes LLM-generated TypeScript code within an isolated Deno sandbox, strictly limiting filesystem, environment, and network access to only explicitly allowed hosts. It performs static type-checking before execution to prevent common errors. Authentication credentials for upstream MCP servers are managed securely via environment variables, system keychain, or external commands, keeping them hidden from the LLM and the Deno runtime. This design significantly mitigates common code execution and credential exposure risks.

Similar Servers

Stats

Interest Score94
Security Score9
Cost ClassLow
Avg Tokens2000
Stars173
Forks21
Last Update2026-01-15

Tags

AIAgentsCode ExecutionToolsMCPDenoRustPython SDKSandboxObservabilityAuthentication