agr-mcp-server 4.0.2 → 4.0.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.
package/README.md CHANGED
@@ -4,9 +4,9 @@ MCP server for querying [Alliance of Genome Resources](https://www.alliancegenom
4
4
 
5
5
  ## Installation
6
6
 
7
- ### Claude Desktop
7
+ ### Option 1: npx (Recommended)
8
8
 
9
- Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
9
+ No installation required. Add to your MCP client config:
10
10
 
11
11
  ```json
12
12
  {
@@ -19,69 +19,33 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)
19
19
  }
20
20
  ```
21
21
 
22
- ### Claude Code (CLI)
22
+ ### Option 2: Global install
23
23
 
24
- Add to `~/.claude/settings.json`:
25
-
26
- ```json
27
- {
28
- "mcpServers": {
29
- "agr-genomics": {
30
- "command": "npx",
31
- "args": ["-y", "agr-mcp-server"]
32
- }
33
- }
34
- }
35
- ```
36
-
37
- ### Cursor
38
-
39
- Add to Cursor settings (Settings > MCP Servers):
40
-
41
- ```json
42
- {
43
- "agr-genomics": {
44
- "command": "npx",
45
- "args": ["-y", "agr-mcp-server"]
46
- }
47
- }
24
+ ```bash
25
+ npm install -g agr-mcp-server
48
26
  ```
49
27
 
50
- ### Windsurf
51
-
52
- Add to `~/.codeium/windsurf/mcp_config.json`:
28
+ Then use in your config:
53
29
 
54
30
  ```json
55
31
  {
56
32
  "mcpServers": {
57
33
  "agr-genomics": {
58
- "command": "npx",
59
- "args": ["-y", "agr-mcp-server"]
34
+ "command": "agr-mcp-server"
60
35
  }
61
36
  }
62
37
  }
63
38
  ```
64
39
 
65
- ### From source
66
-
67
- ```bash
68
- git clone https://github.com/nuin/agr-mcp-server-js.git
69
- cd agr-mcp-server-js
70
- npm install && npm run build
71
- ```
72
-
73
- Then use the local path in your config:
40
+ ### Config file locations
74
41
 
75
- ```json
76
- {
77
- "mcpServers": {
78
- "agr-genomics": {
79
- "command": "node",
80
- "args": ["/path/to/agr-mcp-server-js/dist/index.js"]
81
- }
82
- }
83
- }
84
- ```
42
+ | Client | Config path |
43
+ |--------|-------------|
44
+ | Claude Desktop (macOS) | `~/Library/Application Support/Claude/claude_desktop_config.json` |
45
+ | Claude Desktop (Windows) | `%APPDATA%\Claude\claude_desktop_config.json` |
46
+ | Claude Code | `~/.claude/settings.json` |
47
+ | Cursor | Settings > MCP Servers |
48
+ | Windsurf | `~/.codeium/windsurf/mcp_config.json` |
85
49
 
86
50
  ## Usage
87
51
 
@@ -129,8 +93,8 @@ Human, mouse, rat, zebrafish, fly, worm, yeast, xenopus
129
93
 
130
94
  ## Data Sources
131
95
 
132
- - **Search & gene data**: [Alliance of Genome Resources API](https://www.alliancegenome.org/api)
133
- - **Advanced search**: [AllianceMine](https://www.alliancegenome.org/alliancemine)
96
+ - [Alliance of Genome Resources API](https://www.alliancegenome.org/api)
97
+ - [AllianceMine](https://www.alliancegenome.org/alliancemine)
134
98
 
135
99
  ## License
136
100
 
package/dist/client.js CHANGED
@@ -204,7 +204,7 @@ export class AllianceClient {
204
204
  * Get list of supported species from API
205
205
  */
206
206
  async getSpeciesList() {
207
- const url = `${this.agrApiUrl}/api/species`;
207
+ const url = `${this.agrApiUrl}/species`;
208
208
  try {
209
209
  return await this.fetch(url);
210
210
  }
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { ENTITY_TYPES } from "./types.js";
7
7
  const client = new AllianceClient();
8
8
  const server = new McpServer({
9
9
  name: "agr-genomics",
10
- version: "4.0.0",
10
+ version: "4.0.3",
11
11
  });
12
12
  // Tool: Search genes
13
13
  server.tool("search_genes", "Search for genes across all Alliance of Genome Resources model organisms. Supports species filtering.", {
package/dist/types.js CHANGED
@@ -37,7 +37,8 @@ export const SPECIES_MAP = {
37
37
  worm: "Caenorhabditis elegans",
38
38
  yeast: "Saccharomyces cerevisiae",
39
39
  frog: "Xenopus laevis",
40
- xenopus: "Xenopus tropicalis",
40
+ laevis: "Xenopus laevis",
41
+ tropicalis: "Xenopus tropicalis",
41
42
  };
42
43
  // Gene ID prefixes by data source
43
44
  export const GENE_ID_PREFIXES = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agr-mcp-server",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "MCP server for Alliance of Genome Resources - access genomics data across model organisms",
5
5
  "main": "dist/index.js",
6
6
  "bin": {