Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mcp-assistant.in/llms.txt

Use this file to discover all available pages before exploring further.

New features

Client credentials

MCPClient and SSEConnectionManager now support client credentials when connecting to an MCP server. Pass credential headers through ConnectParams.headers to attach values such as Authorization to Streamable HTTP requests. When an Authorization credential is provided, the client skips the OAuth provider path and forwards the supplied headers through the transport request options. This makes it easier to connect to servers that use API keys, bearer tokens, or another pre-issued credential instead of an interactive OAuth flow.

Updates

Credential persistence during auth resume

Credential headers are now stored with the session configuration and restored during auth resume. If a connection moves through an auth or reconnect path, the same credentials remain available when the client is recreated.

Header normalization

The SSE connection manager trims header names and values and ignores empty entries before building the client. This keeps malformed optional header values from leaking into connection setup.

Tests

  • Added coverage for client credential headers in MCPClient.
  • Added resume-auth coverage to confirm credentials survive session reloads.