You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api-reference/server-api/event-handling.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: "Event Handling"
2
+
title: "Event handling"
3
3
description: "Handle events and manage state in your MCP server"
4
4
---
5
5
6
6
MCP servers process various events including requests, notifications, and connection lifecycle events. This guide explains how to implement event handlers effectively in your server.
7
7
8
-
## Request handlers
8
+
## Request handling
9
9
10
10
Request handlers process incoming requests from clients and must return a response. Each handler is associated with a specific method name.
Notification handlers process one-way messages that don't require responses. They're useful for handling events like resource updates or logging messages.
0 commit comments