mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
MCP auth for the simple case (#557)
* MCP auth token header * Mention limitations * Fix AgentStep schema error by converting argument values to strings. * Added tests for MCP auth and agent step parsing
This commit is contained in:
parent
d9d4c91363
commit
4c3db4dbbe
8 changed files with 1361 additions and 56 deletions
|
|
@ -27,6 +27,12 @@ def show_config(url):
|
|||
table.append(("remote-name", data["remote-name"]))
|
||||
table.append(("url", data["url"]))
|
||||
|
||||
# Display auth status (masked for security)
|
||||
if "auth-token" in data and data["auth-token"]:
|
||||
table.append(("auth", "Yes (configured)"))
|
||||
else:
|
||||
table.append(("auth", "No"))
|
||||
|
||||
print()
|
||||
|
||||
print(tabulate.tabulate(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue