New Scripts: - demo-http-api.js: Simple demo showing HTTP server is accessible TODAY - test-http-mcp.js: Full MCP protocol test over HTTP/SSE - npm run test:http: Run HTTP/SSE MCP protocol tests Purpose: Demonstrates that while major AI tools don't support HTTP/SSE MCP yet, the deployed server IS accessible and usable right now for: - Custom integrations (web apps, bots, extensions) - Testing the MCP protocol over HTTP - Future-proofing for when tools add support Usage: node demo-http-api.js # Quick demo (works now) npm run test:http # Full MCP protocol test Dev Dependencies Added: - eventsource: For SSE client connections - node-fetch: For HTTP requests Shows Real Value: - Server is deployed and working at hpr-knowledge-base.onrender.com - Can be integrated into custom apps TODAY - Ready for future MCP client adoption - Not just waiting for tool support This addresses the question: "Did I build something nothing supports?" Answer: No! It's accessible now for custom code, and ready for the future. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
765 B
JSON
31 lines
765 B
JSON
{
|
|
"name": "hpr-knowledge-base-mcp",
|
|
"version": "1.0.0",
|
|
"description": "MCP server for Hacker Public Radio knowledge base",
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"bin": {
|
|
"hpr-mcp": "./index.js"
|
|
},
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"start:http": "node server-http.js",
|
|
"test": "node test.js",
|
|
"test:http": "node test-http-mcp.js"
|
|
},
|
|
"keywords": ["mcp", "hacker-public-radio", "hpr", "podcast", "knowledge-base"],
|
|
"author": "",
|
|
"license": "CC-BY-SA",
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.20.2",
|
|
"express": "^4.18.2",
|
|
"cors": "^2.8.5",
|
|
"compression": "^1.7.4",
|
|
"express-rate-limit": "^7.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"eventsource": "^2.0.2",
|
|
"node-fetch": "^3.3.2"
|
|
}
|
|
}
|