Skip to content

Commit 1bbacf7

Browse files
committed
more comment simplifications
1 parent f02996c commit 1bbacf7

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

examples/servers/everything/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "mcp-server-everything"
33
version = "0.1.0"
4-
description = "Comprehensive MCP server demonstrating all protocol features"
4+
description = "Latest spec MCP server demonstrating all protocol features"
55
readme = "README.md"
66
requires-python = ">=3.10"
77
dependencies = [

examples/servers/everything/src/everything/__main__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
def main():
77
"""Run the everything server."""
88
mcp = create_everything_server()
9-
# Use FastMCP's built-in run method for better CLI integration
10-
mcp.run(transport="sse")
9+
mcp.run(transport="streamable-http")
1110

1211

1312
if __name__ == "__main__":
14-
main()
13+
main()

examples/servers/everything/src/everything/server.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
"""
2-
Everything Server - Comprehensive MCP FastMCP Server
3-
Shows all MCP features including tools, resources, prompts, sampling, and more.
4-
2+
Everything Server
53
This example demonstrates the 2025-06-18 protocol features including:
6-
- Tools with progress reporting, logging, and elicitation
4+
- Tools with progress reporting, logging, elicitation and sampling
75
- Resource handling (static, dynamic, and templated)
8-
- Prompts with arguments
9-
- Completion support for resource templates and prompts
10-
- Request context propagation
11-
- Notifications and logging
12-
- Sampling capabilities
6+
- Prompts with arguments and completions
137
"""
148

159
import json
@@ -252,4 +246,4 @@ class AlternativeDateSchema(BaseModel):
252246
# Available - book directly
253247
return f"✅ Booked table for {party_size} on {date} at {time}"
254248

255-
return mcp
249+
return mcp

0 commit comments

Comments
 (0)