mcp4openapi 0.3.0 → 0.3.3

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.
Files changed (81) hide show
  1. package/README.md +7 -0
  2. package/dist/src/auth/oauth-provider.d.ts.map +1 -1
  3. package/dist/src/auth/oauth-provider.js +5 -2
  4. package/dist/src/auth/oauth-provider.js.map +1 -1
  5. package/dist/src/core/cli-config.d.ts.map +1 -1
  6. package/dist/src/core/cli-config.js +3 -0
  7. package/dist/src/core/cli-config.js.map +1 -1
  8. package/dist/src/core/index.d.ts.map +1 -1
  9. package/dist/src/core/index.js +19 -3
  10. package/dist/src/core/index.js.map +1 -1
  11. package/dist/src/generated-schemas.d.ts +45 -0
  12. package/dist/src/generated-schemas.d.ts.map +1 -1
  13. package/dist/src/generated-schemas.js +3 -0
  14. package/dist/src/generated-schemas.js.map +1 -1
  15. package/dist/src/openapi/openapi-parser.d.ts.map +1 -1
  16. package/dist/src/openapi/openapi-parser.js +22 -0
  17. package/dist/src/openapi/openapi-parser.js.map +1 -1
  18. package/dist/src/profile/profile-allowlist.d.ts +18 -0
  19. package/dist/src/profile/profile-allowlist.d.ts.map +1 -0
  20. package/dist/src/profile/profile-allowlist.js +68 -0
  21. package/dist/src/profile/profile-allowlist.js.map +1 -0
  22. package/dist/src/profile/profile-loader.d.ts.map +1 -1
  23. package/dist/src/profile/profile-loader.js +8 -1
  24. package/dist/src/profile/profile-loader.js.map +1 -1
  25. package/dist/src/profile/profile-registry.d.ts +7 -1
  26. package/dist/src/profile/profile-registry.d.ts.map +1 -1
  27. package/dist/src/profile/profile-registry.js +49 -8
  28. package/dist/src/profile/profile-registry.js.map +1 -1
  29. package/dist/src/profile/profile-resolver.d.ts +16 -0
  30. package/dist/src/profile/profile-resolver.d.ts.map +1 -1
  31. package/dist/src/profile/profile-resolver.js +120 -0
  32. package/dist/src/profile/profile-resolver.js.map +1 -1
  33. package/dist/src/tooling/composite-executor.d.ts.map +1 -1
  34. package/dist/src/tooling/composite-executor.js +7 -2
  35. package/dist/src/tooling/composite-executor.js.map +1 -1
  36. package/dist/src/tooling/proxy-executor.d.ts.map +1 -1
  37. package/dist/src/tooling/proxy-executor.js +4 -0
  38. package/dist/src/tooling/proxy-executor.js.map +1 -1
  39. package/dist/src/tooling/tool-generator.d.ts.map +1 -1
  40. package/dist/src/tooling/tool-generator.js +36 -3
  41. package/dist/src/tooling/tool-generator.js.map +1 -1
  42. package/dist/src/transport/http-transport-config.d.ts.map +1 -1
  43. package/dist/src/transport/http-transport-config.js +1 -0
  44. package/dist/src/transport/http-transport-config.js.map +1 -1
  45. package/dist/src/transport/http-transport.d.ts +5 -0
  46. package/dist/src/transport/http-transport.d.ts.map +1 -1
  47. package/dist/src/transport/http-transport.js +63 -1
  48. package/dist/src/transport/http-transport.js.map +1 -1
  49. package/dist/src/transport/profile-index.d.ts +84 -0
  50. package/dist/src/transport/profile-index.d.ts.map +1 -0
  51. package/dist/src/transport/profile-index.js +405 -0
  52. package/dist/src/transport/profile-index.js.map +1 -0
  53. package/dist/src/types/http-transport.d.ts +1 -0
  54. package/dist/src/types/http-transport.d.ts.map +1 -1
  55. package/dist/src/types/openapi.d.ts +3 -0
  56. package/dist/src/types/openapi.d.ts.map +1 -1
  57. package/dist/src/types/profile.d.ts +3 -0
  58. package/dist/src/types/profile.d.ts.map +1 -1
  59. package/dist/src/validation/validation-utils.d.ts.map +1 -1
  60. package/dist/src/validation/validation-utils.js +1 -0
  61. package/dist/src/validation/validation-utils.js.map +1 -1
  62. package/html/profile-index.html +386 -0
  63. package/package.json +3 -2
  64. package/profile-schema.json +14 -0
  65. package/profiles/gitlab/developer-profile-oauth.json +244 -42
  66. package/profiles/gitlab/developer-profile-oauth.test.json +1009 -5
  67. package/profiles/gitlab/openapi.yaml +1419 -164
  68. package/profiles/gitlab/profile-optimized-oauth.json +785 -0
  69. package/profiles/gitlab/profile-optimized-oauth.test.json +1566 -0
  70. package/profiles/grafana/openapi.json +28078 -0
  71. package/profiles/grafana/profile.json +1083 -0
  72. package/profiles/grafana/profile.test.json +235 -0
  73. package/profiles/mattermost/openapi.yaml +27434 -0
  74. package/profiles/mattermost/profile.json +463 -0
  75. package/profiles/mattermost/profile.test.json +607 -0
  76. package/profiles/n8n/profile-optimized.json +1002 -364
  77. package/profiles/n8n/profile-optimized.test.json +43 -43
  78. package/profiles/n8n/profile.json +1 -1
  79. package/profiles/n8n-nodes/profile-nodes.json +1 -1
  80. package/profiles/semgrep/profile.json +1 -1
  81. package/profiles/youtrack/profile.json +1 -1
