@oneshot-agent/mcp-server 0.42.0 → 0.43.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/dist/index.js +1 -1
- package/dist/tools/lookup-manifest.generated.js +135 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ async function main() {
|
|
|
50
50
|
const agent = await initAgent();
|
|
51
51
|
const server = new Server({
|
|
52
52
|
name: "oneshot-mcp",
|
|
53
|
-
version: "0.
|
|
53
|
+
version: "0.43.0", // keep in sync with package.json; guarded by version.test.ts
|
|
54
54
|
}, {
|
|
55
55
|
capabilities: {
|
|
56
56
|
tools: {},
|
|
@@ -806,6 +806,36 @@ export const LOOKUP_MANIFEST = [
|
|
|
806
806
|
"height_in": 48
|
|
807
807
|
}
|
|
808
808
|
},
|
|
809
|
+
{
|
|
810
|
+
"name": "gene_pathways",
|
|
811
|
+
"path": "lookup/gene-pathways",
|
|
812
|
+
"title": "Gene Pathways",
|
|
813
|
+
"description": "Find the lowest-level pathways a gene’s products take part in, from Reactome. Covers curated human pathways and pathways inferred for other species. Pass the gene’s own organism as taxon_id (human, 9606, by default): a Gene ID belongs to one organism. Inferred pathways are computed from human pathways by orthology rather than curated for this species; in_disease pathways describe disease mechanisms. Returns up to limit pathways in source order, with total counting all pathways the source returned. An unknown gene, a gene with no pathways, or an organism mismatch returns an empty list. Reactome data is CC0 and refreshed in quarterly releases; no diagrams or images are returned.",
|
|
814
|
+
"inputSchema": {
|
|
815
|
+
"type": "object",
|
|
816
|
+
"properties": {
|
|
817
|
+
"gene_id": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"description": "An NCBI Gene ID, for example 7157. Digits only, 1 to 12."
|
|
820
|
+
},
|
|
821
|
+
"taxon_id": {
|
|
822
|
+
"type": "integer",
|
|
823
|
+
"description": "The gene’s own organism as an NCBI Taxonomy ID; 9606 is human, 10090 is mouse. From 1 to 999999999. Defaults to `9606`."
|
|
824
|
+
},
|
|
825
|
+
"limit": {
|
|
826
|
+
"type": "integer",
|
|
827
|
+
"description": "Maximum pathways returned, in source order. From 1 to 100. Defaults to `50`."
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"required": [
|
|
831
|
+
"gene_id"
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
"example": {
|
|
835
|
+
"gene_id": "7157",
|
|
836
|
+
"limit": 1
|
|
837
|
+
}
|
|
838
|
+
},
|
|
809
839
|
{
|
|
810
840
|
"name": "gene_resolve",
|
|
811
841
|
"path": "resolve/gene",
|
|
@@ -862,6 +892,88 @@ export const LOOKUP_MANIFEST = [
|
|
|
862
892
|
"symbol": "TP53"
|
|
863
893
|
}
|
|
864
894
|
},
|
|
895
|
+
{
|
|
896
|
+
"name": "gene_variants_find",
|
|
897
|
+
"path": "find/gene-variants",
|
|
898
|
+
"title": "Gene Variants",
|
|
899
|
+
"description": "Reports what a public registry, ClinVar, says about variants in a gene, for research; not medical advice. Classifications are submitters' and expert panels' interpretations. Supply exactly one NCBI Gene ID or official human gene symbol, never a person's genome, sequencing data or a VCF file. Aliases do not match: use gene_resolve to resolve aliases first. Optionally filter by ClinVar classification properties and expert panel review; these properties can include combined classifications. By default, single_gene excludes large deletions and duplications spanning multiple genes; include_multi_gene includes them. Returns up to 20 variants in search order and the total ClinVar search count. Empty classifications are null; no match returns total 0 and an empty variants list. Each vcv can be passed to variant_clinical_significance for details, including somatic and oncogenicity classifications. ClinVar refreshes weekly; classifications carry their last evaluated dates. NCBI places no restriction on use of ClinVar.",
|
|
900
|
+
"inputSchema": {
|
|
901
|
+
"type": "object",
|
|
902
|
+
"properties": {
|
|
903
|
+
"gene_id": {
|
|
904
|
+
"type": "string",
|
|
905
|
+
"description": "NCBI Gene ID, for example 672; supply exactly one of gene_id or symbol. 1 to 12 characters."
|
|
906
|
+
},
|
|
907
|
+
"symbol": {
|
|
908
|
+
"type": "string",
|
|
909
|
+
"description": "Official human gene symbol, for example BRCA1; use gene_resolve for aliases. 1 to 30 characters."
|
|
910
|
+
},
|
|
911
|
+
"classification": {
|
|
912
|
+
"type": "string",
|
|
913
|
+
"enum": [
|
|
914
|
+
"pathogenic",
|
|
915
|
+
"likely_pathogenic",
|
|
916
|
+
"uncertain",
|
|
917
|
+
"likely_benign",
|
|
918
|
+
"benign",
|
|
919
|
+
"conflicting"
|
|
920
|
+
],
|
|
921
|
+
"description": "ClinVar classification property filter; may include combined classifications"
|
|
922
|
+
},
|
|
923
|
+
"expert_panel_only": {
|
|
924
|
+
"type": "boolean",
|
|
925
|
+
"description": "Only variants reviewed by an expert panel. Defaults to `false`."
|
|
926
|
+
},
|
|
927
|
+
"include_multi_gene": {
|
|
928
|
+
"type": "boolean",
|
|
929
|
+
"description": "Include variants spanning multiple genes. Defaults to `false`."
|
|
930
|
+
},
|
|
931
|
+
"limit": {
|
|
932
|
+
"type": "integer",
|
|
933
|
+
"description": "Maximum number of variants returned. From 1 to 20. Defaults to `10`."
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
"required": []
|
|
937
|
+
},
|
|
938
|
+
"example": {
|
|
939
|
+
"gene_id": "7157",
|
|
940
|
+
"classification": "pathogenic",
|
|
941
|
+
"expert_panel_only": true,
|
|
942
|
+
"limit": 1
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"name": "business_health_inspections",
|
|
947
|
+
"path": "lookup/business-health-inspections",
|
|
948
|
+
"title": "Health Inspections",
|
|
949
|
+
"description": "Given a New York City establishment id (CAMIS) or part of a trade name, return the matching food service establishments with their health inspections from the New York City Department of Health and Mental Hygiene: name, address, borough, ZIP code, cuisine and location, then for each inspection its date, type, score, letter grade with its date, the action taken and the violations cited, each with its code, description and whether it is critical. Give at least one of `establishment_id` and `name`; the id takes precedence when both are given. `name` matches anywhere in the trade name, ignoring case; `zipcode` narrows either search. Inspections are newest first, at most `limit` per establishment. The call reads the 200 newest violation rows that match, so a name shared by many establishments may leave out older inspections: add `zipcode` or use the id; when those rows all fall on one date the call fails as invalid input for the same reason. An establishment not yet inspected has an empty `inspections` list. Dates are YYYY-MM-DD and a value the source does not give is null. No match is a completed result with an empty `establishments` list.",
|
|
950
|
+
"inputSchema": {
|
|
951
|
+
"type": "object",
|
|
952
|
+
"properties": {
|
|
953
|
+
"establishment_id": {
|
|
954
|
+
"type": "string",
|
|
955
|
+
"description": "The city's establishment id (CAMIS), for example 40732665; takes precedence over name. establishment_id must be digits."
|
|
956
|
+
},
|
|
957
|
+
"name": {
|
|
958
|
+
"type": "string",
|
|
959
|
+
"description": "Part of the trade name, matched anywhere in it and ignoring case, for example Katz's Delicatessen. 2 to 100 characters."
|
|
960
|
+
},
|
|
961
|
+
"zipcode": {
|
|
962
|
+
"type": "string",
|
|
963
|
+
"description": "Five-digit ZIP code of the establishment. zipcode must be five digits."
|
|
964
|
+
},
|
|
965
|
+
"limit": {
|
|
966
|
+
"type": "integer",
|
|
967
|
+
"description": "Most inspections to return per establishment. From 1 to 20. Defaults to `5`."
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
"required": []
|
|
971
|
+
},
|
|
972
|
+
"example": {
|
|
973
|
+
"establishment_id": "40732665",
|
|
974
|
+
"limit": 3
|
|
975
|
+
}
|
|
976
|
+
},
|
|
865
977
|
{
|
|
866
978
|
"name": "person_health_provider",
|
|
867
979
|
"path": "lookup/person-health-provider",
|
|
@@ -1238,6 +1350,29 @@ export const LOOKUP_MANIFEST = [
|
|
|
1238
1350
|
"rsid": "rs80357906"
|
|
1239
1351
|
}
|
|
1240
1352
|
},
|
|
1353
|
+
{
|
|
1354
|
+
"name": "variant_resolve",
|
|
1355
|
+
"path": "resolve/variant",
|
|
1356
|
+
"title": "Variant Resolve",
|
|
1357
|
+
"description": "Says which variant a public registry, ClinVar, records under one identifier, for research; not medical advice. Supply exactly one HGVS expression on a reference sequence accession (genomic, coding, non-coding or protein) or one dbSNP rsID, never a person's genome, sequencing data or a VCF file. The expression is matched as one quoted variant name; expressions containing double quotes or square brackets are refused, so use the rsID for repeat notation. An rsID can match several alleles at one position: returns up to five variations carrying that rsID. A short protein change can match several variants too; ambiguous is then true. No match returns an empty variants list. Identity only: no germline, somatic or oncogenicity classification, conditions or submissions; pass vcv to variant_clinical_significance for those. ClinVar refreshes weekly, and accession versions change when records change. NCBI places no restriction on use of ClinVar.",
|
|
1358
|
+
"inputSchema": {
|
|
1359
|
+
"type": "object",
|
|
1360
|
+
"properties": {
|
|
1361
|
+
"hgvs": {
|
|
1362
|
+
"type": "string",
|
|
1363
|
+
"description": "HGVS expression starting with a reference sequence accession, for example NM_007294.4:c.5266dup or NM_007294.4(BRCA1):c.5266dup; supply only hgvs or rsid. 5 to 200 characters."
|
|
1364
|
+
},
|
|
1365
|
+
"rsid": {
|
|
1366
|
+
"type": "string",
|
|
1367
|
+
"description": "dbSNP identifier, for example rs80357906; supply only rsid or hgvs"
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
"required": []
|
|
1371
|
+
},
|
|
1372
|
+
"example": {
|
|
1373
|
+
"hgvs": "NM_007294.4:c.5266dup"
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1241
1376
|
{
|
|
1242
1377
|
"name": "company_vat_registration",
|
|
1243
1378
|
"path": "lookup/company-vat-registration",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneshot-agent/mcp-server",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "MCP server for OneShot -
|
|
3
|
+
"version": "0.43.0",
|
|
4
|
+
"description": "MCP server for OneShot - 154 tools for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|