Integrations
Integration with other Web Framework.
Hono
import { createFetch } from '@xsmcp/server-http'
import { createServer } from '@xsmcp/server-shared'
import { Hono } from 'hono'
import * as tools from '...'
const server = createServer({ ...options })
for (const tool of tools) {
  server.addTool(tool)
}
const fetch = createFetch(server)
const app = new Hono() 
  .post('/mcp', ({ req }) => fetch(req.raw)) Elysia
import { createFetch } from '@xsmcp/server-http'
import { createServer } from '@xsmcp/server-shared'
import { Elysia } from 'elysia'
import * as tools from '...'
const server = createServer({ ...options })
for (const tool of tools) {
  server.addTool(tool)
}
const fetch = createFetch(server)
const app = new Elysia() 
  .post('/mcp', ({ request }) => fetch(request)) itty-router
import { createFetch } from '@xsmcp/server-http'
import { createServer } from '@xsmcp/server-shared'
import { AutoRouter } from 'itty-router'
import * as tools from '...'
const server = createServer({ ...options })
for (const tool of tools) {
  server.addTool(tool)
}
const fetch = createFetch(server)
const app = AutoRouter() 
  .post('/mcp', req => fetch(req)) 