dendra example — the Next.js app

What the app owns, what the framework provides, and MCP in both directions.

dendra example — the Next.js app What the app owns, what the framework provides, and MCP in both directions. Claude · claude.ai / Desktop · Architecture component Claude claude.ai / Desktop Browser · assistant page · useAssistant · Architecture component Browser assistant page · useAssistant Next.js routes · /rpc · /api · /api/mcp · App server (your code, built on dendra) Next.js routes /rpc · /api · /api/mcp appRouter · notes · users · ai · mcp · App server (your code, built on dendra) appRouter notes · users · ai · mcp SQLite · Drizzle ORM · App server (your code, built on dendra) SQLite Drizzle ORM PubSub · live note events · App server (your code, built on dendra) PubSub live note events runAgent · Anthropic · dendra/anthropic · App server (your code, built on dendra) · framework runAgent Anthropic · dendra/anthropic framework MCP registry · mcp-tools · connect · App server (your code, built on dendra) MCP registry mcp-tools · connect External MCP · demo · HTTP · stdio · Architecture component External MCP demo · HTTP · stdio OAuth 2.1 · mcp-oauth · /mcp/callback · App server (your code, built on dendra) · PKCE OAuth 2.1 mcp-oauth · /mcp/callback PKCE RPC / HTTPS MCP /api/mcp dispatch SQL publish ai.assistant mcp.connect tools/call authorize App server (your code, built on dendra) Legend Frontend Backend Database Cloud Security Message bus External