@@ -20,7 +20,7 @@
20
20
  "scenarios": [
21
21
  {
22
22
  "name": "retrieve_n8n - get_credential_schema",
23
- "tool": "retrieve_n8n",
23
+ "tool": "retrieve_content",
24
24
  "arguments": {
25
25
  "action": "get_credential_schema",
26
26
  "credentialTypeName": "{{credentialTypeName}}"
@@ -43,7 +43,7 @@
43
43
  },
44
44
  {
45
45
  "name": "retrieve_n8n - list_executions",
46
- "tool": "retrieve_n8n",
46
+ "tool": "retrieve_content",
47
47
  "arguments": {
48
48
  "action": "list_executions"
49
49
  },
@@ -65,7 +65,7 @@
65
65
  },
66
66
  {
67
67
  "name": "retrieve_n8n - get_execution",
68
- "tool": "retrieve_n8n",
68
+ "tool": "retrieve_content",
69
69
  "arguments": {
70
70
  "action": "get_execution",
71
71
  "id": "{{id}}"
@@ -88,7 +88,7 @@
88
88
  },
89
89
  {
90
90
  "name": "retrieve_n8n - list_projects",
91
- "tool": "retrieve_n8n",
91
+ "tool": "retrieve_content",
92
92
  "arguments": {
93
93
  "action": "list_projects"
94
94
  },
@@ -110,7 +110,7 @@
110
110
  },
111
111
  {
112
112
  "name": "retrieve_n8n - list_tags",
113
- "tool": "retrieve_n8n",
113
+ "tool": "retrieve_content",
114
114
  "arguments": {
115
115
  "action": "list_tags"
116
116
  },
@@ -132,7 +132,7 @@
132
132
  },
133
133
  {
134
134
  "name": "retrieve_n8n - get_tag",
135
- "tool": "retrieve_n8n",
135
+ "tool": "retrieve_content",
136
136
  "arguments": {
137
137
  "action": "get_tag",
138
138
  "id": "{{id}}"
@@ -155,7 +155,7 @@
155
155
  },
156
156
  {
157
157
  "name": "retrieve_n8n - list_users",
158
- "tool": "retrieve_n8n",
158
+ "tool": "retrieve_content",
159
159
  "arguments": {
160
160
  "action": "list_users"
161
161
  },
@@ -177,7 +177,7 @@
177
177
  },
178
178
  {
179
179
  "name": "retrieve_n8n - get_user",
180
- "tool": "retrieve_n8n",
180
+ "tool": "retrieve_content",
181
181
  "arguments": {
182
182
  "action": "get_user",
183
183
  "id": "{{id}}"
@@ -200,7 +200,7 @@
200
200
  },
201
201
  {
202
202
  "name": "retrieve_n8n - list_variables",
203
- "tool": "retrieve_n8n",
203
+ "tool": "retrieve_content",
204
204
  "arguments": {
205
205
  "action": "list_variables"
206
206
  },
@@ -222,7 +222,7 @@
222
222
  },
223
223
  {
224
224
  "name": "retrieve_n8n - list_workflows",
225
- "tool": "retrieve_n8n",
225
+ "tool": "retrieve_content",
226
226
  "arguments": {
227
227
  "action": "list_workflows"
228
228
  },
@@ -244,7 +244,7 @@
244
244
  },
245
245
  {
246
246
  "name": "retrieve_n8n - get_workflow",
247
- "tool": "retrieve_n8n",
247
+ "tool": "retrieve_content",
248
248
  "arguments": {
249
249
  "action": "get_workflow",
250
250
  "id": "{{id}}"
@@ -267,7 +267,7 @@
267
267
  },
268
268
  {
269
269
  "name": "retrieve_n8n - get_workflow_version",
270
- "tool": "retrieve_n8n",
270
+ "tool": "retrieve_content",
271
271
  "arguments": {
272
272
  "action": "get_workflow_version",
273
273
  "id": "{{id}}",
@@ -291,7 +291,7 @@
291
291
  },
292
292
  {
293
293
  "name": "retrieve_n8n - get_workflow_tags",
294
- "tool": "retrieve_n8n",
294
+ "tool": "retrieve_content",
295
295
  "arguments": {
296
296
  "action": "get_workflow_tags",
297
297
  "id": "{{id}}"
@@ -314,7 +314,7 @@
314
314
  },
315
315
  {
316
316
  "name": "modify_n8n - generate_audit",
317
- "tool": "modify_n8n",
317
+ "tool": "run_n8n_operations",
318
318
  "arguments": {
319
319
  "action": "generate_audit"
320
320
  },
@@ -336,7 +336,7 @@
336
336
  },
337
337
  {
338
338
  "name": "modify_n8n - create_credential",
339
- "tool": "modify_n8n",
339
+ "tool": "create_content",
340
340
  "arguments": {
341
341
  "action": "create_credential",
342
342
  "name": "{{name}}",
@@ -363,7 +363,7 @@
363
363
  },
364
364
  {
365
365
  "name": "modify_n8n - update_credential",
366
- "tool": "modify_n8n",
366
+ "tool": "update_content",
367
367
  "arguments": {
368
368
  "action": "update_credential",
369
369
  "id": "{{id}}"
@@ -386,7 +386,7 @@
386
386
  },
387
387
  {
388
388
  "name": "modify_n8n - delete_credential",
389
- "tool": "modify_n8n",
389
+ "tool": "delete_content",
390
390
  "arguments": {
391
391
  "action": "delete_credential",
392
392
  "id": "{{id}}"
@@ -409,7 +409,7 @@
409
409
  },
410
410
  {
411
411
  "name": "modify_n8n - transfer_credential",
412
- "tool": "modify_n8n",
412
+ "tool": "run_n8n_operations",
413
413
  "arguments": {
414
414
  "action": "transfer_credential",
415
415
  "id": "{{id}}",
@@ -433,7 +433,7 @@
433
433
  },
434
434
  {
435
435
  "name": "modify_n8n - delete_execution",
436
- "tool": "modify_n8n",
436
+ "tool": "delete_content",
437
437
  "arguments": {
438
438
  "action": "delete_execution",
439
439
  "id": "{{id}}"
@@ -456,7 +456,7 @@
456
456
  },
457
457
  {
458
458
  "name": "modify_n8n - retry_execution",
459
- "tool": "modify_n8n",
459
+ "tool": "run_n8n_operations",
460
460
  "arguments": {
461
461
  "action": "retry_execution",
462
462
  "id": "{{id}}"
@@ -479,7 +479,7 @@
479
479
  },
480
480
  {
481
481
  "name": "modify_n8n - create_project",
482
- "tool": "modify_n8n",
482
+ "tool": "create_content",
483
483
  "arguments": {
484
484
  "action": "create_project",
485
485
  "name": "{{name}}"
@@ -502,7 +502,7 @@
502
502
  },
503
503
  {
504
504
  "name": "modify_n8n - update_project",
505
- "tool": "modify_n8n",
505
+ "tool": "update_content",
506
506
  "arguments": {
507
507
  "action": "update_project",
508
508
  "name": "{{name}}",
@@ -526,7 +526,7 @@
526
526
  },
527
527
  {
528
528
  "name": "modify_n8n - delete_project",
529
- "tool": "modify_n8n",
529
+ "tool": "delete_content",
530
530
  "arguments": {
531
531
  "action": "delete_project",
532
532
  "projectId": "{{projectId}}"
@@ -549,7 +549,7 @@
549
549
  },
550
550
  {
551
551
  "name": "modify_n8n - add_project_users",
552
- "tool": "modify_n8n",
552
+ "tool": "create_content",
553
553
  "arguments": {
554
554
  "action": "add_project_users",
555
555
  "projectId": "{{projectId}}",
@@ -578,7 +578,7 @@
578
578
  },
579
579
  {
580
580
  "name": "modify_n8n - remove_project_user",
581
- "tool": "modify_n8n",
581
+ "tool": "delete_content",
582
582
  "arguments": {
583
583
  "action": "remove_project_user",
584
584
  "projectId": "{{projectId}}",
@@ -602,7 +602,7 @@
602
602
  },
603
603
  {
604
604
  "name": "modify_n8n - update_project_user_role",
605
- "tool": "modify_n8n",
605
+ "tool": "update_content",
606
606
  "arguments": {
607
607
  "action": "update_project_user_role",
608
608
  "projectId": "{{projectId}}",
@@ -627,7 +627,7 @@
627
627
  },
628
628
  {
629
629
  "name": "modify_n8n - pull_source_control",
630
- "tool": "modify_n8n",
630
+ "tool": "run_n8n_operations",
631
631
  "arguments": {
632
632
  "action": "pull_source_control"
633
633
  },
@@ -649,7 +649,7 @@
649
649
  },
650
650
  {
651
651
  "name": "modify_n8n - create_tag",
652
- "tool": "modify_n8n",
652
+ "tool": "create_content",
653
653
  "arguments": {
654
654
  "action": "create_tag",
655
655
  "name": "{{name}}"
@@ -672,7 +672,7 @@
672
672
  },
673
673
  {
674
674
  "name": "modify_n8n - update_tag",
675
- "tool": "modify_n8n",
675
+ "tool": "update_content",
676
676
  "arguments": {
677
677
  "action": "update_tag",
678
678
  "id": "{{id}}",
@@ -696,7 +696,7 @@
696
696
  },
697
697
  {
698
698
  "name": "modify_n8n - delete_tag",
699
- "tool": "modify_n8n",
699
+ "tool": "delete_content",
700
700
  "arguments": {
701
701
  "action": "delete_tag",
702
702
  "id": "{{id}}"
@@ -719,7 +719,7 @@
719
719
  },
720
720
  {
721
721
  "name": "modify_n8n - create_users",
722
- "tool": "modify_n8n",
722
+ "tool": "create_content",
723
723
  "arguments": {
724
724
  "action": "create_users",
725
725
  "users": [
@@ -747,7 +747,7 @@
747
747
  },
748
748
  {
749
749
  "name": "modify_n8n - delete_user",
750
- "tool": "modify_n8n",
750
+ "tool": "delete_content",
751
751
  "arguments": {
752
752
  "action": "delete_user",
753
753
  "id": "{{id}}"
@@ -770,7 +770,7 @@
770
770
  },
771
771
  {
772
772
  "name": "modify_n8n - update_user_role",
773
- "tool": "modify_n8n",
773
+ "tool": "update_content",
774
774
  "arguments": {
775
775
  "action": "update_user_role",
776
776
  "id": "{{id}}",
@@ -796,7 +796,7 @@
796
796
  },
797
797
  {
798
798
  "name": "modify_n8n - create_variable",
799
- "tool": "modify_n8n",
799
+ "tool": "create_content",
800
800
  "arguments": {
801
801
  "action": "create_variable",
802
802
  "key": "{{key}}",
@@ -820,7 +820,7 @@
820
820
  },
821
821
  {
822
822
  "name": "modify_n8n - update_variable",
823
- "tool": "modify_n8n",
823
+ "tool": "update_content",
824
824
  "arguments": {
825
825
  "action": "update_variable",
826
826
  "id": "{{id}}",
@@ -845,7 +845,7 @@
845
845
  },
846
846
  {
847
847
  "name": "modify_n8n - delete_variable",
848
- "tool": "modify_n8n",
848
+ "tool": "delete_content",
849
849
  "arguments": {
850
850
  "action": "delete_variable",
851
851
  "id": "{{id}}"
@@ -868,7 +868,7 @@
868
868
  },
869
869
  {
870
870
  "name": "modify_n8n - create_workflow",
871
- "tool": "modify_n8n_workflows",
871
+ "tool": "create_content",
872
872
  "arguments": {
873
873
  "action": "create_workflow",
874
874
  "name": "{{name}}",
@@ -908,7 +908,7 @@
908
908
  },
909
909
  {
910
910
  "name": "modify_n8n - update_workflow",
911
- "tool": "modify_n8n_workflows",
911
+ "tool": "update_content",
912
912
  "arguments": {
913
913
  "action": "update_workflow",
914
914
  "id": "{{id}}",
@@ -949,7 +949,7 @@
949
949
  },
950
950
  {
951
951
  "name": "modify_n8n - delete_workflow",
952
- "tool": "modify_n8n_workflows",
952
+ "tool": "delete_content",
953
953
  "arguments": {
954
954
  "action": "delete_workflow",
955
955
  "id": "{{id}}"
@@ -972,7 +972,7 @@
972
972
  },
973
973
  {
974
974
  "name": "modify_n8n - activate_workflow",
975
- "tool": "modify_n8n_workflows",
975
+ "tool": "run_n8n_operations",
976
976
  "arguments": {
977
977
  "action": "activate_workflow",
978
978
  "id": "{{id}}"
@@ -995,7 +995,7 @@
995
995
  },
996
996
  {
997
997
  "name": "modify_n8n - deactivate_workflow",
998
- "tool": "modify_n8n_workflows",
998
+ "tool": "run_n8n_operations",
999
999
  "arguments": {
1000
1000
  "action": "deactivate_workflow",
1001
1001
  "id": "{{id}}"
@@ -1018,7 +1018,7 @@
1018
1018
  },
1019
1019
  {
1020
1020
  "name": "modify_n8n - update_workflow_tags",
1021
- "tool": "modify_n8n_workflows",
1021
+ "tool": "update_content",
1022
1022
  "arguments": {
1023
1023
  "action": "update_workflow_tags",
1024
1024
  "id": "{{id}}",
@@ -1046,7 +1046,7 @@
1046
1046
  },
1047
1047
  {
1048
1048
  "name": "modify_n8n - transfer_workflow",
1049
- "tool": "modify_n8n_workflows",
1049
+ "tool": "run_n8n_operations",
1050
1050
  "arguments": {
1051
1051
  "action": "transfer_workflow",
1052
1052
  "id": "{{id}}",
@@ -6,7 +6,7 @@
6
6
  "n8n-default"
7
7
  ],
8
8
  "openapi_spec_path": "./openapi.yaml",
9
- "description": "MCP tools for the n8n Public API (aggregated by domain)",
9
+ "description": "Comprehensive operation-style tool set (manage_credentials, manage_executions, manage_projects, ...).",
10
10
  "parameter_aliases": {
11
11
  "id": [
12
12
  "credential_id",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "../../profile-schema.json",
3
3
  "profile_name": "n8n-node-list",
4
- "description": "n8n nodes metadata (full and summary).",
4
+ "description": "Single-purpose tool for fetching the list of supported n8n nodes from an n8n instance.",
5
5
  "openapi_spec_path": "./openapi.yaml",
6
6
  "interceptors": {
7
7
  "base_url": {
@@ -4,7 +4,7 @@
4
4
  "profile_id": "semgrep",
5
5
  "profile_aliases": ["semgrep-default"],
6
6
  "openapi_spec_path": "./openapi.yaml",
7
- "description": "MCP tools for Semgrep security platform workflows. Reduces 20 API operations to 10 MCP tools.",
7
+ "description": "Comprehensive operation-style tool set (manage_projects, manage_findings, get_deployment, ...).",
8
8
 
9
9
  "parameter_aliases": {
10
10
  "deploymentId": ["deployment_id"],
@@ -4,7 +4,7 @@
4
4
  "profile_id": "youtrack",
5
5
  "profile_aliases": ["youtrack-optimized"],
6
6
  "openapi_spec_path": "./openapi.json",
7
- "description": "YouTrack issue tracker 6 tools with granular permission control",
7
+ "description": "Minimal tool set grouped by read/write actions.",
8
8
 
9
9
  "parameter_aliases": {
10
10
  "id": ["issue_id", "project_id", "article_id", "agile_id", "user_id", "tag_id"],