Commit d4b62ae
committed
Fix the errors in the Readme
Update the Readme to reflect the correct usage of the `@MCPServer` macro.
* Change the instruction to attach the `@MCPServer` macro to a reference type like class or actor.
* Update the example to show attaching the `@MCPServer` macro to a class.
* Remove the incorrect instruction to "Create a class conforming to `MCPServer`".
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Cocoanetics/SwiftMCP?shareId=XXXX-XXXX-XXXX-XXXX).1 parent eaafbbc commit d4b62ae
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
0 commit comments