@raytio/mcp-server 5.0.0 → 7.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 +48 -0
- package/contracts/persist/mcp_resource_contract.json +62382 -25622
- package/dist/tools/domains.js +1 -1
- package/dist/tools/domains.js.map +1 -1
- package/dist/tools/fnd/index.d.ts +0 -8
- package/dist/tools/fnd/index.d.ts.map +1 -1
- package/dist/tools/fnd/index.js +2 -9
- package/dist/tools/fnd/index.js.map +1 -1
- package/dist/tools/imports/index.d.ts +179 -0
- package/dist/tools/imports/index.d.ts.map +1 -0
- package/dist/tools/imports/index.js +100 -0
- package/dist/tools/imports/index.js.map +1 -0
- package/dist/tools/sfa/lead-import.d.ts +0 -10
- package/dist/tools/sfa/lead-import.d.ts.map +1 -1
- package/dist/tools/sfa/lead-import.js +11 -49
- package/dist/tools/sfa/lead-import.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -498,3 +498,51 @@ MIT
|
|
|
498
498
|
## Support
|
|
499
499
|
|
|
500
500
|
For issues or questions, please open an issue in the repository.
|
|
501
|
+
|
|
502
|
+
### Shared imports
|
|
503
|
+
|
|
504
|
+
Use the FND domain tools for COA values/combinations, SFA leads and daily rates.
|
|
505
|
+
`fnd_import_definitions` reads the server registry and availability.
|
|
506
|
+
`fnd_import_run_create` takes an existing authorised `source_id`,
|
|
507
|
+
`destination_org_id`, definition/version, strict domain context and an explicit
|
|
508
|
+
`processing_policy.partial_policy` (`NONE` or `INDEPENDENT_OBJECTS`). COA context
|
|
509
|
+
requires `structure_id` and `upsert_mode` (`CREATE_ONLY` or `REPLACE`), without a
|
|
510
|
+
ledger. Lead context requires `org_id`. Daily-rate context requires `rate_type`,
|
|
511
|
+
`date_from`, `date_to`, `currencies` and `upsert_mode`. The server checks all
|
|
512
|
+
source, tenant, domain and destination permissions using the caller identity.
|
|
513
|
+
|
|
514
|
+
For files, reserve evidence with `fnd_import_upload_reserve`, obtain its private
|
|
515
|
+
URL with `fnd_import_upload_url`, upload the exact bytes, then call
|
|
516
|
+
`fnd_import_upload_complete`. Set a saved ETL template or allowlisted field
|
|
517
|
+
transforms using `fnd_import_profile_set`, extract bounded chunks using the
|
|
518
|
+
server checkpoint, set reviewed reference mappings with
|
|
519
|
+
`fnd_import_mapping_set`, and seal the complete batch with `fnd_import_seal`.
|
|
520
|
+
For an external rate source, create a `FND_DAILY_RATES` run with its existing
|
|
521
|
+
API source ID and call `fnd_import_acquire`. Source registration/provider
|
|
522
|
+
configuration remains server-side: the inspected shared API has no source
|
|
523
|
+
registration endpoint. No tool accepts provider URLs, credentials, arbitrary
|
|
524
|
+
tables or executable functions.
|
|
525
|
+
|
|
526
|
+
Call `fnd_import_validate`, inspect the run/findings/results, then
|
|
527
|
+
`fnd_import_process` for the reviewed snapshot. Mutations require a stable
|
|
528
|
+
`idempotency_key`; retry identical requests with that key, including after
|
|
529
|
+
timeouts. Changed requests need a new key. Lifecycle commands require the
|
|
530
|
+
current run `expected_version`; seal/reference mapping commands require their
|
|
531
|
+
server version. Use `fnd_import_run_get` to restore a run and its batches, and
|
|
532
|
+
`fnd_import_objects_list`, `fnd_import_findings_list` and
|
|
533
|
+
`fnd_import_results_list` for bounded pages (`limit` 1–100, `offset` up to
|
|
534
|
+
100000). `fnd_import_pause`, `fnd_import_resume` and `fnd_import_cancel` retain
|
|
535
|
+
committed outcomes and use the same durable run ID.
|
|
536
|
+
|
|
537
|
+
A successful MCP response means the API command returned. Preserve its
|
|
538
|
+
`accepted`, run/operation/job identifiers and authoritative state; an accepted
|
|
539
|
+
async request does not mean a completed import. Lead import outcomes can be
|
|
540
|
+
`DEDUP_PENDING`, which is a handoff rather than completed deduplication or
|
|
541
|
+
promotion. Server findings expose safe messages rather than raw source evidence.
|
|
542
|
+
|
|
543
|
+
**6.0 migration:** `sfa_lead_import` now creates a shared `SFA_LEADS` run using
|
|
544
|
+
the same inputs as run creation except for the fixed definition code. Replace
|
|
545
|
+
legacy `tenant_id`, S3 coordinates, inline mappings and `trigger_dedup` with
|
|
546
|
+
the shared source/evidence/profile journey above. Enable the `fnd` domain to
|
|
547
|
+
continue a run created through the SFA tool. `fnd-readonly` remains limited
|
|
548
|
+
to its existing reference reads and does not advertise import commands.
|