agr-mcp-server 4.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/LICENSE +71 -0
- package/README.md +531 -0
- package/dist/client.d.ts +63 -0
- package/dist/client.js +235 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +299 -0
- package/dist/types.d.ts +167 -0
- package/dist/types.js +52 -0
- package/package.json +57 -0
package/dist/types.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// Alliance of Genome Resources entity types
|
|
2
|
+
export const ENTITY_TYPES = [
|
|
3
|
+
"gene",
|
|
4
|
+
"allele",
|
|
5
|
+
"disease",
|
|
6
|
+
"phenotype",
|
|
7
|
+
"expression",
|
|
8
|
+
"orthology",
|
|
9
|
+
"interaction",
|
|
10
|
+
"variant",
|
|
11
|
+
"transgenic_allele",
|
|
12
|
+
"construct",
|
|
13
|
+
"affected_genomic_model",
|
|
14
|
+
"go_term",
|
|
15
|
+
"do_term",
|
|
16
|
+
"publication",
|
|
17
|
+
];
|
|
18
|
+
// Supported model organisms in AGR
|
|
19
|
+
export const SPECIES = [
|
|
20
|
+
"Homo sapiens",
|
|
21
|
+
"Mus musculus",
|
|
22
|
+
"Rattus norvegicus",
|
|
23
|
+
"Danio rerio",
|
|
24
|
+
"Drosophila melanogaster",
|
|
25
|
+
"Caenorhabditis elegans",
|
|
26
|
+
"Saccharomyces cerevisiae",
|
|
27
|
+
"Xenopus laevis",
|
|
28
|
+
"Xenopus tropicalis",
|
|
29
|
+
];
|
|
30
|
+
// Species short names for search filters
|
|
31
|
+
export const SPECIES_MAP = {
|
|
32
|
+
human: "Homo sapiens",
|
|
33
|
+
mouse: "Mus musculus",
|
|
34
|
+
rat: "Rattus norvegicus",
|
|
35
|
+
zebrafish: "Danio rerio",
|
|
36
|
+
fly: "Drosophila melanogaster",
|
|
37
|
+
worm: "Caenorhabditis elegans",
|
|
38
|
+
yeast: "Saccharomyces cerevisiae",
|
|
39
|
+
frog: "Xenopus laevis",
|
|
40
|
+
xenopus: "Xenopus tropicalis",
|
|
41
|
+
};
|
|
42
|
+
// Gene ID prefixes by data source
|
|
43
|
+
export const GENE_ID_PREFIXES = [
|
|
44
|
+
"HGNC", // Human
|
|
45
|
+
"MGI", // Mouse
|
|
46
|
+
"RGD", // Rat
|
|
47
|
+
"ZFIN", // Zebrafish
|
|
48
|
+
"FB", // FlyBase (Drosophila)
|
|
49
|
+
"WB", // WormBase (C. elegans)
|
|
50
|
+
"SGD", // Yeast
|
|
51
|
+
"Xenbase", // Xenopus
|
|
52
|
+
];
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agr-mcp-server",
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"description": "MCP server for Alliance of Genome Resources - access genomics data across model organisms",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"agr-mcp-server": "./dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc",
|
|
12
|
+
"start": "node dist/index.js",
|
|
13
|
+
"dev": "tsx src/index.ts",
|
|
14
|
+
"prepublishOnly": "npm run build"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"mcp",
|
|
18
|
+
"alliance-genome-resources",
|
|
19
|
+
"genomics",
|
|
20
|
+
"bioinformatics",
|
|
21
|
+
"model-organisms",
|
|
22
|
+
"genes",
|
|
23
|
+
"diseases",
|
|
24
|
+
"orthologs",
|
|
25
|
+
"model-context-protocol",
|
|
26
|
+
"llm",
|
|
27
|
+
"claude"
|
|
28
|
+
],
|
|
29
|
+
"author": {
|
|
30
|
+
"name": "Paulo Nuin"
|
|
31
|
+
},
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/nuin/agr-mcp-server-js.git"
|
|
36
|
+
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/nuin/agr-mcp-server-js/issues"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/nuin/agr-mcp-server-js#readme",
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
43
|
+
"zod": "^3.22.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/node": "^20.10.0",
|
|
47
|
+
"tsx": "^4.6.0",
|
|
48
|
+
"typescript": "^5.3.0"
|
|
49
|
+
},
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=18.0.0"
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"dist",
|
|
55
|
+
"README.md"
|
|
56
|
+
]
|
|
57
|
+
}
|