File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,12 @@ class CalculatorHandler:
9999 return CalculateResponse(result = result)
100100```
101101
102- ### 4. Create a Nexus endpoint
102+ ### 4. Create a Nexus namespace and endpoint
103103
104104** Local dev or self hosted deployment**
105105
106106``` bash
107+ temporal operator namespace create --namespace my-handler-namespace
107108temporal operator nexus endpoint create \
108109 --name mcp-gateway \
109110 --target-namespace my-handler-namespace \
@@ -117,6 +118,8 @@ temporal operator nexus endpoint create \
117118### 3. Set Up the Temporal Worker with the Nexus handlers at ` worker.py `
118119
119120``` python
121+ import asyncio
122+
120123from temporalio.client import Client
121124from temporalio.worker import Worker
122125from .service_handler import mcp_service_handler, CalculatorHandler
You can’t perform that action at this time.
0 commit comments