Fresh JavaScript
A JavaScript execution server based on the MCP protocol, supporting code execution, REPL sessions, and TypeScript transpilation
rating : 2 points
downloads : 16
What is the JavaScript MCP Server?
The JavaScript MCP Server is a tool based on the Model Context Protocol (MCP) that allows AI models to achieve dynamic interaction by running JavaScript or TypeScript code. It supports one-time script execution, persistent REPL session management, npm package import, and named pipe communication.How to use the JavaScript MCP Server?
Simply install and start the server, then you can execute JavaScript code through the command line or API calls. It supports standard mode, interactive REPL mode, and named pipe mode.Applicable Scenarios
Suitable for application scenarios that require dynamic execution of JavaScript code, such as automation tasks, data analysis, and prototype development.Main Features
JavaScript ExecutionSupports running JavaScript code once and quickly obtaining results.
REPL Session ManagementCreate persistent REPL sessions to facilitate state preservation during multiple interactions.
TypeScript SupportAutomatically transpiles TypeScript code into JavaScript and then executes it.
npm Package IntegrationAllows direct import and use of npm packages without manual configuration.
Named Pipe InterfaceEfficiently communicates with external processes through named pipes.
Multi-Mode OperationProvides standard mode, interactive mode, and named pipe mode for selection.
Advantages and Limitations
Advantages
Supports multiple programming languages (JavaScript and TypeScript)
Built-in npm package management function simplifies dependency introduction
Supports persistent REPL sessions to improve development efficiency
Flexible operation modes adapt to different needs
Easy to expand and integrate into existing systems
Limitations
May require additional optimization for high-concurrency scenarios
Some advanced features may require familiarity with the MCP protocol
Initial configuration may require a certain learning cost
How to Use
Clone the Project Repository
Use Git to clone the server code.
Install Dependencies
Install the Node.js modules required by the project.
Build the Project
Compile the project code to prepare for running.
Start the Server
Start the server in standard mode.
Usage Examples
Example 1: Execute a Simple ScriptRun a simple JavaScript code.
Example 2: Create a REPL SessionCreate a persistent REPL session and run multiple commands in it.
Frequently Asked Questions
How to install the JavaScript MCP Server?
Does it support TypeScript?
How to exit the interactive REPL mode?
Related Resources
GitHub Repository
The official GitHub repository, containing the complete code and documentation.
Project Documentation
Detailed project description and usage guide.
Example Code
Contains multiple practical usage examples.
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
116
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
170
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
857
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
590
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
307
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.3K
4.7 points