Memcached
Launch a Memcached cache server in seconds with Endor CLI. Get a fully configured Memcached instance running in an isolated Alpine Linux container.
Quick Start
Section titled “Quick Start”Start Memcached with Endor:
endor run memcached
Or using npx without installing:
npx @endorhq/cli@latest run memcached
Connection Details
Section titled “Connection Details”Once running, Memcached will be available on:
- Host:
localhost
- Port:
11211
(default Memcached port) - Protocol: TCP/UDP
- Memory: 64MB default cache size
What’s Included
Section titled “What’s Included”The Memcached service runs on Alpine Linux and includes:
- Memcached Server: Latest stable version
- High performance: Optimized for caching operations
- Memory management: Efficient LRU eviction
- Network protocol: Standard Memcached protocol support
Usage Examples
Section titled “Usage Examples”Connect to Memcached
- 1
Start the Memcached service:
Terminal window endor run memcached - 2
Connect using telnet for testing:
Terminal window telnet localhost 11211 - 3
Or connect from your application using a Memcached client library:
// Node.js exampleconst memcached = new Memcached('localhost:11211');
AI Agent Integration
Section titled “AI Agent Integration”This Memcached instance integrates seamlessly with AI agents through Endor’s MCP interface. Your AI assistant can:
- Store and retrieve cached data
- Monitor cache performance
- Test caching strategies
- Configure cache settings
Learn more about MCP integration.