Skip to content

Commit fe57a06

Browse files
committed
fix types
1 parent 5a2a0a3 commit fe57a06

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python/thirdweb-mcp/src/mcp.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
from typing import Literal
23

34
import click
45
from thirdweb_ai import Engine, EngineCloud, Insight, Nebula, Storage
@@ -62,7 +63,7 @@
6263
)
6364
def main(
6465
port: int,
65-
transport: str,
66+
transport: Literal["stdio", "sse"],
6667
secret_key: str,
6768
chain_id: list[int],
6869
engine_url: str,
@@ -113,7 +114,7 @@ def main(
113114
if "engine_cloud" in services:
114115
engine_cloud = EngineCloud(
115116
secret_key=secret_key,
116-
vault_access_token=vault_access_token,
117+
vault_access_token=vault_access_token or "",
117118
)
118119
add_fastmcp_tools(mcp, engine_cloud.get_tools())
119120

0 commit comments

Comments
 (0)