High-speed caching with Memcached.
10K+
22 Tools
Version 4.43 or later needs to be installed to add the server automatically
Use cases
About
High-speed caching with Memcached.
| Attribute | Details |
|---|---|
| Docker Image | mcp/memcached-mcp-server |
| Author | awslabs |
| Repository | https://github.com/awslabs/mcp |
| 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 | |
| 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 |
| 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. |
cache_addAdd 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 | stringoptional | Optional expiration time in seconds |
cache_appendAppend a string to an existing value.
| Parameters | Type | Description |
|---|---|---|
key | string | The key to append to |
value | string | String to append |
cache_casSet 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 | stringoptional | Optional expiration time in seconds |
cache_decrDecrement a counter in the cache.
| Parameters | Type | Description |
|---|---|---|
key | string | The key to decrement |
value | integeroptional | Amount to decrement by (default 1) |
cache_deleteDelete a value from the cache.
| Parameters | Type | Description |
|---|---|---|
key | string | The key to delete |
cache_delete_manyDelete multiple values from the cache.
| Parameters | Type | Description |
|---|---|---|
keys | array | List of keys to delete |
cache_delete_multiDelete multiple values from the cache (alias for delete_many).
| Parameters | Type | Description |
|---|---|---|
keys | array | List of keys to delete |
cache_flush_allFlush all cache entries.
| Parameters | Type | Description |
|---|---|---|
delay | integeroptional | Optional delay in seconds before flushing |
cache_getGet a value from the cache.
| Parameters | Type | Description |
|---|---|---|
key | string | The key to retrieve |
cache_get_manyGet multiple values from the cache.
| Parameters | Type | Description |
|---|---|---|
keys | array | List of keys to retrieve |
cache_get_multiGet multiple values from the cache (alias for get_many).
| Parameters | Type | Description |
|---|---|---|
keys | array | List of keys to retrieve |
cache_getsGet a value and its CAS token from the cache.
| Parameters | Type | Description |
|---|---|---|
key | string | The key to retrieve |
cache_incrIncrement a counter in the cache.
| Parameters | Type | Description |
|---|---|---|
key | string | The key to increment |
value | integeroptional | Amount to increment by (default 1) |
cache_prependPrepend a string to an existing value.
| Parameters | Type | Description |
|---|---|---|
key | string | The key to prepend to |
value | string | String to prepend |
cache_quitClose the connection to the cache server.
Returns: Success message or error message
cache_replaceReplace 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 | stringoptional | Optional expiration time in seconds |
cache_setSet a value in the cache.
| Parameters | Type | Description |
|---|---|---|
key | string | The key to set |
value | string | The value to store |
expire | stringoptional | Optional expiration time in seconds |
cache_set_manySet multiple values in the cache.
| Parameters | Type | Description |
|---|---|---|
mapping | object | Dictionary of key-value pairs |
expire | stringoptional | Optional expiration time in seconds |
cache_set_multiSet multiple values in the cache (alias for set_many).
| Parameters | Type | Description |
|---|---|---|
mapping | object | Dictionary of key-value pairs |
expire | stringoptional | Optional expiration time in seconds |
cache_statsGet cache statistics.
| Parameters | Type | Description |
|---|---|---|
args | stringoptional | Args: |
cache_touchUpdate the expiration time for a key.
| Parameters | Type | Description |
|---|---|---|
expire | integer | New expiration time in seconds |
key | string | The key to update |
cache_versionGet the version of the cache server.
Returns: Version string or error message
{
"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"
}
}
}
}