Skip to main content
GET
MCP server proxy endpoint

Authorizations

Authorization
string
header
required

JWT token obtained through Barndoor's OAuth 2.0 authorization-code flow with PKCE.

The token should be included in the Authorization header: Authorization: Bearer <your-jwt-token>

Use the Barndoor SDK's loginInteractive() function to obtain tokens automatically.

Headers

x-mcp-session-id
string

MCP session identifier for request tracking

Path Parameters

mcp_server_name
string
required

MCP server name identifier

Pattern: ^[a-z0-9-]+$

Body

application/json

MCP JSON-RPC request payload

MCP JSON-RPC 2.0 request

jsonrpc
enum<string>
required

JSON-RPC version

Available options:
2.0
method
string
required

MCP method name

Example:

"tools/list"

params
object

Method parameters

id

Request identifier

Response

MCP response or SSE stream

MCP JSON-RPC 2.0 response

jsonrpc
enum<string>
required
Available options:
2.0
id
required

Request identifier

result
object

Method result

error
object

Error object if method failed