Get the FREE Ultimate OpenClaw Setup Guide →

basic

MCP server from llm-paper-org/basic-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio llm-paper-org-basic-mcp-server node server.js

How to use

This MCP server is a basic model that communicates via the MCP SDK’s STDIO interface rather than over HTTP. The server does not expose a web API; instead, it reads commands and returns results through standard input and output. To test locally, you will first install dependencies, then run the server and interact with it using the provided client script. The README example shows using a client file (client-1.js) to exercise the MCP protocol over STDIO. After starting the server, you can launch the client to send requests and receive responses, enabling end-to-end testing of prompts, tool invocations, and responses within the STDIO channel. The server relies on the MCP protocol implemented by the SDK, so ensure your environment matches the expected MCP version for compatibility. Tools available through this setup include prompt handling, request/response cycles, and coordination with any integrated tools or plugins via STDIO.

Typical workflow:

  • Start the MCP server (as configured in mcp_config).
  • Run the provided client (for example node client-1.js) to send requests.
  • Observe responses and iterate on prompts or tool calls as needed.

How to install

Prerequisites:

  • Node.js and npm installed on your system (Node 14+ is commonly supported).
  • Basic familiarity with running Node scripts from the command line.

Installation steps:

  1. Clone or download the repository with the MCP server code.
  2. Install dependencies: npm install
  3. Start the server (example): node server.js
  4. In another terminal, test with the client (as shown in the README): node client-1.js

Notes:

  • The server uses STDIO for MCP communication, so there is no HTTP server to start.
  • If the server is started under a different entry file, adjust the mcp_config to point to the correct script (e.g., server.js, app.js, etc.).

Additional notes

Tips and caveats:

  • Since this is a STDIO-based MCP server, ensure the client has access to the same STDIO streams as the server process when testing locally.
  • If you encounter encoding or newline issues, verify your environment uses consistent UTF-8 encoding for IO.
  • There are no environment variables specified in this basic setup, but you can add those you need in the mcp_config under the env object (e.g., API keys, feature toggles).
  • When upgrading the MCP SDK version, confirm that protocol versions align between the client and server to avoid negotiation errors.
  • If you modify the server, re-run npm install only if you add new dependencies; otherwise, the existing node_modules should suffice.

Related MCP Servers

Sponsor this space

Reach thousands of developers