pctx
Verified Safeby 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
pctx mcp devEnvironment 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
mcpc
Build and compose agentic Model Context Protocol (MCP) servers and tools, enabling AI assistants to discover, integrate, and orchestrate other MCP servers for complex tasks.
context-engine
Provides an agent-agnostic local context engine via Model Context Protocol (MCP) for coding agents, enabling semantic search, planning, code review, and prompt enhancement with AI integration.
mcp-execution
Transforms any Model Context Protocol (MCP) server into executable, type-safe TypeScript tools for AI agents, enabling progressive loading and achieving significant token savings.
emceepee
A proxy server enabling AI agents to dynamically connect to and interact with multiple Model Context Protocol (MCP) backend servers, exposing the full MCP protocol via a simplified tool interface or a sandboxed JavaScript execution environment.