### Install @hono/mcp Source: https://honohub.dev/docs/hono-mcp Commands to install the package using various package managers. ```shell npm install @hono/mcp ``` ```shell pnpm add @hono/mcp ``` ```shell yarn install @hono/mcp ``` ```shell bun add @hono/mcp ``` -------------------------------- ### Create a Hono MCP Server Source: https://honohub.dev/docs/hono-mcp Example of setting up a Hono application to serve an MCP server at the /mcp endpoint using StreamableHTTPTransport. ```typescript import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js' import { StreamableHTTPTransport } from '@hono/mcp' import { Hono } from 'hono' const app = new Hono() // Your MCP server implementation const mcpServer = new McpServer({ name: 'my-mcp-server', version: '1.0.0', }) app.all('/mcp', async (c) => { const transport = new StreamableHTTPTransport() await mcpServer.connect(transport) return transport.handleRequest(c) }) export default app ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.