@codegame.dev/careerflow-mcp 2.0.0 → 3.0.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/README.md CHANGED
@@ -27,7 +27,8 @@ JSON block for any other client. Token input is hidden as you type; it is never
27
27
  passed on the command line.
28
28
 
29
29
  Flags prefill the answers, so an onboarding page can print a one-liner per
30
- company or client — only the token is still asked for (hidden):
30
+ company or client — the token is always asked for (hidden), and any choice not
31
+ given as a flag (client, profile, Claude Code scope) is asked too:
31
32
 
32
33
  ```bash
33
34
  npx @codegame.dev/careerflow-mcp init --base-url https://careerflow.codegame.dev/site-api --name acme --client claude-code
@@ -39,8 +40,11 @@ npx @codegame.dev/careerflow-mcp init --base-url https://careerflow.codegame.dev
39
40
  use one name per company or install, e.g. `acme`, `acme-staging`
40
41
  - `--company-id` — optional default company
41
42
  - `--client` — `claude-code`, `claude-desktop`, `zcode`, `cursor`, or `other`
42
- - `--profile` — `worklog` (default: only the task and time tools for logging
43
- work, see [Logging finished work](#logging-finished-work)) or `full`
43
+ - `--profile` — `worklog` (only the task and time tools for logging work, see
44
+ [Logging finished work](#logging-finished-work)) or `full`; asked if omitted
45
+ - `--scope` — Claude Code only: `user` (all projects) or `local` (only the
46
+ current folder, only for you); asked if omitted. `project` scope is not
47
+ offered: it writes `.mcp.json` into the repo, and the entry holds the token.
44
48
 
45
49
  For a faster, offline-safe start, install globally first —
46
50
  `npm i -g @codegame.dev/careerflow-mcp` — and run `careerflow-mcp init`. The
@@ -62,7 +66,8 @@ npx @codegame.dev/careerflow-mcp remove --client zcode --name acme
62
66
  ```
63
67
 
64
68
  Without flags it asks which client to clean up. For Claude Code it runs
65
- `claude mcp remove --scope user`; for Claude Desktop, ZCode, and Cursor it
69
+ `claude mcp remove --scope user` (pass `--scope local`, from the same folder,
70
+ for a local install); for Claude Desktop, ZCode, and Cursor it
66
71
  deletes the entry from the client's JSON config, leaving everything else in the
67
72
  file untouched. Other clients: delete the pasted block by hand.
68
73
 
@@ -70,12 +75,12 @@ file untouched. Other clients: delete the pasted block by hand.
70
75
 
71
76
  1. Create an access token.
72
77
 
73
- In CareerFlow: **Settings → Access Tokens → Create access token**.
78
+ In CareerFlow: **Settings → Access Tokens → Create access token**.
74
79
 
75
- Give it a name, an expiry, and only the permissions the assistant needs.
80
+ Give it a name, an expiry, and only the permissions the assistant needs.
76
81
 
77
- > **The token is shown once.** It is stored hashed and cannot be recovered
78
- > afterwards. Copy it before closing the dialog.
82
+ > **The token is shown once.** It is stored hashed and cannot be recovered
83
+ > afterwards. Copy it before closing the dialog.
79
84
 
80
85
  2. Add it to your client.
81
86
 
@@ -93,21 +98,22 @@ claude mcp add careerflow \
93
98
 
94
99
  ```json
95
100
  {
96
- "mcpServers": {
97
- "careerflow": {
98
- "command": "npx",
99
- "args": ["-y", "@codegame.dev/careerflow-mcp"],
100
- "env": {
101
- "CAREERFLOW_BASE_URL": "https://careerflow.codegame.dev/site-api",
102
- "CAREERFLOW_TOKEN": "cf_pat_xxxxxxxx",
103
- "CAREERFLOW_COMPANY_ID": "24"
104
- }
105
- }
106
- }
101
+ "mcpServers": {
102
+ "careerflow": {
103
+ "command": "npx",
104
+ "args": ["-y", "@codegame.dev/careerflow-mcp"],
105
+ "env": {
106
+ "CAREERFLOW_BASE_URL": "https://careerflow.codegame.dev/site-api",
107
+ "CAREERFLOW_TOKEN": "cf_pat_xxxxxxxx",
108
+ "CAREERFLOW_COMPANY_ID": "24"
109
+ }
110
+ }
111
+ }
107
112
  }
108
113
  ```
109
114
 
110
115
  Config file locations:
116
+
111
117
  - macOS — `~/Library/Application Support/Claude/claude_desktop_config.json`
112
118
  - Windows — `%APPDATA%\Claude\claude_desktop_config.json`
113
119
  - Linux — `~/.config/Claude/claude_desktop_config.json`
