MCP JavaScript Server
by davlgd
MCP Server - JavaScript SDK
This is an unofficial JavaScript SDK for Model Context Protocol.
Usage
Import the package to your project:
Copy
Create files to define the server's prompts, resources, and tools.
Prompts
Copy
Resources
Copy
Tools
Copy
Server
Then create a server instance with the following code:
Copy
Debugging
You can find logs of the server in your user system logs directory:
Copy