johnhenry
MCP Serverjohnhenrypublic

hackernews mcp

一个用于创建新的 MCP 服务器的模板,支持沙盒运行 JavaScript。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
JavaScript
Language
MIT License
License

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

1

Clone the repository

git clone https://github.com/johnhenry/hackernews-mcp
2

Install dependencies

cd hackernews-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerjohnhenry
Repohackernews-mcp
LanguageJavaScript
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation