awslabs.memcached-mcp-server

v1.1.3
awslabs.memcached-mcp-server Checked 15 hours ago Published 14 days ago

An AWS Labs Model Context Protocol (MCP) server for Amazon ElastiCache Memcached

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

cache_get

Get a value from the cache. Args: key: The key to retrieve Returns: Value or error message

ParameterTypeDescription
key *string

cache_gets

Get a value and its CAS token from the cache. Args: key: The key to retrieve Returns: Value and CAS token or error message

ParameterTypeDescription
key *string

cache_get_many

Get multiple values from the cache. Args: keys: List of keys to retrieve Returns: Dictionary of key-value pairs or error message

ParameterTypeDescription
keys *array

cache_get_multi

Get multiple values from the cache (alias for get_many). Args: keys: List of keys to retrieve Returns: Dictionary of key-value pairs or error message

ParameterTypeDescription
keys *array

cache_set

Set a value in the cache. Args: key: The key to set value: The value to store expire: Optional expiration time in seconds Returns: Success message or error message

ParameterTypeDescription
key *string
value *
expire

cache_cas

Set a value using CAS (Check And Set). Args: key: The key to set value: The value to store cas: CAS token from gets() expire: Optional expiration time in seconds Returns: Success message or error message

ParameterTypeDescription
cas *integer
key *string
value *
expire

cache_set_many

Set multiple values in the cache. Args: mapping: Dictionary of key-value pairs expire: Optional expiration time in seconds Returns: Success message or error message

ParameterTypeDescription
mapping *object
expire

cache_set_multi

Set multiple values in the cache (alias for set_many). Args: mapping: Dictionary of key-value pairs expire: Optional expiration time in seconds Returns: Success message or error message

ParameterTypeDescription
mapping *object
expire

cache_add

Add a value to the cache only if the key doesn't exist. Args: key: The key to add value: The value to store expire: Optional expiration time in seconds Returns: Success message or error message

ParameterTypeDescription
key *string
value *
expire

cache_replace

Replace a value in the cache only if the key exists. Args: key: The key to replace value: The new value expire: Optional expiration time in seconds Returns: Success message or error message

ParameterTypeDescription
key *string
value *
expire

cache_append

Append a string to an existing value. Args: key: The key to append to value: String to append Returns: Success message or error message

ParameterTypeDescription
key *string
value *string

cache_prepend

Prepend a string to an existing value. Args: key: The key to prepend to value: String to prepend Returns: Success message or error message

ParameterTypeDescription
key *string
value *string

cache_delete

Delete a value from the cache. Args: key: The key to delete Returns: Success message or error message

ParameterTypeDescription
key *string

cache_delete_many

Delete multiple values from the cache. Args: keys: List of keys to delete Returns: Success message or error message

ParameterTypeDescription
keys *array

cache_delete_multi

Delete multiple values from the cache (alias for delete_many). Args: keys: List of keys to delete Returns: Success message or error message

ParameterTypeDescription
keys *array

cache_incr

Increment a counter in the cache. Args: key: The key to increment value: Amount to increment by (default 1) Returns: New value or error message

ParameterTypeDescription
key *string
valueinteger

cache_decr

Decrement a counter in the cache. Args: key: The key to decrement value: Amount to decrement by (default 1) Returns: New value or error message

ParameterTypeDescription
key *string
valueinteger

cache_touch

Update the expiration time for a key. Args: key: The key to update expire: New expiration time in seconds Returns: Success message or error message

ParameterTypeDescription
expire *integer
key *string

cache_stats

Get cache statistics. Args: args: Optional list of stats to retrieve Returns: Statistics or error message

ParameterTypeDescription
args

cache_flush_all

Flush all cache entries. Args: delay: Optional delay in seconds before flushing Returns: Success message or error message

ParameterTypeDescription
delayinteger

cache_quit

Close the connection to the cache server. Returns: Success message or error message

cache_version

Get the version of the cache server. Returns: Version string or error message