Skip to main content
Glama

Express MCP Handler

by jhgaylor
package.json1.51 kB
{ "name": "express-mcp-handler", "version": "0.3.0", "description": "Express middleware for handling Model Context Protocol (MCP) requests", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=18.0.0" }, "scripts": { "build": "tsc", "prepare": "npm run build", "test": "jest", "test:coverage": "jest --coverage", "lint": "eslint src --ext .ts", "prepublishOnly": "npm run build" }, "keywords": [ "express", "mcp", "model-context-protocol", "middleware" ], "author": "", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/jhgaylor/express-mcp-handler.git" }, "bugs": { "url": "https://github.com/jhgaylor/express-mcp-handler/issues" }, "homepage": "https://github.com/jhgaylor/express-mcp-handler#readme", "peerDependencies": { "@modelcontextprotocol/sdk": ">=1.10.2", "express": ">=4.0.0", "zod": ">=3.0.0" }, "devDependencies": { "@types/express": "^4.17.21", "@types/jest": "^29.5.14", "@types/node": "^20.17.31", "@typescript-eslint/eslint-plugin": "^8.31.1", "@typescript-eslint/parser": "^8.31.1", "@modelcontextprotocol/sdk": "^1.10.2", "eslint": "^8.57.1", "express": "^4.21.2", "jest": "^29.7.0", "ts-jest": "^29.3.2", "typescript": "^5.8.3", "zod": "^3.24.3" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.10.2" }, "type": "module" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jhgaylor/express-mcp-handler'

If you have feedback or need assistance with the MCP directory API, please join our Discord server