OptionalargsPackage or module that a stdio server runs. Leave out other arguments, which can contain paths, tokens or secrets.
OptionalcommandProgram name of a stdio server command. Pass the program name, not the full path, which can contain the user name.
Server ID that the tool calls reference with mcp.server_id.
Who runs the MCP client: client when the application runs it, provider when the model provider runs it.
OptionalnameConfigured name of the server.
Original MCP tool name of each function name that the model uses.
Transport of the server.
OptionalurlOrigin of the server URL: scheme, host and port only. Remove userinfo, path, query and fragment before passing it: many MCP providers put the API key there.
An MCP server referenced by the
mcp.server_idof tool calls, sent in themcpServersevaluate option. The SDK sends these values to AI Guard and stores them on the AI Guard span as given, without redaction: remove any credential before passing them.