@@ -117,41 +123,41 @@ Config file locations:
117
123
 
118
124
  ```json
119
125
  {
120
- "mcp": {
121
- "servers": {
122
- "careerflow": {
123
- "type": "stdio",
124
- "command": "npx",
125
- "args": ["-y", "@codegame.dev/careerflow-mcp"],
126
- "env": {
127
- "CAREERFLOW_BASE_URL": "https://careerflow.codegame.dev/site-api",
128
- "CAREERFLOW_TOKEN": "cf_pat_xxxxxxxx",
129
- "CAREERFLOW_COMPANY_ID": "24"
130
- }
131
- }
132
- }
133
- }
126
+ "mcp": {
127
+ "servers": {
128
+ "careerflow": {
129
+ "type": "stdio",
130
+ "command": "npx",
131
+ "args": ["-y", "@codegame.dev/careerflow-mcp"],
132
+ "env": {
133
+ "CAREERFLOW_BASE_URL": "https://careerflow.codegame.dev/site-api",
134
+ "CAREERFLOW_TOKEN": "cf_pat_xxxxxxxx",
135
+ "CAREERFLOW_COMPANY_ID": "24"
136
+ }
137
+ }
138
+ }
139
+ }
134
140
  }
135
141
  ```
136
142
 
137
143
  For a project-shared server use `<repo>/.zcode/config.json` instead — but the
138
144
  token would then sit in a versioned file; prefer user scope.
139
145
 
140
- Restart the client. Ask it *"what are my tasks?"* to confirm the connection.
146
+ Restart the client. Ask it _"what are my tasks?"_ to confirm the connection.
141
147
 
142
148
  ### Configuration
143
149
 
144
- | Variable | Required | Description |
145
- | --- | --- | --- |
146
- | `CAREERFLOW_BASE_URL` | yes | API root, e.g. `https://api.example.com` |
147
- | `CAREERFLOW_TOKEN` | yes | Your personal access token (`cf_pat_…`) |
148
- | `CAREERFLOW_COMPANY_ID` | no | Default company, so tools need no `company_id` per call |
149
- | `CAREERFLOW_TIMEOUT_MS` | no | Request timeout, default `30000` |
150
- | `CAREERFLOW_PROFILE` | no | `worklog` registers only `record_work` and the task/time tools around it (~12 tools); `full` (default) registers everything else allowed |
151
- | `CAREERFLOW_GROUPS` | no | Register only these comma-separated tool groups |
152
- | `CAREERFLOW_EXCLUDE_GROUPS` | no | Register everything except these comma-separated groups |
153
- | `CAREERFLOW_ALL_TOOLS` | no | Set to `1` to register every tool, even ones your role or token cannot reach |
154
- | `CAREERFLOW_KEEP_READ_TOOLS` | no | Set to `1` to keep the read-only tools `run_company_sql` otherwise replaces |
150
+ | Variable | Required | Description |
151
+ | ---------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
152
+ | `CAREERFLOW_BASE_URL` | yes | API root, e.g. `https://api.example.com` |
153
+ | `CAREERFLOW_TOKEN` | yes | Your personal access token (`cf_pat_…`) |
154
+ | `CAREERFLOW_COMPANY_ID` | no | Default company, so tools need no `company_id` per call |
155
+ | `CAREERFLOW_TIMEOUT_MS` | no | Request timeout, default `30000` |
156
+ | `CAREERFLOW_PROFILE` | no | `worklog` registers only `record_work` and the task/time tools around it (~12 tools); `full` (default) registers everything else allowed |
157
+ | `CAREERFLOW_GROUPS` | no | Register only these comma-separated tool groups |
158
+ | `CAREERFLOW_EXCLUDE_GROUPS` | no | Register everything except these comma-separated groups |
159
+ | `CAREERFLOW_ALL_TOOLS` | no | Set to `1` to register every tool, even ones your role or token cannot reach |
160
+ | `CAREERFLOW_KEEP_READ_TOOLS` | no | Set to `1` to keep the read-only tools `run_company_sql` otherwise replaces |
155
161
 
156
162
  The token is read only from the environment, never from command-line arguments —
157
163
  argv is readable by other processes on the same machine.
@@ -161,6 +167,7 @@ argv is readable by other processes on the same machine.
161
167
  ## What you can ask for
162
168
 
163
169
  **Daily work**
170
+
164
171
  - "What am I working on today?" · "Anything overdue?"
165
172
  - "Mark the login-bug task done."
166
173
  - "Start a timer on task 412." · "Log 45 minutes on the report task."
@@ -168,23 +175,28 @@ argv is readable by other processes on the same machine.
168
175
  - "Add a checklist to task 12 with three items." · "Attach this link to task 40."
169
176
 
170
177
  **Supervising a team**
178
+
171
179
  - "What is Sara working on?" · "Show everything pending review."
172
180
  - "Create a task 'Prepare Q3 report' in Sprint 12, assign it to Ali, due Friday, high priority."
173
181
  - "Move task 91 to Done." · "Accept task 77 and score it 4.5."
174
182
  - "Create a project called 'Website Redesign' and add Sara as manager."
175
183
 
176
184
  **Sales & CRM**
185
+
177
186
  - "Show my open deals." · "Create a lead for Acme Corp from the website form."
178
187
  - "Move the Acme deal to Negotiation and set the amount to $12,000."
179
188
  - "Log a call with the Beta Inc contact." · "What's in my pipeline this month?"
189
+ - "Convert the Acme lead: new account, match the existing contact, and open a deal."
180
190
 
181
191
  **HR & people ops**
192
+
182
193
  - "Show my latest payroll slip." · "Accept my performance review."
183
194
  - "List open job applications for the Backend Engineer posting."
184
195
  - "Am I registered for the current loan lottery?" · "Check in my mood: 4, feeling good today."
185
196
  - "Reserve lunch for tomorrow."
186
197
 
187
198
  **Around the work**
199
+
188
200
  - "Any new announcements?" · "Message Reza that the deploy finished."
189
201
  - "Create a chat group for the launch team with Sara, Ali, and Reza."
190
202
  - "Open a support ticket about the slow dashboard load."
@@ -196,15 +208,15 @@ argv is readable by other processes on the same machine.
196
208
  The tools keep the backend API's names, and the UI names the same things
197
209
  differently — easy to trip over when relaying what a user asked for:
198
210
 
199
- | API (and these tools) | UI |
200
- | --- | --- |
201
- | project of type `special` | "project" (پروژه) |
202
- | project of type `normal` — or any non-special type | "board" (تابلو) |
203
- | board — a column of tasks inside a project | "list" (لیست) |
211
+ | API (and these tools) | UI |
212
+ | -------------------------------------------------- | ----------------- |
213
+ | project of type `special` | "project" (پروژه) |
214
+ | project of type `normal` — or any non-special type | "board" (تابلو) |
215
+ | board — a column of tasks inside a project | "list" (لیست) |
204
216
 
205
- So when a user asks for a "board", they usually mean an API *project* (find it
217
+ So when a user asks for a "board", they usually mean an API _project_ (find it
206
218
  with `list_projects`, checking each row's `type`); when they ask for a "list",
207
- they mean an API *board* (`list_boards`). The server's `instructions` string
219
+ they mean an API _board_ (`list_boards`). The server's `instructions` string
208
220
  spells this out to the model too.
209
221
 
210
222
  ## Logging finished work
@@ -215,10 +227,10 @@ that in one call for a whole batch:
215
227
 
216
228
  ```ts
217
229
  record_work({
218
- tasks: [
219
- { title: "Fix QR label centering", minutes: 45 },
220
- { title: "Add Amplitude proxy", description: "...", minutes: 90, date: "2026-11-11" }
221
- ]
230
+ tasks: [
231
+ { title: "Fix QR label centering", minutes: 45 },
232
+ { title: "Add Amplitude proxy", description: "...", minutes: 90, date: "2026-11-11" }
233
+ ]
222
234
  })
223
235
  // → { project_id: 2500, board_id: 712, board: "In progress",
224
236
  // tasks: [{ title: "...", id: 29371, minutes: 45, done: true }, ...] }
@@ -229,12 +241,13 @@ complete (`done` defaults to `true`). An open task in the project with the same
229
241
  title is reused instead of duplicated (`matched_existing: true`). Each item
230
242
  reports its own status, so one failure does not stop the rest.
231
243
 
232
- **Which board.** Each folder can be linked to a board, stored per user in
233
- `~/.config/careerflow-mcp/workspaces.json` (never in the repo):
244
+ **Which project.** Each folder can be linked to a project (what the UI calls a
245
+ board or project), stored per user in `~/.config/careerflow-mcp/workspaces.json`
246
+ (never in the repo):
234
247
 
235
248
  ```json
236
249
  {
237
- "/home/me/work/acme-web": { "company_id": 6, "project_id": 2500, "board_id": 712, "done_board_id": null }
250
+ "/home/me/work/acme-web": { "company_id": 6, "project_id": 2500 }
238
251
  }
239
252
  ```
240
253
 
@@ -242,16 +255,23 @@ The server finds the closest entry at or above its working directory (Claude
242
255
  Code starts it in the project folder) and tells the model in one line, so no
243
256
  `list_projects` / `list_boards` discovery is needed.
244
257
 
245
- You never need the ids. In a folder with no saved board, the model asks which
246
- project and list to use; `record_work` (or `set_workspace_board`) takes them
247
- by the names shown in the UI and saves them for the folder after the first
248
- successful task. Say "log this folder's work to project X, list Y" to change
249
- it. Names match exactly or by a unique partial match, case-insensitively; an
250
- ambiguous or unknown name returns the options to choose from. Ids still work,
251
- and `careerflow-mcp link --project <id> --board <id>` sets a folder from the
252
- terminal. When the server's
253
- working directory is not the repo, the model passes `workspace` (the repo path).
254
- `done_board_id` optionally moves finished tasks to a "done" column.
258
+ **Which list.** A repo maps to a project, not to one of its lists, so
259
+ `record_work` picks the list per task: finished work goes to the list named
260
+ like "Done" / "Completed" / "انجام شده" (else the project's last list),
261
+ unfinished work to "In progress" / "در حال انجام" (else the first list). A
262
+ reused open task that is now finished is moved to that list. Each item in the
263
+ receipt names its `list`. To pin lists anyway, pass `board` / `done_board`
264
+ (list names) or save `board_id` / `done_board_id` in the entry.
265
+
266
+ You never need the ids. In a folder with no saved project, the model asks which
267
+ one to use; `record_work` (or `set_workspace_project`) takes it by the name
268
+ shown in the UI and saves it for the folder after the first successful task.
269
+ Say "log this folder's work to X" to change it. Names match exactly or by a
270
+ unique partial match, case-insensitively; an ambiguous or unknown name returns
271
+ the options to choose from. Ids still work, and
272
+ `careerflow-mcp link --project <id>` sets a folder from the terminal. When the
273
+ server's working directory is not the repo, the model passes `workspace` (the
274
+ repo path).
255
275
 
256
276
  **Prompts.** Two MCP prompts ship with the server; Claude Code shows them as
257
277
  slash commands (`/mcp__<server-name>__log_work`):
@@ -261,7 +281,7 @@ slash commands (`/mcp__<server-name>__log_work`):
261
281
  - `my_day` — open and overdue tasks assigned to you.
262
282
 
263
283
  **Profile.** `CAREERFLOW_PROFILE=worklog` (what `init` writes by default)
264
- registers only `record_work`, `set_workspace_board`, `list_my_tasks`, `search_tasks`, `get_task`,
284
+ registers only `record_work`, `set_workspace_project`, `list_my_tasks`, `search_tasks`, `get_task`,
265
285
  `update_task`, `complete_task`, `log_time`, `start_timer`, `stop_timer`,
266
286
  `list_projects` and `list_boards`, with a few lines of instructions — cheap
267
287
  enough to leave enabled in every project.
@@ -273,25 +293,25 @@ enough to leave enabled in every project.
273
293
  167 tools. The everyday surface
274
294
  ([only part of it can be registered](#registering-only-the-tool-groups-you-need)):
275
295
 
276
- | Group | Tools |
277
- | --- | --- |
278
- | **Identity & structure** | `whoami`, `list_companies`, `list_projects`, `list_boards`, `list_project_members`, `find_user` |
279
- | **Tasks** | `record_work`, `set_workspace_board`, `list_my_tasks`, `search_tasks`, `get_task`, `create_task`, `update_task`, `complete_task`, `assign_task`, `move_task`, `review_task`, `list_task_comments`, `add_task_comment` |
280
- | **Kanban (boards, labels, checklists, attachments)** | `create_board`, `edit_board`, `archive_board`, `list_labels`, `create_label`, `delete_label`, `add_task_checklist`, `add_checklist_item`, `complete_checklist_item`, `delete_checklist`, `add_task_link_attachment`, `delete_task_attachment`, `archive_task`, `duplicate_task`, `list_recurring_tasks`, `create_recurring_task`, `delete_recurring_task`, `list_kanban_activity` |
281
- | **Projects** | `create_project`, `update_project`, `archive_project`, `project_stats`, `invite_project_member`, `authorize_project_member` |
282
- | **Time** | `start_timer`, `stop_timer`, `log_time`, `list_task_time` |
283
- | **Chat** | `list_chats`, `read_messages`, `send_message`, `create_chat_group`, `edit_chat_group`, `manage_chat_group_members`, `list_chat_group_members`, `leave_chat_group`, `mute_chat`, `edit_chat_message`, `delete_chat_message`, `mark_message_seen` |
284
- | **Workplace** | `list_announcements`, `list_surveys`, `list_my_attendance` |
285
- | **Company & user admin** | `create_user`, `update_user`, `set_user_status`, `set_user_role`, `get_user`, `list_roles`, `get_organization_chart`, `get_company`, `list_organization_units` |
286
- | **CRM — contacts, deals, activities** | `crm_search_contacts`, `crm_get_contact`, `crm_create_contact`, `crm_update_contact`, `crm_delete_contact`, `crm_contact_timeline`, `crm_search_deals`, `crm_get_deal`, `crm_create_deal`, `crm_update_deal`, `crm_delete_deal`, `crm_deal_stage_summary`, `crm_add_deal_next_step`, `crm_list_deal_line_items`, `crm_add_deal_line_item`, `crm_delete_deal_line_item`, `crm_search_activities`, `crm_create_activity`, `crm_complete_activity`, `crm_delete_activity`, `crm_dashboard_summary`, `crm_dashboard_pipeline` |
287
- | **CRM — pipelines & config** | `crm_list_pipelines`, `crm_create_pipeline`, `crm_delete_pipeline`, `crm_list_stages`, `crm_create_stage`, `crm_delete_stage`, `crm_list_lead_sources`, `crm_create_lead_source`, `crm_list_tags`, `crm_create_tag`, `crm_assign_tag`, `crm_list_custom_fields`, `crm_create_custom_field`, `crm_settings` |
288
- | **HR — payroll, discipline, careers, onboarding, cafeteria** | `list_my_payrolls`, `respond_to_payroll`, `list_my_performance_reviews`, `respond_to_performance_review`, `list_disciplinary_notes`, `estimate_disciplinary_penalty`, `create_disciplinary_note`, `list_administrative_notes`, `get_administrative_note`, `create_administrative_note`, `list_careers`, `list_career_requests`, `update_career_request_status`, `get_onboarding_checklist`, `set_onboarding_stage`, `list_food_schedules`, `reserve_food`, `list_my_food_reservations`, `mood_checkin` |
289
- | **Benefit fund (loans & lotteries)** | `benefit_fund_my_dashboard`, `benefit_fund_hr_dashboard`, `list_benefit_fund_loan_types`, `list_benefit_fund_loans`, `request_benefit_fund_loan`, `update_benefit_fund_loan_status`, `pay_benefit_fund_loan_installment`, `list_benefit_fund_lotteries`, `register_for_lottery`, `respond_to_lottery_win`, `benefit_fund_settings`, `list_benefit_fund_membership_requests`, `request_benefit_fund_membership`, `review_benefit_fund_membership_request` |
290
- | **Forms** | `list_forms`, `get_form`, `list_form_submissions`, `update_form_submission_status`, `message_form_submission` |
291
- | **CMS** | `list_posts`, `get_post`, `create_post`, `update_post`, `delete_post`, `list_custom_pages`, `get_custom_page` |
292
- | **Dev tickets (support)** | `list_dev_tickets`, `get_dev_ticket`, `create_dev_ticket`, `reply_to_dev_ticket` |
293
- | **Misc (addresses, surveys, announcements, billing)** | `list_my_addresses`, `add_address`, `create_survey`, `delete_survey`, `list_survey_answers`, `answer_survey`, `create_announcement`, `delete_announcement`, `list_transactions`, `list_payment_orders` |
294
- | **Company SQL (reporting views)** | `list_company_sql_schema`, `run_company_sql` |
296
+ | Group | Tools |
297
+ | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
298
+ | **Identity & structure** | `whoami`, `list_companies`, `list_projects`, `list_boards`, `list_project_members`, `find_user` |
299
+ | **Tasks** | `record_work`, `set_workspace_project`, `list_my_tasks`, `search_tasks`, `get_task`, `create_task`, `update_task`, `complete_task`, `assign_task`, `move_task`, `review_task`, `list_task_comments`, `add_task_comment` |
300
+ | **Kanban (boards, labels, checklists, attachments)** | `create_board`, `edit_board`, `archive_board`, `list_labels`, `create_label`, `delete_label`, `add_task_checklist`, `add_checklist_item`, `complete_checklist_item`, `delete_checklist`, `add_task_link_attachment`, `delete_task_attachment`, `archive_task`, `duplicate_task`, `list_recurring_tasks`, `create_recurring_task`, `delete_recurring_task`, `list_kanban_activity` |
301
+ | **Projects** | `create_project`, `update_project`, `archive_project`, `project_stats`, `invite_project_member`, `authorize_project_member` |
302
+ | **Time** | `start_timer`, `stop_timer`, `log_time`, `list_task_time` |
303
+ | **Chat** | `list_chats`, `read_messages`, `send_message`, `create_chat_group`, `edit_chat_group`, `manage_chat_group_members`, `list_chat_group_members`, `leave_chat_group`, `mute_chat`, `edit_chat_message`, `delete_chat_message`, `mark_message_seen` |
304
+ | **Workplace** | `list_announcements`, `list_surveys`, `list_my_attendance` |
305
+ | **Company & user admin** | `create_user`, `update_user`, `set_user_status`, `set_user_role`, `get_user`, `list_roles`, `get_organization_chart`, `get_company`, `list_organization_units` |
306
+ | **CRM — leads, accounts, contacts, deals, activities** | `crm_search_leads`, `crm_get_lead`, `crm_create_lead`, `crm_update_lead`, `crm_delete_lead`, `crm_lead_timeline`, `crm_lead_convert_matches`, `crm_convert_lead`, `crm_disqualify_lead`, `crm_search_accounts`, `crm_get_account`, `crm_create_account`, `crm_update_account`, `crm_delete_account`, `crm_account_timeline`, `crm_search_contacts`, `crm_get_contact`, `crm_create_contact`, `crm_update_contact`, `crm_delete_contact`, `crm_contact_timeline`, `crm_search_deals`, `crm_get_deal`, `crm_create_deal`, `crm_update_deal`, `crm_delete_deal`, `crm_deal_stage_summary`, `crm_add_deal_next_step`, `crm_list_deal_line_items`, `crm_add_deal_line_item`, `crm_delete_deal_line_item`, `crm_search_activities`, `crm_create_activity`, `crm_complete_activity`, `crm_delete_activity`, `crm_dashboard_summary`, `crm_dashboard_pipeline` |
307
+ | **CRM — pipelines & config** | `crm_list_pipelines`, `crm_create_pipeline`, `crm_delete_pipeline`, `crm_list_stages`, `crm_create_stage`, `crm_delete_stage`, `crm_list_lead_sources`, `crm_create_lead_source`, `crm_list_disqualify_reasons`, `crm_list_tags`, `crm_create_tag`, `crm_assign_tag`, `crm_list_custom_fields`, `crm_create_custom_field`, `crm_settings` |
308
+ | **HR — payroll, discipline, careers, onboarding, cafeteria** | `list_my_payrolls`, `respond_to_payroll`, `list_my_performance_reviews`, `respond_to_performance_review`, `list_disciplinary_notes`, `estimate_disciplinary_penalty`, `create_disciplinary_note`, `list_administrative_notes`, `get_administrative_note`, `create_administrative_note`, `list_careers`, `list_career_requests`, `update_career_request_status`, `get_onboarding_checklist`, `set_onboarding_stage`, `list_food_schedules`, `reserve_food`, `list_my_food_reservations`, `mood_checkin` |
309
+ | **Benefit fund (loans & lotteries)** | `benefit_fund_my_dashboard`, `benefit_fund_hr_dashboard`, `list_benefit_fund_loan_types`, `list_benefit_fund_loans`, `request_benefit_fund_loan`, `update_benefit_fund_loan_status`, `pay_benefit_fund_loan_installment`, `list_benefit_fund_lotteries`, `register_for_lottery`, `respond_to_lottery_win`, `benefit_fund_settings`, `list_benefit_fund_membership_requests`, `request_benefit_fund_membership`, `review_benefit_fund_membership_request` |
310
+ | **Forms** | `list_forms`, `get_form`, `list_form_submissions`, `update_form_submission_status`, `message_form_submission` |
311
+ | **CMS** | `list_posts`, `get_post`, `create_post`, `update_post`, `delete_post`, `list_custom_pages`, `get_custom_page` |
312
+ | **Dev tickets (support)** | `list_dev_tickets`, `get_dev_ticket`, `create_dev_ticket`, `reply_to_dev_ticket` |
313
+ | **Misc (addresses, surveys, announcements, billing)** | `list_my_addresses`, `add_address`, `create_survey`, `delete_survey`, `list_survey_answers`, `answer_survey`, `create_announcement`, `delete_announcement`, `list_transactions`, `list_payment_orders` |
314
+ | **Company SQL (reporting views)** | `list_company_sql_schema`, `run_company_sql` |
295
315
 
296
316
  ---
297
317
 
@@ -304,17 +324,17 @@ register just that slice:
304
324
 
305
325
  ```json
306
326
  {
307
- "mcpServers": {
308
- "careerflow": {
309
- "command": "npx",
310
- "args": ["-y", "@codegame.dev/careerflow-mcp"],
311
- "env": {
312
- "CAREERFLOW_BASE_URL": "https://careerflow.codegame.dev/site-api",
313
- "CAREERFLOW_TOKEN": "cf_pat_xxxxxxxx",
314
- "CAREERFLOW_GROUPS": "workspace,tasks,time"
315
- }
316
- }
317
- }
327
+ "mcpServers": {
328
+ "careerflow": {
329
+ "command": "npx",
330
+ "args": ["-y", "@codegame.dev/careerflow-mcp"],
331
+ "env": {
332
+ "CAREERFLOW_BASE_URL": "https://careerflow.codegame.dev/site-api",
333
+ "CAREERFLOW_TOKEN": "cf_pat_xxxxxxxx",
334
+ "CAREERFLOW_GROUPS": "workspace,tasks,time"
335
+ }
336
+ }
337
+ }
318
338
  }
319
339
  ```
320
340
 
@@ -393,16 +413,16 @@ Every scope comes in a `:read`/`:write` pair; some also accept a `:own` suffix
393
413
  created, owns, or is assigned to — ask CareerFlow support or check the token
394
414
  creation screen if you want that narrower grant.
395
415
 
396
- | Group | Scopes | Covers |
397
- | --- | --- | --- |
398
- | Personal | `profile`, `files` | your own profile, sessions, addresses, onboarding; file/image/video uploads |
399
- | Work | `tasks`, `projects`, `time`, `chat` | kanban boards/tasks/checklists/labels, projects & membership, time tracking, chat & groups |
400
- | CRM | `crm_contacts`, `crm_deals`, `crm_activities`, `crm_settings` | contacts/leads, deals, activities, and CRM configuration (pipelines, stages, tags, custom fields) |
401
- | Company | `company`, `users`, `roles`, `attendance` | company profile & org chart, user admin, roles, attendance |
402
- | HR | `surveys`, `announcements`, `forms`, `payroll`, `performance`, `benefit_fund`, `notes`, `careers` | surveys, announcements, form builder, payroll/performance slips, benefit fund loans & lotteries, disciplinary/administrative notes, recruiting |
403
- | Content | `cms` | posts, custom pages, categories |
404
- | Billing | `billing`, `dev_tickets` | payment/product orders, transactions, support tickets |
405
- | Platform (staff-only) | `admin` | charts, logs, and other platform-admin surfaces — only issuable to CareerFlow staff accounts |
416
+ | Group | Scopes | Covers |
417
+ | --------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
418
+ | Personal | `profile`, `files` | your own profile, sessions, addresses, onboarding; file/image/video uploads |
419
+ | Work | `tasks`, `projects`, `time`, `chat` | kanban boards/tasks/checklists/labels, projects & membership, time tracking, chat & groups |
420
+ | CRM | `crm_leads`, `crm_accounts`, `crm_contacts`, `crm_deals`, `crm_activities`, `crm_settings` | leads, accounts (organizations), contacts (people), deals, activities, and CRM configuration (pipelines, stages, tags, custom fields) |
421
+ | Company | `company`, `users`, `roles`, `attendance` | company profile & org chart, user admin, roles, attendance |
422
+ | HR | `surveys`, `announcements`, `forms`, `payroll`, `performance`, `benefit_fund`, `notes`, `careers` | surveys, announcements, form builder, payroll/performance slips, benefit fund loans & lotteries, disciplinary/administrative notes, recruiting |
423
+ | Content | `cms` | posts, custom pages, categories |
424
+ | Billing | `billing`, `dev_tickets` | payment/product orders, transactions, support tickets |
425
+ | Platform (staff-only) | `admin` | charts, logs, and other platform-admin surfaces — only issuable to CareerFlow staff accounts |
406
426
 
407
427
  Grant the narrowest set that does the job. A read-only assistant needs only
408
428
  `profile:read`, `tasks:read`, and `projects:read`.
@@ -443,13 +463,13 @@ Point your client at the built entry point:
443
463
 
444
464
  ```json
445
465
  {
446
- "mcpServers": {
447
- "careerflow": {
448
- "command": "node",
449
- "args": ["/absolute/path/to/careerflow-mcp/dist/index.js"],
450
- "env": { "CAREERFLOW_BASE_URL": "…", "CAREERFLOW_TOKEN": "…" }
451
- }
452
- }
466
+ "mcpServers": {
467
+ "careerflow": {
468
+ "command": "node",
469
+ "args": ["/absolute/path/to/careerflow-mcp/dist/index.js"],
470
+ "env": { "CAREERFLOW_BASE_URL": "…", "CAREERFLOW_TOKEN": "…" }
471
+ }
472
+ }
453
473
  }
454
474
  ```
455
475
 
@@ -461,23 +481,28 @@ docker build -t careerflow-mcp .
461
481
 
462
482
  ```json
463
483
  {
464
- "mcpServers": {
465
- "careerflow": {
466
- "command": "docker",
467
- "args": [
468
- "run", "-i", "--rm",
469
- "-e", "CAREERFLOW_BASE_URL",
470
- "-e", "CAREERFLOW_TOKEN",
471
- "-e", "CAREERFLOW_COMPANY_ID",
472
- "careerflow-mcp"
473
- ],
474
- "env": {
475
- "CAREERFLOW_BASE_URL": "https://careerflow.codegame.dev/site-api",
476
- "CAREERFLOW_TOKEN": "cf_pat_xxxxxxxx",
477
- "CAREERFLOW_COMPANY_ID": "24"
478
- }
479
- }
480
- }
484
+ "mcpServers": {
485
+ "careerflow": {
486
+ "command": "docker",
487
+ "args": [
488
+ "run",
489
+ "-i",
490
+ "--rm",
491
+ "-e",
492
+ "CAREERFLOW_BASE_URL",
493
+ "-e",
494
+ "CAREERFLOW_TOKEN",
495
+ "-e",
496
+ "CAREERFLOW_COMPANY_ID",
497
+ "careerflow-mcp"
498
+ ],
499
+ "env": {
500
+ "CAREERFLOW_BASE_URL": "https://careerflow.codegame.dev/site-api",
501
+ "CAREERFLOW_TOKEN": "cf_pat_xxxxxxxx",
502
+ "CAREERFLOW_COMPANY_ID": "24"
503
+ }
504
+ }
505
+ }
481
506
  }
482
507
  ```
483
508
 
@@ -20,7 +20,7 @@ export const TOOL_REQUIREMENTS = {
20
20
  search_users: "users:read",
21
21
  // tasks
22
22
  record_work: "tasks:write",
23
- set_workspace_board: "tasks:read",
23
+ set_workspace_project: "tasks:read",
24
24
  list_my_tasks: "tasks:read",
25
25
  search_tasks: "tasks:read",
26
26
  get_task: "tasks:read",
@@ -91,6 +91,21 @@ export const TOOL_REQUIREMENTS = {
91
91
  get_company: "company:read",
92
92
  list_organization_units: "company:read",
93
93
  // CRM records
94
+ crm_search_leads: "crm_leads:read",
95
+ crm_get_lead: "crm_leads:read",
96
+ crm_create_lead: "crm_leads:write",
97
+ crm_update_lead: "crm_leads:write",
98
+ crm_delete_lead: "crm_leads:write",
99
+ crm_lead_timeline: "crm_leads:read",
100
+ crm_lead_convert_matches: "crm_leads:read",
101
+ crm_convert_lead: "crm_leads:write",
102
+ crm_disqualify_lead: "crm_leads:write",
103
+ crm_search_accounts: "crm_accounts:read",
104
+ crm_get_account: "crm_accounts:read",
105
+ crm_create_account: "crm_accounts:write",
106
+ crm_update_account: "crm_accounts:write",
107
+ crm_delete_account: "crm_accounts:write",
108
+ crm_account_timeline: "crm_accounts:read",
94
109
  crm_search_contacts: "crm_contacts:read",
95
110
  crm_get_contact: "crm_contacts:read",
96
111
  crm_create_contact: "crm_contacts:write",
@@ -118,6 +133,7 @@ export const TOOL_REQUIREMENTS = {
118
133
  crm_list_pipelines: "crm_settings:read",
119
134
  crm_list_stages: "crm_settings:read",
120
135
  crm_list_lead_sources: "crm_settings:read",
136
+ crm_list_disqualify_reasons: "crm_settings:read",
121
137
  crm_list_tags: "crm_settings:read",
122
138
  crm_list_custom_fields: "crm_settings:read",
123
139
  crm_settings: "crm_settings:read",
@@ -305,6 +321,12 @@ export const SQL_REDUNDANT_TOOLS = new Set([
305
321
  "get_company",
306
322
  "list_organization_units",
307
323
  // CRM records
324
+ "crm_search_leads",
325
+ "crm_get_lead",
326
+ "crm_lead_timeline",
327
+ "crm_search_accounts",
328
+ "crm_get_account",
329
+ "crm_account_timeline",
308
330
  "crm_search_contacts",
309
331
  "crm_get_contact",
310
332
  "crm_contact_timeline",
@@ -319,6 +341,7 @@ export const SQL_REDUNDANT_TOOLS = new Set([
319
341
  "crm_list_pipelines",
320
342
  "crm_list_stages",
321
343
  "crm_list_lead_sources",
344
+ "crm_list_disqualify_reasons",
322
345
  "crm_list_tags",
323
346
  "crm_list_custom_fields",
324
347
  // HR
@@ -349,7 +372,7 @@ export const PROFILES = {
349
372
  full: null,
350
373
  worklog: new Set([
351
374
  "record_work",
352
- "set_workspace_board",
375
+ "set_workspace_project",
353
376
  "list_my_tasks",
354
377
  "search_tasks",
355
378
  "get_task",
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAwCA;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,iBAA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