M
MCP Sentiment Analyzer
作者 @DON-VXNKS
MCP server for Hacker News sentiment analysis. Track developer sentiment on any tech topic.
创建于 6/7/2026
更新于 about 3 hours ago
README
Repository documentation and setup instructions
sentiment-analyzer
MCP server created with MCPize.
Quick Start
npm install
npm run dev # Start with hot reload
Server runs at http://localhost:8080/mcp
Development
npm run dev # Development mode with hot reload
npm run build # Compile TypeScript
npm test # Run tests
npm start # Run compiled server
Project Structure
├── src/
│ ├── index.ts # MCP server entry point
│ └── tools.ts # Pure tool functions (testable)
├── tests/
│ └── tools.test.ts # Tool unit tests
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── mcpize.yaml # MCPize deployment manifest
├── Dockerfile # Container build
└── .env.example # Environment variables template
Tools
- hello — Returns a greeting message
- echo — Echoes back the input with a timestamp
Testing
npm test # Run unit tests
npx @anthropic-ai/mcp-inspector # Interactive MCP testing
Connect to http://localhost:8080/mcp to test tools interactively.
Deployment
mcpize deploy
License
MIT
快速设置
此服务器的安装指南
安装包 (如果需要)
uvx mcp-sentiment-analyzer
Cursor 配置 (mcp.json)
{
"mcpServers": {
"don-vxnks-mcp-sentiment-analyzer": {
"command": "uvx",
"args": [
"mcp-sentiment-analyzer"
]
}
}
}