Usage
npm i @xsmcp/client-httppnpm add @xsmcp/client-httpyarn add @xsmcp/client-httpbun add @xsmcp/client-httpcreateHttpTransport
import { createClient } from '@xsmcp/client-shared'
import { createHttpTransport } from '@xsmcp/client-http'
const client = createClient({
name: 'example-client',
version: '1.0.0',
transport: createHttpTransport({ url: 'http://localhost:3000/mcp' }),
})createHttpClient
import { createClient } from '@xsmcp/client-shared'
import { createHttpTransport } from '@xsmcp/client-http'
import { createHttpClient } from '@xsmcp/client-http'
const client = createClient({
const client = createHttpClient({
name: 'example-client',
version: '1.0.0',
transport: createHttpTransport({ url: 'http://localhost:3000/mcp' }),
})
}, { url: 'http://localhost:3001' }) 