package.json•4.11 kB
{
"name": "searchapi-mcp-server",
"version": "1.1.0",
"description": "TypeScript Model Context Protocol (MCP) server boilerplate providing search API tools/resources. Includes CLI support and extensible structure for connecting AI systems (LLMs) to external data sources (Google, Bing, etc.) via SearchAPI.site",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"_moduleNotes": "Although source code uses ESM syntax, the build output target is CommonJS to align with Node.js compatibility and patterns seen in related MCP servers. tsconfig.json's 'module': 'NodeNext' handles the input syntax, while tsc outputs CJS.",
"type": "commonjs",
"repository": {
"type": "git",
"url": "https://github.com/mrgoonie/searchapi-mcp-server.git"
},
"bin": {
"mcp-server": "./dist/index.js"
},
"scripts": {
"build": "tsc",
"prepare": "npm run build && chmod +x dist/index.js",
"postinstall": "chmod +x dist/index.js || true",
"test": "jest --passWithNoTests",
"test:coverage": "jest --coverage",
"lint": "eslint src --ext .ts --config eslint.config.mjs",
"format": "prettier --write 'src/**/*.ts' 'scripts/**/*.js'",
"publish:npm": "npm publish",
"update:check": "npx npm-check-updates",
"update:deps": "npx npm-check-updates -u && npm install --legacy-peer-deps",
"update:version": "node scripts/update-version.js",
"dev:server": "DEBUG=true npm run build && node dist/index.js",
"dev:server:http": "DEBUG=true npm run build && node dist/index.js --transport http",
"dev:cli": "DEBUG=true npm run build && DEBUG=true node dist/index.js",
"start:server": "npm run build && npx @modelcontextprotocol/inspector node dist/index.js",
"start:server:http": "node dist/index.js --transport http",
"start:inspector": "npx @modelcontextprotocol/inspector",
"start:cli": "npm run build && node dist/index.js",
"inspector": "npx @modelcontextprotocol/inspector"
},
"keywords": [
"mcp",
"model context protocol",
"typescript",
"claude",
"anthropic",
"ai",
"boilerplate",
"server",
"model-context-protocol",
"tools",
"resources",
"tooling",
"ai-integration",
"mcp-server",
"llm",
"ai-connector",
"external-tools",
"cli",
"mcp-inspector"
],
"author": "",
"license": "ISC",
"devDependencies": {
"@eslint/js": "^9.25.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^7.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.2",
"@semantic-release/npm": "^12.0.1",
"@types/content-type": "^1.1.8",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.3",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"eslint": "^9.25.1",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-prettier": "^5.2.6",
"jest": "^29.7.0",
"nodemon": "^3.1.10",
"npm-check-updates": "^18.0.1",
"prettier": "^3.5.3",
"semantic-release": "^24.2.3",
"ts-jest": "^29.3.2",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.31.1"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.11.0",
"commander": "^13.1.0",
"content-type": "^1.0.5",
"cors": "^2.8.5",
"dotenv": "^16.5.0",
"express": "^5.1.0",
"mcp-evals": "^1.0.18",
"zod": "^3.24.3"
},
"directories": {
"example": "examples"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/src/**/*.test.ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/*.spec.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/coverage/"
],
"coverageReporters": [
"text",
"lcov",
"json-summary"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"(.*)\\.(js|jsx)$": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}