enke
Official# enke MCP Server
**Model Context Protocol server for en.ke — secure link tools for AI agents.**
Exposes en.ke link management as MCP tools. Two transport modes: local stdio (Claude Desktop, Cursor) and remote SSE (HTTP).
## Quick Start
### Local (Claude Desktop)
```json
{
"mcpServers": {
"enke": {
"command": "npx",
"args": ["-y", "enke-mcp-server"]
}
}
}
```
Requires `enke login` first (shared auth with enke CLI).
### Remote (SSE)
```bash
ENKE_API_KEY=xxx npx enke-mcp-server
# SSE endpoint: http://localhost:3100/sse
```
## Tools
| Tool | Description |
|------|-------------|
| `shorten_url` | Create a short link from a URL |
| `list_links` | List all short links |
| `get_link_stats` | Click analytics (daily, referrers, geo, devices) |
| `delete_link` | Revoke a short link |
| `update_link` | Modify slug, password, expiration, webhook |
| `create_landing` | Create a landing page with multiple links |
## Auth
- **Local mode:** Reads `~/.enke/config.json` (created by `enke login`)
- **Remote mode:** `ENKE_API_KEY` env var or `Authorization: Bearer <token>` header
## License
MIT
TDQS
Scored across 12 tools
All tools have clearly distinct purposes, separating link management (shorten_url, list_links, get_link_stats, update_link, delete_link) from document management (upload_document, list_documents, get_document, update_document, delete_document, renew_document) and a landing page tool (create_landing). No two tools overlap in functionality.
All tools follow a consistent verb_noun naming pattern in snake_case (e.g., delete_document, shorten_url, update_link). Even less common verbs like 'renew_document' fit the pattern. No mixing of styles or abbreviations.
With 12 tools covering both link and document sharing domains, the count is well-scoped. Each tool serves a distinct operation without redundancy, making the surface manageable for agents.
The tool set provides basic CRUD for both links and documents, plus stats and expiration management. However, there is no tool to retrieve a single link’s metadata (only stats), and landing pages only have creation without read/update/delete, leaving minor gaps.