Skip to content

Commit cbd9083

Browse files
committed
update codex mcp config (#8)
2 parents b42b13d + 6df5db2 commit cbd9083

12 files changed

Lines changed: 42 additions & 16 deletions

File tree

GETTING_STARTED.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,24 @@ script runs `codex mcp login unify` only when one is present. Without a TTY it
6969
skips sign-in and tells the user to restart Codex and run the login command
7070
themselves.
7171

72+
Codex uses a global OAuth callback port rather than the callback port declared
73+
by an individual plugin. Before signing in, add this top-level setting to
74+
`~/.codex/config.toml` (outside any `[table]` section):
75+
76+
```toml
77+
mcp_oauth_callback_port = 1455
78+
```
79+
80+
Alternatively, set the port for only the Unify login command:
81+
82+
```bash
83+
codex -c mcp_oauth_callback_port=1455 mcp login unify
84+
```
85+
86+
The fixed port must match the callback URL registered for the Codex OAuth
87+
client. Without this setting, Codex selects a random port and Auth0 rejects the
88+
request with a callback URL mismatch.
89+
7290
## Finish and verify
7391

7492
Fully restart each agent after the script completes. A new chat in an existing
@@ -140,6 +158,7 @@ then `/reload-plugins` (or fully restart the agent) to load the new code.
140158
| Tools are missing after setup | Fully quit and restart the agent. |
141159
| Cursor does not show the plugin | Confirm the organization allows user-local plugin imports. |
142160
| Authentication was skipped or failed | Re-run the same setup command, or omit `--no-auth`. The install steps are idempotent. |
161+
| Codex reports an OAuth callback URL mismatch | Set top-level `mcp_oauth_callback_port = 1455` in `~/.codex/config.toml`, restart Codex, and retry. |
143162
| Sign-in was skipped (no interactive terminal) | Fully restart the agent, then complete the login flow inside it — in Claude Code, the `/mcp` command. |
144163
| Signed in, but tools still fail | Restart the agent so its MCP process reloads the stored session. |
145164
| "workspace does not have chat funding available" | Ask a Unify workspace admin to check the workspace plan or credits. |

scripts/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ authenticate_cursor() {
189189
ensure_temp_dir
190190
auth_dir="$TEMP_DIR/cursor-auth"
191191
mkdir -p "$auth_dir/.cursor"
192-
cp "$HOME/.cursor/plugins/local/$PLUGIN/mcp.json" "$auth_dir/.cursor/mcp.json"
192+
cp "$HOME/.cursor/plugins/local/$PLUGIN/mcp.cursor.json" "$auth_dir/.cursor/mcp.json"
193193

194194
log "Signing in to Unify for Cursor"
195195
(

unify/.app.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"apps": {
3+
"unify": {
4+
"id": "asdk_app_6a74c969e59081918d748ff307e7d97a"
5+
}
6+
}
7+
}

unify/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "unify",
33
"displayName": "Unify",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"description": "Run Unify's GTM agent from Claude Code — build company and people lists, enrich emails and phone numbers, and launch sequences and tasks.",
66
"author": { "name": "Unify", "url": "https://www.unifygtm.com" },
77
"homepage": "https://www.unifygtm.com",

unify/.codex-plugin/plugin.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unify",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Run Unify's GTM agent from Codex — build company and people lists, enrich emails and phone numbers, and launch sequences and tasks.",
55
"author": { "name": "Unify", "url": "https://www.unifygtm.com" },
66
"homepage": "https://www.unifygtm.com",
@@ -9,6 +9,7 @@
99
"keywords": ["unify", "gtm", "sales", "prospecting", "enrichment", "outbound", "crm"],
1010
"skills": "./skills/",
1111
"mcpServers": "./mcp.codex.json",
12+
"apps": "./.app.json",
1213
"interface": {
1314
"displayName": "Unify",
1415
"shortDescription": "GTM workflows with Unify agents",

unify/.cursor-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unify",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Run Unify's GTM agent from Cursor — build company and people lists, enrich emails and phone numbers, and launch sequences and tasks.",
55
"author": { "name": "Unify" },
66
"homepage": "https://www.unifygtm.com",

unify/mcp.codex.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
"unify": {
44
"type": "http",
55
"url": "https://mcp.unifygtm.com/mcp",
6-
"oauth_resource": "https://mcp.unifygtm.com/mcp",
76
"oauth": {
8-
"client_id": "VU9S5uuNCXgLASZNmFoCJAYWFZGp19VS"
7+
"client_id": "noOdn0wOIcxxTQUbQ3HEggImQAxkIjDf"
98
}
109
}
1110
}

unify/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
33
"name": "unify",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"description": "Run Unify's GTM agent to build company and people lists, enrich contact data, and launch sequences and tasks.",
66
"author": {
77
"name": "Unify",

unify/skills/crm/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ and HubSpot and also keeps its own canonical company/person records and Lists.
1313
> public API exposes direct tools: `list_objects` / `get_object` and their
1414
> attributes, `get_object_record` / `create_object_record` / `update_object_record`
1515
> / `upsert_object_record` / `find_unique_object_record` / `delete_object_record`,
16-
> and the async **Bulk API** for exporting or syncing many records at once (see
17-
> `bulk-apis`). The agent briefs below remain the path for
18-
> complex workflows and anything needing reasoning.
16+
> and the async **Bulk API** tools for exporting or syncing many records at once.
17+
> The agent briefs below remain the path for complex workflows and anything
18+
> needing reasoning.
1919
2020
## Reads (free, live)
2121

unify/skills/data-tables/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ run just to see rows you already have.
1212
> **Not the same as Bulk API results.** A DataTable is an **agent run** artifact,
1313
> paged here with `load_datatable` (cursor-based, pinned to a `versionId`). The
1414
> public **Bulk API** returns query-job results paged by `get_<resource>_query_job_results`
15-
> (`page` / `page_size`, see `bulk-apis`). If you have a `job_id` rather than a
16-
> `tableId` + `versionId`, use `bulk-apis`, not this skill.
15+
> (`page` / `page_size`). If you have a `job_id` rather than a `tableId` +
16+
> `versionId`, use the public Bulk API tools, not this skill.
1717
1818
## `load_datatable({ tableId, versionId, limit?, cursor? })`
1919

0 commit comments

Comments
 (0)