How AIClaw 3.15.14 Connects to Authenticated MCP Servers on Mobile AIClaw 3.15.14 adds a mobile marketplace connection form that lets users attach authenticated MCP servers by entering a provider-specific HTTPS endpoint and authentication headers, then probe the connection to list exposed tools before enabling it for chat. The Go kernel validates the address as a complete Streamable HTTP endpoint, refuses to enable connections with an empty tool list, stores endpoint and headers in an encrypted local record, and filters known credential values out of tool descriptions. A local HTTPS fixture regression test confirms credentials are absent from the tool listing and saved conversation and that disabled connections fail to resolve, though real tool execution and provider-specific behavior remain out of scope. A marketplace entry can tell you what a Model Context Protocol MCP server does. The actual connection may need a provider-specific URL and an authentication header. In AIClaw 3.15.14, the mobile marketplace has a connection form for that second step. You can enter the address and headers, test the connection, inspect the tools it exposes, and enable it for chat. Release notes https://github.com/chowyu12/aiclaw/releases/tag/v3.15.14 · Mobile marketplace https://github.com/chowyu12/aiclaw/blob/v3.15.14/apps/mobile/MCPMarket.vue The Go kernel checks that the address is a complete HTTPS endpoint for Streamable HTTP. The form accepts provider headers while the MCP client retains control of transport headers such as Content-Type. The probe starts an MCP client and lists the available tools. Saving also runs the probe, and the kernel refuses to enable a connection whose tool list is empty. The preview confirms that AIClaw can reach the endpoint and discover tools with the supplied settings. Tool execution is a separate operation. Validation and probe https://github.com/chowyu12/aiclaw/blob/v3.15.14/tools/claw-agent/internal/server/mobile mcp connection.go L47-L151 AIClaw stores the endpoint and headers in an encrypted record in the local app database. The conversation configuration keeps the connection ID. The kernel resolves that ID when mounting tools and rejects it if the connection has been disabled or removed. The probe also filters known credential values out of tool descriptions before displaying them. That filter operates on known connection values. The remote service still receives its authentication headers and any inputs it needs when a tool is called. Connection storage and resolution https://github.com/chowyu12/aiclaw/blob/v3.15.14/tools/claw-agent/internal/server/mobile mcp connection.go · Redaction code https://github.com/chowyu12/aiclaw/blob/v3.15.14/tools/claw-agent/internal/mcpclient/redact.go A local HTTPS fixture expects both an authentication header and a value embedded in the endpoint URL. The test saves the connection, checks that the tool appears without the echoed credential, and verifies that the saved conversation contains neither credential. It then disables the connection and checks that resolution fails. The v3.15.14 release workflow passed its Go test step. This test uses a controlled MCP server and covers discovery and storage. It leaves provider-specific behavior and real tool execution outside its scope. Regression test https://github.com/chowyu12/aiclaw/blob/v3.15.14/tools/claw-agent/internal/server/mobile mcp connection test.go · Passing CI job https://github.com/chowyu12/aiclaw/actions/runs/47528535003/job/145700366066