MCP Remote Auth Demo

gn-server

A remote MCP server that serves gn knowledge objects and logs every access.

What is a gn?

A gn (knowledge object) bundles a title, a short summary, full markdown body, topic tags, media hints, and citations into a single addressable unit at a URI like gn://owner/slug.

MCP Surface

Type Name Description
Resource gn://{owner}/{slug} Full gn as JSON
Tool search_gns(query) Keyword search across the catalog
Tool get_gn(id, format) Shaped content — summary / faq / full / comparison
Tool render_gn(id, medium) Self-contained HTML artifact — page / app / faq
Prompt explore_gn(topic) Starter questions for a topic

Connecting

Connect any MCP client to http://localhost:8787/mcp (local dev) and authorize via OAuth.