Simple MCP Server starter with StdioServerTransport

by akoskm

187 downloads
Not rated
GitHub

Description

# Simple MCP Server starter with StdioServerTransport This is a simple MCP server starter kit using the StdioServerTransport. ## Setup Create a new MCP server with StdioServerTransport PNPM ``` pnpm dlx github:akoskm/mcp-server-stdio my-mcp-server ``` NPM ``` npm create…

About

# Simple MCP Server starter with StdioServerTransport This is a simple MCP server starter kit using the StdioServerTransport. ## Setup Create a new MCP server with StdioServerTransport PNPM ``` pnpm dlx github:akoskm/mcp-server-stdio my-mcp-server ``` NPM ``` npm create @akoskm/mcp-server-stdio my-mcp-server ``` This…

Details

Author
akoskm
Downloads
187
Categories
Developer Tools

- Uses StdioServerTransport for MCP communication.
- Provides a ready‑to‑run tool template (two examples included).
- Default runtime is Bun; easily switchable via configuration.
- Automatically integrates with the Cursor editor.
- Simple scaffold for building custom MCP tools.

Create a new MCP server by running pnpm dlx github:akoskm/mcp-server-stdio my-mcp-server (PNPM) or npm create @akoskm/mcp-server-stdio my-mcp-server (NPM). This generates a directory with the repository contents. Edit .cursor/mcp.json if you are not using Bun as the runtime. The server is automatically detected by Cursor; restart Cursor if needed.

Simple MCP Server starter with StdioServerTransport

This is a simple MCP server starter kit using the StdioServerTransport.

Setup

Create a new MCP server with StdioServerTransport

PNPM

pnpm dlx github:akoskm/mcp-server-stdio my-mcp-server

NPM

npm create @akoskm/mcp-server-stdio my-mcp-server

This command will create a new directory called my-mcp-server with the contents of this repository.

Edit the .cursor/mcp.json file to change the runtime command if you are not using Bun.

Your MCP server will be picked up by Cursor automatically. If not, restart Cursor.

Commands

which app is running on port (mac only)

After this you can use the which-app-on-port tool to get the command and pid of the process running on a given port.

Example prompt in Cursor:

which app is running on port 9011?

add two numbers

Example prompt in Cursor:
I have two open source projects and my friend has five, home many open source projects we have in total?
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.