Skip to content

Commit a0d71d5

Browse files
committed
README fixes
1 parent 5e43c16 commit a0d71d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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
107108
temporal 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+
120123
from temporalio.client import Client
121124
from temporalio.worker import Worker
122125
from .service_handler import mcp_service_handler, CalculatorHandler

0 commit comments

Comments
 (0)