Class: MailMCP::CredentialContext
- Inherits:
-
Struct
- Object
- Struct
- MailMCP::CredentialContext
- 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
-
#imap_config ⇒ Object
Returns the value of attribute imap_config.
-
#smtp_config ⇒ Object
Returns the value of attribute smtp_config.
Instance Attribute Details
#imap_config ⇒ Object
Returns the value of attribute imap_config
4 5 6 |
# File 'lib/mail_mcp/credential_context.rb', line 4 def imap_config @imap_config end |
#smtp_config ⇒ Object
Returns the value of attribute smtp_config
4 5 6 |
# File 'lib/mail_mcp/credential_context.rb', line 4 def smtp_config @smtp_config end |