Skip to main content
Glama
unfallenwill

nodejs-repl-mcp

by unfallenwill

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODEJS_REPL_SESSIONS_DIRNoDirectory where per-session workspaces are stored. Defaults to ~/.nodejs-repl/sessions.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_sessionA

Create a named, persistent Node.js REPL session. Each session runs in its own child process with an isolated context: variables, let/const declarations, required modules and top-level await state persist across exec calls until the session is removed.

execA

Evaluate JavaScript in a named REPL session with full node:repl semantics. Syntax-incomplete input is buffered and continues on the next exec (multi-line). Returns the inspected result, captured console output, and any error. State persists between execs.

historyA

Return the evaluation history of a session (inputs, outputs, errors, captured console) — useful for reviewing what state was built up.

list_sessionsA

List all REPL sessions with pid, workspace and liveness.

remove_sessionA

Stop and remove a session (kills its worker process). The session workspace directory is kept, so installed dependencies and written files survive.

install_packagesA

Run npm install in the session workspace so subsequent exec calls can require/import the packages. Installs into that session only.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/unfallenwill/nodejs-repl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server