@ythalorossy/openfda 1.0.1 → 1.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/bin/index.js CHANGED
@@ -1,10 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
- import dotenv from "dotenv";
5
4
  import z from "zod";
6
5
  import { OpenFDABuilder } from "./OpenFDABuilder.js";
7
- dotenv.config();
8
6
  const USER_AGENT = "openfda-mcp/1.0";
9
7
  const server = new McpServer({
10
8
  name: "openfda",
package/build/index.js CHANGED
@@ -1,10 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
- import dotenv from "dotenv";
5
4
  import z from "zod";
6
5
  import { OpenFDABuilder } from "./OpenFDABuilder.js";
7
- dotenv.config();
8
6
  const USER_AGENT = "openfda-mcp/1.0";
9
7
  const server = new McpServer({
10
8
  name: "openfda",
package/package.json CHANGED
@@ -1,33 +1,35 @@
1
1
  {
2
2
  "name": "@ythalorossy/openfda",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "OpenFDA Model Context Protocol",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/ythalorossy/openfda.git"
8
+ },
9
+ "author": "Ythalo Saldanha",
10
+ "license": "MIT",
11
+ "type": "module",
5
12
  "bin": {
6
13
  "openfda": "./bin/index.js"
7
14
  },
8
- "main": "index.js",
9
- "scripts": {
10
- "build": "tsc && chmod 755 build/index.js",
11
- "build:cli": "npm run build && node scripts/add-shebang.cjs && shx cp -r build/* bin/",
12
- "test": "echo \"Error: no test specified\" && exit 1"
13
- },
15
+ "files": [
16
+ "build",
17
+ "bin"
18
+ ],
14
19
  "keywords": [
15
20
  "openfda",
16
21
  "drugs",
17
22
  "mcp",
18
23
  "server"
19
24
  ],
20
- "author": "Ythalo Saldanha",
21
- "license": "MIT",
22
- "type": "module",
23
- "files": [
24
- "build",
25
- "bin"
26
- ],
25
+ "scripts": {
26
+ "build": "tsc && chmod 755 build/index.js",
27
+ "build:cli": "npm run build && node scripts/add-shebang.cjs && shx cp -r build/* bin/",
28
+ "test": "echo \"Error: no test specified\" && exit 1"
29
+ },
27
30
  "dependencies": {
28
31
  "@modelcontextprotocol/sdk": "^1.15.1",
29
32
  "@ythalorossy/openfda": "^1.0.0",
30
- "dotenv": "^17.2.0",
31
33
  "zod": "^3.25.76"
32
34
  },
33
35
  "devDependencies": {