Simple MCP Server starter with StdioServerTransport
LocalAbout Simple MCP Server starter with StdioServerTransport
A starter kit for creating an MCP server with StdioServerTransport. It includes example tools and setup instructions for Cursor.
Key features
- 01Scaffold a server with StdioServerTransport
- 02Look up the app and process on a port (macOS)
- 03Add two numbers
- 04Cursor MCP configuration example
Use cases
- 01Start a new stdio-based MCP server
- 02Identify the process using a port on macOS
- 03Try simple tools from Cursor
MCP support
Creates an MCP server using StdioServerTransport. Cursor can discover the server through the included `.cursor/mcp.json` configuration.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMESimple 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?
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.