@enfyra/mcp-server 0.0.82 → 0.0.84
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/README.md +2 -2
- package/package.json +1 -1
- package/src/lib/config-local.mjs +2 -2
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ From your project root:
|
|
|
12
12
|
npx @enfyra/mcp-server config
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
The config command
|
|
15
|
+
The config command writes project config for Codex, Claude Code, and Cursor. It preserves other MCP servers and replaces only the `enfyra` entry.
|
|
16
16
|
|
|
17
17
|
Interactive setup asks for `ENFYRA_APP_URL` first, then asks for `ENFYRA_API_TOKEN`. The MCP API base is inferred as `<app>/api`, and the token page is inferred as `<app>/me`. For example, `https://demo.enfyra.io` becomes API base `https://demo.enfyra.io/api` and token page `https://demo.enfyra.io/me`.
|
|
18
18
|
|
|
@@ -63,7 +63,7 @@ ENFYRA_API_TOKEN = "efy_pat_your-token"
|
|
|
63
63
|
|
|
64
64
|
The writer replaces only `[mcp_servers.enfyra]` and `[mcp_servers.enfyra.env]`. Other Codex config and other MCP servers are preserved.
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
Open this folder in a new Codex session and approve the project MCP config if prompted. The setup command only writes `.codex/config.toml`; it does not ship or create `.codex/skills`.
|
|
67
67
|
|
|
68
68
|
Official reference: [Codex config](https://developers.openai.com/codex/config-reference).
|
|
69
69
|
|
package/package.json
CHANGED
package/src/lib/config-local.mjs
CHANGED
|
@@ -69,7 +69,7 @@ ${style.bold('Supported clients')}
|
|
|
69
69
|
${style.bold('Options')}
|
|
70
70
|
--app-url <url> Enfyra app/admin URL, for example https://demo.enfyra.io
|
|
71
71
|
--api-token, -t <secret> ENFYRA_API_TOKEN
|
|
72
|
-
--global Write global/user config for selected
|
|
72
|
+
--global Write global/user config for selected clients instead of project config
|
|
73
73
|
--reconfig Always choose target again in interactive mode and replace the old enfyra config for that target
|
|
74
74
|
--yes Non-interactive: no prompts (CI / scripts); use CLI, env, existing file, then defaults
|
|
75
75
|
|
|
@@ -606,7 +606,7 @@ export async function runLocalConfig(argv) {
|
|
|
606
606
|
const selectedClients = new Set(written.map(entry => entry.client));
|
|
607
607
|
console.log(`\n${style.bold(style.blue('Next steps'))}`);
|
|
608
608
|
if (selectedClients.has('codex')) {
|
|
609
|
-
console.log(' - Codex: open this folder in a new Codex session
|
|
609
|
+
console.log(' - Codex: open this folder in a new Codex session and approve the project MCP config if prompted.');
|
|
610
610
|
}
|
|
611
611
|
if (selectedClients.has('claude')) {
|
|
612
612
|
console.log(' - Claude Code: open this folder; approve project MCP if prompted.');
|