pctxcodemodemcp
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pctxcodemodemcp" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-97b03885e59ddd7c8705ff1ad6791eed948e9c9143c0ed02b28f7563ab39371a. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/run-agent-tool-calls-through-pctx-code-mode-and-unified-mcp before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Place pctx between agents and tools so MCP servers and custom tools can run via a code-oriented execution layer instead of one-off tool calls.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- pctx CLI, Python SDK or npm package, MCP-compatible client or OpenAI Agents SDK
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "通过 pctx Code Mode 和统一 MCP 运行代理工具调用"
slug: "run-agent-tool-calls-through-pctx-code-mode-and-unified-mcp"
version: "1.0.0"
displayName: "通过 pctx Code Mode 和统一 MCP 运行代理工具调用"
summary: "在代理和工具之间放置 pctx,以便 MCP 服务器和自定义工具可以通过面向代码的执行层运行,而不是一次性工具调用。"
license: "MIT"
description: "在代理和工具之间放置 pctx,以便 MCP 服务器和自定义工具可以通过面向代码的执行层运行,而不是一次性工具调用。"
github_stars: 264
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Developer Tools"
framework: "MCP"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 264
npm_package: "@portofcontext/pctx"
npm_weekly_downloads: 285通过 pctx Code Mode 和统一 MCP 运行代理工具调用
Put pctx between agents and tools so MCP servers and custom tools can run through a code-oriented execution layer instead of one-off tool calls.
Prerequisites
pctx CLI, Python SDK or npm package, MCP-compatible client or OpenAI Agents SDK
Installation
Install the pctx CLI and the client library that matches your agent stack:
brew install portofcontext/tap/pctx
npm i -g @portofcontext/pctx
pip install pctx-client
Use the Python client when building Python agents that call pctx as an HTTP service. Use the npm package or Homebrew CLI when you want pctx available as a local command for Code Mode or MCP setup. Existing Homebrew installs can be updated separately with brew upgrade pctx; do not treat that as the first-install path.
Basic setup:
pctx start
pctx mcp init
Run pctx as the boundary between your agent and registered tools/MCP servers. Keep the MCP server list explicit, review which tools are exposed through Code Mode, and avoid giving the bridge broader filesystem or network access than the workflow needs.
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供了针对开发者工具集成的实用方案,解决了代理与工具之间通过代码执行层运行的需求。
Highlights
- 触发描述清晰,准确表达了 Skill 的核心功能和用途。
Highlights
- 结构清晰,提供了完整的安装步骤和设置说明,frontmatter 信息齐全。
Highlights
- 工具来源明确,参数正确,覆盖了主要的使用场景,执行流程可靠。
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 36, 37, 38
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
pctx CLI, Python SDK or npm package, MCP-compatible client or OpenAI Agents SDK
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.