
hackernews mcp
一个用于创建新的 MCP 服务器的模板,支持沙盒运行 JavaScript。
Repository Info
About This Server
一个用于创建新的 MCP 服务器的模板,支持沙盒运行 JavaScript。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Server Template
A Template for createing a new MCP server.
Simply fill out the appropriate details in package.json.
Export tools, prompts, and resources from tools.mjs, prompts.mjs, and resources.mjs respectively.
Features
- Execute arbitrary JavaScript code in a sandboxed environment.
- Time-limited execution (10 second default) to prevent runaway scripts.
- Debug mode for verbose logging.
Installation
Prerequisites
- node/npx
Installation
Publish the package to npm is beyond the scope of this template, but once published you can install it using:
{
"mcpServers": {
...
"<mcp server name>": {
"command": "npx",
"args": [ "-y", "<npm published package name>" ],
}
}
}
Or you can install it locally for development:
{
"mcpServers": {
...
"<mcp server name>": {
"command": "<path to node>",
"args": [ "<this directory>/index.mjs" ],
}
}
}
Quick Start
Clone the repository
git clone https://github.com/johnhenry/hackernews-mcpInstall dependencies
cd hackernews-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.