Skip to content

Commit b5d09b4

Browse files
committed
update to latest and get instructions going
1 parent 580e319 commit b5d09b4

File tree

49 files changed

+484
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+484
-176
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Ping
2+
3+
👨‍💼 Let's get our MCP server running. The TypeScript SDK for MCP supports `ping`
4+
out of the box, so all we need to do is initialize the server, set up a
5+
transport for it, and then it should respond to `ping` requests.
6+
7+
Start in <InlineFile file="src/index.ts" /> and follow the instructions in the
8+
comments.
9+
10+
Right now if you try to run the server, you'll get an error. Let's fix that!
11+
12+
- 📜 [MCP Spec: Ping](https://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/ping)

exercises/01.ping/01.problem/package.json renamed to exercises/01.ping/01.problem.connect/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "exercises_01.ping_01.problem",
2+
"name": "exercises_01.ping_01.problem.connect",
33
"private": true,
44
"type": "module",
55
"scripts": {
@@ -18,7 +18,7 @@
1818
"@epic-web/mcp-dev": "*",
1919
"tsx": "^4.19.3",
2020
"@epic-web/config": "^1.19.0",
21-
"@kentcdodds/tmp-modelcontextprotocol_inspector": "^0.12.0-alpha.2",
21+
"@kentcdodds/tmp-modelcontextprotocol_inspector": "^0.12.0-alpha.4",
2222
"@types/node": "^22.15.2",
2323
"typescript": "^5.8.3",
2424
"vitest": "^3.1.2"

exercises/01.ping/01.problem/README.mdx

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ping
2+
3+
👨‍💼 Great job! Now we know we've got an MCP server up and running. From here we
4+
can start adding a bunch of different tools, resources, and more to it.

exercises/01.ping/01.solution/package.json renamed to exercises/01.ping/01.solution.connect/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "exercises_01.ping_01.solution",
2+
"name": "exercises_01.ping_01.solution.connect",
33
"private": true,
44
"type": "module",
55
"scripts": {
@@ -18,7 +18,7 @@
1818
"@epic-web/mcp-dev": "*",
1919
"tsx": "^4.19.3",
2020
"@epic-web/config": "^1.19.0",
21-
"@kentcdodds/tmp-modelcontextprotocol_inspector": "^0.12.0-alpha.2",
21+
"@kentcdodds/tmp-modelcontextprotocol_inspector": "^0.12.0-alpha.4",
2222
"@types/node": "^22.15.2",
2323
"typescript": "^5.8.3",
2424
"vitest": "^3.1.2"

0 commit comments

Comments
 (0)