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: README.md
+22-12Lines changed: 22 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,11 @@ Connections between clients and servers are established through transports like
76
76
MCP servers follow a decorator approach to register handlers for MCP primitives like resources, prompts, and tools. The goal is to provide a simple interface for exposing capabilities to LLM clients.
77
77
78
78
```python
79
+
# /// script
80
+
# dependencies = [
81
+
# "mcp"
82
+
# ]
83
+
# ///
79
84
from mcp.server import Server, NotificationOptions
80
85
from mcp.server.models import InitializationOptions
0 commit comments