Class: MailMCP::CredentialContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/mail_mcp/credential_context.rb

Overview

Immutable credential value object passed as server_context to each per-request MCP server. MCP::ServerContext delegates imap_config / smtp_config to this via method_missing.

Instance Attribute Summary collapse

Instance Attribute Details

#imap_configObject

Returns the value of attribute imap_config

Returns:

  • (Object)

    the current value of imap_config



4
5
6
# File 'lib/mail_mcp/credential_context.rb', line 4

def imap_config
  @imap_config
end

#smtp_configObject

Returns the value of attribute smtp_config

Returns:

  • (Object)

    the current value of smtp_config



4
5
6
# File 'lib/mail_mcp/credential_context.rb', line 4

def smtp_config
  @smtp_config
end