ViteHub is still experimental. Expect bugs and breaking changes.

MCP docs server

Track the planned MCP docs resource boundary for ViteHub documentation.

The MCP docs server is a planned AI resource for ViteHub documentation. It should expose docs pages and metadata through Model Context Protocol resources.

Use llms.txt and raw Markdown routes today. No ViteHub docs MCP server implementation exists in this repository yet.

Status

CapabilityStatusNotes
ViteHub docs MCP serverPlannedNo docs server implementation exists in this repo yet.
MCP Resource Source LoaderAvailable in Source Package@vite-hub/source can consume read-only MCP resources from an external MCP Server.
MCP Capability for AgentsAvailable in Agent Packagemcp() connects Agents to executable MCP tools.
Docs-specific MCP resourcesPlannedUse raw Markdown routes until this exists.

Planned boundary

The docs MCP server should expose read-only documentation resources such as page lists, page Markdown, search results, and package metadata. Executable tools belong to the MCP Capability when an Agent connects to external MCP servers, not to docs page retrieval.

Example client shape

This shape is illustrative until the docs MCP server exists. It shows the boundary ViteHub should keep: docs resources are read-only Sources, while executable MCP tools stay separate.

server/workspaces/docs.ts
import { defineWorkspace, mcpResources } from '@vite-hub/workspace'

export default defineWorkspace({
  sources: {
    vitehubDocs: mcpResources({
      server: {
        transport: {
          type: 'http',
          url: 'https://vitehub.dev/mcp',
        },
      },
    }),
  },
})

Next steps

Copyright © 2026