Back to Agentic

Origin Servers

docs/publishing/origin/index.mdx

8.4.41.9 KB
Original Source

Remote origin servers

Agentic currently only supports remote origin servers. If you're interested in hosting your origin server with Agentic's infrastructure, please reach out to us and we'll be happy to help you get set up.

<Tip> Remote origin servers are important because they allow for maximum flexibility with how you author and host your MCP server or OpenAPI service.

By cleanly separating between Agentic's MCP gateway and your remote origin server, Agentic supports origin servers written in any language or framework and deployed to any cloud.

</Tip>

Remote Origin MCP Server

Agentic supports remote MCP servers hosted externally on any public network.

Your MCP server must support the Streamable HTTP transport and use a secure https URL.

See Configuring your origin MCP server for more details.

ts
import { defineConfig } from '@agentic/platform'

export default defineConfig({
  name: 'Example remote MCP server',
  origin: {
    type: 'mcp',
    url: 'https://example.com/mcp'
  }
})

Remote Origin OpenAPI Service

Agentic supports remote OpenAPI services hosted externally on any public network.

Your OpenAPI service must use OpenAPI 3.x and use a secure https URL.

See Configuring your origin OpenAPI service for more details.

ts
import { defineConfig } from '@agentic/platform'

export default defineConfig({
  name: 'Example remote OpenAPI service',
  origin: {
    type: 'openapi',
    url: 'https://example.com/openapi',
    spec: 'https://example.com/openapi.json'
  }
})

Deploying your origin server to Agentic

<Note> **Agentic currently only supports remote origin servers**. If you're interested in hosting your origin server with Agentic's infrastructure, please [reach out to us](/contact) and we'll be happy to help you get set up. </Note>