LabStore
← All labs

Amazon ElastiCache for Memcached

by docker ✓ verified ✓ Packaged by Docker

High-speed caching with Memcached.

MCP server installable needs setup network: on runtime: sysbox

Databases MCP Servers

Amazon ElastiCache for Memcached MCP Server

High-speed caching with Memcached.

What is an MCP Server?

MCP Info

Attribute Details
Docker Image mcp/memcached-mcp-server
Author awslabs
Repository https://github.com/awslabs/mcp

Image Building Info

Attribute Details
Dockerfile https://github.com/awslabs/mcp/blob/636aca8e109b5559006044f035bb89c16e9e5410/src/memcached-mcp-server/Dockerfile
Commit 636aca8e109b5559006044f035bb89c16e9e5410
Docker Image built by Docker Inc.
Docker Scout Health Score Docker Scout Health Score
Verify Signature COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/memcached-mcp-server --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
Licence Apache License 2.0

Available Tools (22)

Tools provided by this Server Short Description
cache_add Add a value to the cache only if the key doesn't exist.
cache_append Append a string to an existing value.
cache_cas Set a value using CAS (Check And Set).
cache_decr Decrement a counter in the cache.
cache_delete Delete a value from the cache.
cache_delete_many Delete multiple values from the cache.
cache_delete_multi Delete multiple values from the cache (alias for delete_many).
cache_flush_all Flush all cache entries.
cache_get Get a value from the cache.
cache_get_many Get multiple values from the cache.
cache_get_multi Get multiple values from the cache (alias for get_many).
cache_gets Get a value and its CAS token from the cache.
cache_incr Increment a counter in the cache.
cache_prepend Prepend a string to an existing value.
cache_quit Close the connection to the cache server.
cache_replace Replace a value in the cache only if the key exists.
cache_set Set a value in the cache.
cache_set_many Set multiple values in the cache.
cache_set_multi Set multiple values in the cache (alias for set_many).
cache_stats Get cache statistics.
cache_touch Update the expiration time for a key.
cache_version Get the version of the cache server.

Tools Details

Tool: cache_add

Add a value to the cache only if the key doesn't exist.

Parameters Type Description
key string The key to add
value string The value to store
expire string optional Optional expiration time in seconds

Tool: cache_append

Append a string to an existing value.

Parameters Type Description
key string The key to append to
value string String to append

Tool: cache_cas

Set a value using CAS (Check And Set).

Parameters Type Description
cas integer CAS token from gets()
key string The key to set
value string The value to store
expire string optional Optional expiration time in seconds

Tool: cache_decr

Decrement a counter in the cache.

Parameters Type Description
key string The key to decrement
value integer optional Amount to decrement by (default 1)

Tool: cache_delete

Delete a value from the cache.

Parameters Type Description
key string The key to delete

Tool: cache_delete_many

Delete multiple values from the cache.

Parameters Type Description
keys array List of keys to delete

Tool: cache_delete_multi

Delete multiple values from the cache (alias for delete_many).

Parameters Type Description
keys array List of keys to delete

Tool: cache_flush_all

Flush all cache entries.

Parameters Type Description
delay integer optional Optional delay in seconds before flushing

Tool: cache_get

Get a value from the cache.

Parameters Type Description
key string The key to retrieve

Tool: cache_get_many

Get multiple values from the cache.

Parameters Type Description
keys array List of keys to retrieve

Tool: cache_get_multi

Get multiple values from the cache (alias for get_many).

Parameters Type Description
keys array List of keys to retrieve

Tool: cache_gets

Get a value and its CAS token from the cache.

Parameters Type Description
key string The key to retrieve

Tool: cache_incr

Increment a counter in the cache.

Parameters Type Description
key string The key to increment
value integer optional Amount to increment by (default 1)

Tool: cache_prepend

Prepend a string to an existing value.

Parameters Type Description
key string The key to prepend to
value string String to prepend

Tool: cache_quit

Close the connection to the cache server.

Returns: Success message or error message

Tool: cache_replace

Replace a value in the cache only if the key exists.

Parameters Type Description
key string The key to replace
value string The new value
expire string optional Optional expiration time in seconds

Tool: cache_set

Set a value in the cache.

Parameters Type Description
key string The key to set
value string The value to store
expire string optional Optional expiration time in seconds

Tool: cache_set_many

Set multiple values in the cache.

Parameters Type Description
mapping object Dictionary of key-value pairs
expire string optional Optional expiration time in seconds

Tool: cache_set_multi

Set multiple values in the cache (alias for set_many).

Parameters Type Description
mapping object Dictionary of key-value pairs
expire string optional Optional expiration time in seconds

Tool: cache_stats

Get cache statistics.

Parameters Type Description
args string optional Args:

Tool: cache_touch

Update the expiration time for a key.

Parameters Type Description
expire integer New expiration time in seconds
key string The key to update

Tool: cache_version

Get the version of the cache server.

Returns: Version string or error message

Use this MCP Server

{
  "mcpServers": {
    "awslabs-memcached": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MEMCACHED_HOST",
        "-e",
        "MEMCACHED_PORT",
        "mcp/memcached-mcp-server"
      ],
      "env": {
        "MEMCACHED_HOST": "your-memcached-endpoint.cache.amazonaws.com",
        "MEMCACHED_PORT": "11211"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?