Skip to content

Commit b72b4e7

Browse files
author
Akos Komuves
committed
usage
1 parent 7845eb7 commit b72b4e7

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.cursor/mcp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"mcpServers": {
33
"docker": {
4-
"command": "node",
5-
"args": ["/Users/akoskm/Projects/egghead/mcp-server-stdio/dist/index.js"]
4+
"command": "bun",
5+
"args": ["./src/index.ts"]
66
}
77
}
88
}

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Simple MCP Server starter with StdioServerTransport
2+
3+
This is a simple MCP server starter using the StdioServerTransport.
4+
5+
## Installation
6+
7+
Edit the `.cursor/mcp.json` file to change the runtime command if you are not using Bun.
8+
9+
Your MCP server will be picked up by Cursor automatically. If not, restart Cursor.
10+
11+
## Commands
12+
13+
### which app is running on port (mac only)
14+
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.
15+
16+
Example prompt in Cursor:
17+
18+
```
19+
which app is running on port 9011?
20+
```
21+
22+
### add two numbers
23+
Example prompt in Cursor:
24+
```
25+
I have two open source projects and my friend has five, home many open source projects we have in total?
26+
```

0 commit comments

Comments
 (0)