@portofcontext/pctx 0.1.4 → 0.2.0
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 +9 -6
- package/README.md +21 -5
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,24 +5,26 @@ 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
|
-
## [
|
|
8
|
+
## [v0.2.0] - 2025-11-19
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
- `pctx dev` command with Terminal UI to explore CodeMode interface and track requests when running PCTX locally
|
|
13
|
+
- `logger` configuration in `pctx.json` (`pctx_config::logger::LoggerConfig`) that supports configuring stdout logging level, format, and colorization
|
|
14
|
+
- `telemetry` configuration in `pctx.json` (`pctx_config::telemetry::TelemetryConfig`) that supports enabling exporters for traces and metrics
|
|
15
|
+
- `examples/telemetry` example docker compose setup for Tempo/Prometheus/Grafana to try out these new configs
|
|
15
16
|
|
|
16
17
|
## [v0.1.4] - 2025-11-14
|
|
17
18
|
|
|
18
19
|
### Added
|
|
20
|
+
|
|
19
21
|
- nasa mcp server example with scripts for running/deploying pctx
|
|
20
22
|
|
|
21
23
|
### Fixed
|
|
24
|
+
|
|
22
25
|
- ts code ignore syncing
|
|
23
26
|
- remove slow intel mac runner
|
|
24
27
|
|
|
25
|
-
|
|
26
28
|
## [v0.1.3] - 2025-11-13
|
|
27
29
|
|
|
28
30
|
### Added
|
|
@@ -66,7 +68,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
66
68
|
|
|
67
69
|
- Initial public release
|
|
68
70
|
|
|
69
|
-
[Unreleased]: https://github.com/portofcontext/pctx/compare/v0.
|
|
71
|
+
[Unreleased]: https://github.com/portofcontext/pctx/compare/v0.2.0...HEAD
|
|
72
|
+
[v0.2.0]: https://github.com/portofcontext/pctx/compare/v0.2.0
|
|
70
73
|
[v0.1.4]: https://github.com/portofcontext/pctx/compare/v0.1.4
|
|
71
74
|
[v0.1.3]: https://github.com/portofcontext/pctx/compare/v0.1.3
|
|
72
75
|
[v0.1.2]: https://github.com/portofcontext/pctx/compare/v0.1.2
|
package/README.md
CHANGED
|
@@ -22,10 +22,10 @@ The open source framework to connect AI agents to tools and services with [code
|
|
|
22
22
|
# Homebrew
|
|
23
23
|
brew install portofcontext/tap/pctx
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# cURL
|
|
26
26
|
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/portofcontext/pctx/main/install.sh | sh
|
|
27
27
|
|
|
28
|
-
#
|
|
28
|
+
# npm
|
|
29
29
|
npm i -g @portofcontext/pctx
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -39,13 +39,29 @@ pctx init
|
|
|
39
39
|
pctx add my-local-server http://localhost:3000/mcp
|
|
40
40
|
pctx add stripe https://mcp.stripe.com
|
|
41
41
|
|
|
42
|
-
# Start the unified MCP server
|
|
43
|
-
pctx
|
|
42
|
+
# Start the unified MCP server in dev mode
|
|
43
|
+
pctx dev
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
For complete CLI documentation, see [CLI.md](docs/CLI.md).
|
|
47
47
|
For configuration options, see [Configuration Guide](docs/config.md).
|
|
48
48
|
|
|
49
|
+
## Update
|
|
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
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
|
|
49
65
|
## What is pctx?
|
|
50
66
|
|
|
51
67
|
`pctx` sits between AI agents and MCP servers. It aggregates multiple upstream MCP servers, handles authentication, and exposes tools through a unified [Code Mode](#what-is-code-mode) interface. Instead of agents managing connections to individual MCP servers, they connect once to pctx.
|
|
@@ -75,7 +91,7 @@ console.log(`Found ${orders.length} orders`);
|
|
|
75
91
|
|
|
76
92
|
- **Code Mode interface**: Tools exposed as TypeScript functions for efficient agent interaction. See [Code Mode Guide](docs/code-mode.md).
|
|
77
93
|
- **Upstream MCP server aggregation**: Connect to multiple MCP servers through a single interface. See [Upstream MCP Servers Guide](docs/upstream-mcp-servers.md).
|
|
78
|
-
- **Secure authentication**:
|
|
94
|
+
- **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.
|
|
79
95
|
|
|
80
96
|
## Architecture
|
|
81
97
|
|
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.
|
|
27
|
+
"version": "0.2.0"
|
|
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.
|
|
900
|
+
"version": "0.2.0"
|
|
901
901
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"artifactDownloadUrl": "https://github.com/portofcontext/pctx/releases/download/v0.
|
|
2
|
+
"artifactDownloadUrl": "https://github.com/portofcontext/pctx/releases/download/v0.2.0",
|
|
3
3
|
"bin": {
|
|
4
4
|
"generate-cli-docs": "run-generate-cli-docs.js",
|
|
5
5
|
"pctx": "run-pctx.js"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"zipExt": ".tar.gz"
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
|
-
"version": "0.
|
|
71
|
+
"version": "0.2.0",
|
|
72
72
|
"volta": {
|
|
73
73
|
"node": "18.14.1",
|
|
74
74
|
"npm": "9.5.0"
|