Skip to main content
Glama
zenkeellc

enke

Official
by zenkeellc
README.md
# 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

A3.7/5.0

Scored across 12 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo issues