MCP Server

Tkeron includes a Model Context Protocol (MCP) server that exposes comprehensive documentation to AI agents and development tools.

What is MCP?

The Model Context Protocol is a standard for providing context to AI agents. Tkeron's MCP server allows AI assistants to access up-to-date documentation about how to use Tkeron.

Installation

The MCP server is included when you install Tkeron globally:

bun install -g tkeron

This installs three commands:

Configuration

VS Code

Add to ~/.config/Code/User/mcp.json:

{
  "servers": {
    "tkeron": {
      "command": "tkeron-mcp"
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "tkeron": {
      "command": "tkeron-mcp"
    }
  }
}

Other Clients

Any MCP-compatible client can run tkeron-mcp. It communicates via stdio transport.

Available Resources

URIDescription
tkeron://overviewWhat Tkeron is and does
tkeron://getting-startedInstallation and first project
tkeron://components-htmlHTML components (.com.html)
tkeron://components-typescriptTypeScript components (.com.ts)
tkeron://components-markdownMarkdown components (.com.md)
tkeron://pre-renderingPre-rendering (.pre.ts)
tkeron://cli-referenceCLI documentation
tkeron://best-practicesPatterns and anti-patterns
tkeron://common-issuesTroubleshooting guide
tkeron://testingTesting with getBuildResult()

Available Tools

Example Management

The MCP server only provides documentation and examples. It does NOT modify files. AI agents use terminal commands (tk init, tk build, tk dev) to manage projects.

What AI Agents Can Do

With access to the MCP server, AI agents can:

Benefits

For Users

For AI Agents

Troubleshooting

"Command not found: tkeron-mcp"

bun install -g tkeron
which tkeron-mcp

MCP Client Not Connecting

Next Steps