@portofcontext/pctx 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/README.md +20 -15
- package/npm-shrinkwrap.json +2 -2
- package/package.json +26 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,40 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [UNRELEASED] - YYYY-MM-DD
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [v0.2.2] - 2025-12-07
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- windows cross-compile support through cargo-dist
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## [v0.2.1] - 2025-11-25
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- All tools return define `outputSchema` and return `structuredOutput` alongside the text content.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- `pctx add`
|
|
32
|
+
- Prefer env var over keychain auth in interactive upstream mcp adding
|
|
33
|
+
- `pctx dev`
|
|
34
|
+
- Better error state reporting (e.g. invalid config, port already in use)
|
|
35
|
+
- Scroll out of bounds for tool details panel
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- Auth type `custom`, changed to `headers` to be more descriptive. `custom` retained as an alias for backwards compatibility
|
|
41
|
+
|
|
8
42
|
## [v0.2.0] - 2025-11-19
|
|
9
43
|
|
|
10
44
|
### Added
|
package/README.md
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@portofcontext/pctx)
|
|
8
8
|
[](https://www.rust-lang.org)
|
|
9
|
-
[](https://github.com/portofcontext/pctx/actions)
|
|
10
9
|
|
|
11
10
|
</div>
|
|
12
11
|
|
|
@@ -41,26 +40,15 @@ pctx add stripe https://mcp.stripe.com
|
|
|
41
40
|
|
|
42
41
|
# Start the unified MCP server in dev mode
|
|
43
42
|
pctx dev
|
|
43
|
+
|
|
44
|
+
# copy the pctx url and connect to agents with --transport http
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
For complete CLI documentation, see [CLI.md](docs/CLI.md).
|
|
47
48
|
For configuration options, see [Configuration Guide](docs/config.md).
|
|
48
49
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Depending on the installation method (Homebrew/npm/cURL) the update method is different. Run `which pctx` if you are unsure what you used to install it.
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
# Homebrew update
|
|
55
|
-
brew upgrade pctx
|
|
56
|
-
|
|
57
|
-
# cURL update
|
|
58
|
-
pctx-update
|
|
59
|
-
|
|
60
|
-
# npm update
|
|
61
|
-
npm upgrade -g @portofcontext/pctx
|
|
50
|
+
<img width="1020" height="757" alt="Screenshot 2025-11-21 at 11 03 20 AM" src="https://github.com/user-attachments/assets/d61be46d-5a4b-40fd-953a-7dc725266e63" />
|
|
62
51
|
|
|
63
|
-
```
|
|
64
52
|
|
|
65
53
|
## What is pctx?
|
|
66
54
|
|
|
@@ -91,6 +79,7 @@ console.log(`Found ${orders.length} orders`);
|
|
|
91
79
|
|
|
92
80
|
- **Code Mode interface**: Tools exposed as TypeScript functions for efficient agent interaction. See [Code Mode Guide](docs/code-mode.md).
|
|
93
81
|
- **Upstream MCP server aggregation**: Connect to multiple MCP servers through a single interface. See [Upstream MCP Servers Guide](docs/upstream-mcp-servers.md).
|
|
82
|
+
- **Simple config with CLI**: Create the pctx.json config with a simple CLI. pctx.json manages auth, upstream MCPs, logging, and more. See [Config Guide](docs/config.md).
|
|
94
83
|
- **Secure authentication**: Source secrets from environment variables, system keychain, and external commands. See [Authentication Section](docs/config.md#authentication) in the CLI configuration docs for more details.
|
|
95
84
|
|
|
96
85
|
## Architecture
|
|
@@ -140,6 +129,22 @@ console.log(`Found ${orders.length} orders`);
|
|
|
140
129
|
- No filesystem, environment, network (beyond allowed hosts), or system access.
|
|
141
130
|
- MCP clients are authenticated in pctx. LLMs can never see your auth.
|
|
142
131
|
|
|
132
|
+
## Update
|
|
133
|
+
|
|
134
|
+
Depending on the installation method (Homebrew/npm/cURL) the update method is different. Run `which pctx` if you are unsure what you used to install it.
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
# Homebrew update
|
|
138
|
+
brew upgrade pctx
|
|
139
|
+
|
|
140
|
+
# cURL update
|
|
141
|
+
pctx-update
|
|
142
|
+
|
|
143
|
+
# npm update
|
|
144
|
+
npm upgrade -g @portofcontext/pctx
|
|
145
|
+
|
|
146
|
+
```
|
|
147
|
+
|
|
143
148
|
## Learn More
|
|
144
149
|
|
|
145
150
|
- [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"hasInstallScript": true,
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"name": "@portofcontext/pctx",
|
|
27
|
-
"version": "0.2.
|
|
27
|
+
"version": "0.2.2"
|
|
28
28
|
},
|
|
29
29
|
"node_modules/@isaacs/balanced-match": {
|
|
30
30
|
"engines": {
|
|
@@ -897,5 +897,5 @@
|
|
|
897
897
|
}
|
|
898
898
|
},
|
|
899
899
|
"requires": true,
|
|
900
|
-
"version": "0.2.
|
|
900
|
+
"version": "0.2.2"
|
|
901
901
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"artifactDownloadUrl": "https://github.com/portofcontext/pctx/releases/download/v0.2.
|
|
2
|
+
"artifactDownloadUrl": "https://github.com/portofcontext/pctx/releases/download/v0.2.2",
|
|
3
3
|
"bin": {
|
|
4
4
|
"generate-cli-docs": "run-generate-cli-docs.js",
|
|
5
5
|
"pctx": "run-pctx.js"
|
|
@@ -51,6 +51,14 @@
|
|
|
51
51
|
},
|
|
52
52
|
"zipExt": ".tar.gz"
|
|
53
53
|
},
|
|
54
|
+
"aarch64-pc-windows-msvc": {
|
|
55
|
+
"artifactName": "pctx-x86_64-pc-windows-msvc.zip",
|
|
56
|
+
"bins": {
|
|
57
|
+
"generate-cli-docs": "generate-cli-docs.exe",
|
|
58
|
+
"pctx": "pctx.exe"
|
|
59
|
+
},
|
|
60
|
+
"zipExt": ".zip"
|
|
61
|
+
},
|
|
54
62
|
"aarch64-unknown-linux-gnu": {
|
|
55
63
|
"artifactName": "pctx-aarch64-unknown-linux-gnu.tar.gz",
|
|
56
64
|
"bins": {
|
|
@@ -59,6 +67,22 @@
|
|
|
59
67
|
},
|
|
60
68
|
"zipExt": ".tar.gz"
|
|
61
69
|
},
|
|
70
|
+
"x86_64-pc-windows-gnu": {
|
|
71
|
+
"artifactName": "pctx-x86_64-pc-windows-msvc.zip",
|
|
72
|
+
"bins": {
|
|
73
|
+
"generate-cli-docs": "generate-cli-docs.exe",
|
|
74
|
+
"pctx": "pctx.exe"
|
|
75
|
+
},
|
|
76
|
+
"zipExt": ".zip"
|
|
77
|
+
},
|
|
78
|
+
"x86_64-pc-windows-msvc": {
|
|
79
|
+
"artifactName": "pctx-x86_64-pc-windows-msvc.zip",
|
|
80
|
+
"bins": {
|
|
81
|
+
"generate-cli-docs": "generate-cli-docs.exe",
|
|
82
|
+
"pctx": "pctx.exe"
|
|
83
|
+
},
|
|
84
|
+
"zipExt": ".zip"
|
|
85
|
+
},
|
|
62
86
|
"x86_64-unknown-linux-gnu": {
|
|
63
87
|
"artifactName": "pctx-x86_64-unknown-linux-gnu.tar.gz",
|
|
64
88
|
"bins": {
|
|
@@ -68,7 +92,7 @@
|
|
|
68
92
|
"zipExt": ".tar.gz"
|
|
69
93
|
}
|
|
70
94
|
},
|
|
71
|
-
"version": "0.2.
|
|
95
|
+
"version": "0.2.2",
|
|
72
96
|
"volta": {
|
|
73
97
|
"node": "18.14.1",
|
|
74
98
|
"npm": "9.5.0"
|