🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

nodejsmcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejsmcp

A NodeJS MCP Server

latest
npmnpm
Version
1.0.3
Version published
Weekly downloads
68
100%
Maintainers
1
Weekly downloads
 
Created
Source

MCP Server

This NodeJS MCP server requires NodeJS 22.x or higher

Setup

$ npm install

Usage

To fire up the server

$ npx -y tsx server.ts

To debug or test, you can use the UI inspector:

$ npx @modelcontextprotocol/inspector

Tools

echo

Echoes any message passed to it.

login

Logs into a forgejo server and saves the token. You may use the server at https://forgejo.freshbrewed.science with the user testmcp.

get_user

Gets a user from a forgejo server. You must login first.

search_issues

Searches for issues in a repository. You must login first.

ParameterTypeDescription
ownerstringThe owner of the repository
repostringThe name of the repository
statestringThe state of the issues to search for (e.g., 'open', 'closed')
labelsstringA comma-separated list of labels to search for
milestonesstringA comma-separated list of milestones to search for
qstringA search query
priority_repo_idstringThe ID of the repository to prioritize search results from
typestringThe type of issue to search for (e.g., 'issues', 'pulls')
sincestringA timestamp to search for issues created after
beforestringA timestamp to search for issues created before
assigneesstringA comma-separated list of assignees to search for
assignedbooleanWhether to search for assigned issues
creatorstringThe username of the creator to search for
mentionedstringThe username of a user mentioned in the issue
review_assigneesstringA comma-separated list of review assignees to search for
reviewedstringThe username of a user who has reviewed the issue
teamstringThe name of the team to search for
pagenumberThe page number of the search results
limitnumberThe number of search results to return per page

list_issues

Lists issues for a repository. You must login first.

ParameterTypeDescription
ownerstringThe owner of the repository
repostringThe name of the repository
statestringThe state of the issues to list (e.g., 'open', 'closed')
labelsstringA comma-separated list of labels to filter by
milestonesstringA comma-separated list of milestones to filter by
qstringA search query to filter by
priority_repo_idstringThe ID of the repository to prioritize results from
typestringThe type of issue to list (e.g., 'issues', 'pulls')
sincestringA timestamp to list issues created after
beforestringA timestamp to list issues created before
assigneesstringA comma-separated list of assignees to filter by
assignedbooleanWhether to list assigned issues
creatorstringThe username of the creator to filter by
mentionedstringThe username of a user mentioned in the issue
review_assigneesstringA comma-separated list of review assignees to filter by
reviewedstringThe username of a user who has reviewed the issue
teamstringThe name of the team to filter by
pagenumberThe page number of the results
limitnumberThe number of results to return per page

create_issue

Creates an issue in a repository. You must login first.

ParameterTypeDescription
ownerstringThe owner of the repository
repostringThe name of the repository
titlestringThe title of the issue
assigneestringThe username of the assignee
assigneesarrayAn array of usernames to assign to the issue
bodystringThe body of the issue
closedbooleanWhether the issue is closed
due_datestringThe due date of the issue
labelsarrayAn array of label IDs to assign to the issue
milestonenumberThe ID of the milestone to assign to the issue
refstringThe ref to create the issue from

Keywords

MCP

FAQs

Package last updated on 18 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts