Simple MCP Server starter with StdioServerTransport
LocalAbout Simple MCP Server starter with StdioServerTransport
This starter kit scaffolds a simple MCP server using StdioServerTransport. It includes example tools for checking which app uses a port on macOS and adding two numbers.
Key features
- 01Scaffold an MCP server project
- 02Use StdioServerTransport
- 03Check the app and process using a port on macOS
- 04Add two numbers
Use cases
- 01Create a basic MCP server project
- 02Try example tools in Cursor
MCP support
It generates an MCP server starter configured with StdioServerTransport and includes example tools for MCP clients.
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.