A Model Context Protocol server that exposes project coding conventions as MCP resources and tools. Built with Hono, MCP SDK, and Zod, deployed on Cloudflare Workers.
- MCP Resources (
skill://scheme per SEP-2640) — conventions as read-only markdown resources withskill://{name}/SKILL.mdURIs - MCP Tool (
read-convention) — search and read conventions by name, designed for Copilot-style clients that prefer tools over resources - Agent Skills Discovery (RFC v0.2.0) — HTTP well-known endpoint at
/.well-known/agent-skills/ - Streamable HTTP transport via
@hono/mcp - Cloudflare Workers deployment with Wrangler
| Name | Description |
|---|---|
hono-conventions |
Hono routing, type inference, and middleware conventions |
hono-cloudflare-workers |
Hono + Cloudflare Workers platform patterns |
mcp-server |
MCP tool/resource registration, Zod schemas, annotations |
svelte |
Svelte 5 conventions for components and templates |
tests |
Vitest test patterns and best practices |
typescript |
TypeScript type safety, JSDoc, and import conventions |
typescript-schema |
Zod validation schema patterns |
# Install dependencies
pnpm install
# Run the development server
pnpm dev
# Format code
pnpm format
# Lint code
pnpm lint
# Build the project
pnpm build
# Run tests
pnpm testTwo endpoints are available for different client types:
| Endpoint | Transport | Purpose |
|---|---|---|
POST /mcp |
Streamable HTTP | General-purpose MCP — exposes conventions as skill:// resources |
POST /with-tool/mcp |
Streamable HTTP | Copilot-optimized — exposes the read-convention tool only |
Each convention is available as an MCP resource under the skill:// URI scheme (per SEP-2640):
skill://{name}/SKILL.md
A discovery index is available at:
skill://index.json
The read-convention tool lists available conventions or returns full content of a specific convention by name. Supports optional query parameter for filtering.
The server also serves the Agent Skills well-known discovery endpoints over HTTP:
/.well-known/agent-skills/index.json— RFC v0.2.0 discovery index with SHA-256 digests/.well-known/agent-skills/{name}/SKILL.md— raw skill content including frontmatter
This server implements the SEP-2640 Skills Extension draft:
- ✅
skill://resource URI scheme for all conventions - ✅
skill://index.jsondiscovery index resource - ✅
io.modelcontextprotocol/skillscapability declaration in initialize response - ✅ Uses existing
resources/read— no new protocol methods
pnpm build
pnpm deployApache-2.0, see LICENSE for details.