Skip to content

Commit a5fba06

Browse files
authored
Merge pull request #48 from keycardai/matte/add-creds-to-readme
docs: add credentials to first README example
2 parents 845b24a + 26d0a07 commit a5fba06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ def my_protected_tool(data: str) -> str:
8282
access = AuthProvider(
8383
zone_id="your_zone_id_here",
8484
mcp_server_name="My Secure MCP Server",
85+
application_credential=ClientSecret((
86+
os.getenv("KEYCARD_CLIENT_ID"),
87+
os.getenv("KEYCARD_CLIENT_SECRET")
88+
))
8589
)
8690

8791
# Create authenticated app

0 commit comments

Comments
 (0)