MCP Servers

Get list of available MCP servers

get

Get MCP Servers

Retrieve MCP servers. This endpoint supports both authenticated and unauthenticated access:

  • Authenticated: Returns MCP servers with isActive status indicating whether each server is active for the authenticated user

  • Unauthenticated: Returns a public list of MCP servers without the isActive field

Inactive servers are also listed in the authenticated response but trying to use them will fail. You can encourage users to activate the servers in their BlueNexus account.

Usage Examples

Public access (no authentication)

GET /v1/mcps - Returns basic server list

GET /v1/mcps?page=2&limit=10 - Second page, 10 items per page

Authenticated access

GET /v1/mcps with Authorization: Bearer <token> header - Returns servers with isActive status

Required scope (when authenticated): mcp-proxy

Authorizations
AuthorizationstringRequired

Enter JWT access token

Query parameters
pagenumber · min: 1Optional

Page number (1-based)

Default: 1Example: 1
limitnumber · min: 1 · max: 100Optional

Number of MCP servers to return (1-100)

Default: 20Example: 20
Responses
200

Paginated list of MCP servers. Includes isActive status if authenticated.

application/json
get
/api/v1/mcps

Get tools list from an MCP server

get

Automatically sends a tools/list JSON-RPC request to the specified MCP server to retrieve available tools.

Authorizations
AuthorizationstringRequired

Enter JWT access token

Path parameters
mcpServerSlugstringRequired

MCP Server Slug

Example: context7
Responses
200

List of available tools from the MCP server

application/json
get
/api/v1/mcps/{mcpServerSlug}/tools

Call a specific tool on an MCP server

post

Executes a specific tool with provided arguments on the specified MCP server.

Authorizations
AuthorizationstringRequired

Enter JWT access token

Path parameters
mcpServerSlugstringRequired

MCP Server Slug

Example: context7
Body

Request body to call a specific tool on an MCP server

namestringRequired

Name of the tool to call

Example: resolve-library-id
Responses
200

Result of the tool call

application/json
post
/api/v1/mcps/{mcpServerSlug}/tools/call

Open SSE stream for MCP server notifications

get

Open a Server-Sent Events (SSE) stream to receive JSON-RPC notifications and requests from the MCP server.

Required scope: mcp-proxy

Authorizations
AuthorizationstringRequired

Enter JWT access token

Path parameters
mcpServerSlugstringRequired

MCP Server Slug

Example: context7
Header parameters
Mcp-Session-IdstringOptional

Optional session identifier for MCP session management

AcceptstringOptional

Must include text/event-stream to receive SSE stream

Responses
200

SSE stream of JSON-RPC messages

text/event-stream
get
/api/v1/mcps/{mcpServerSlug}

Send JSON-RPC request to MCP server

post

Send a JSON-RPC request to the MCP server and receive either a direct JSON response or an SSE stream.

Required scope: mcp-proxy

Authorizations
AuthorizationstringRequired

Enter JWT access token

Path parameters
mcpServerSlugstringRequired

MCP Server Slug

Example: context7
Header parameters
MCP-Protocol-VersionstringOptional

MCP protocol version

Mcp-Session-IdstringOptional

Optional session identifier for MCP session management

Body

A standard JSON-RPC request object

jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
methodstringRequired

The name of the method to be invoked

Example: tools/list
paramsone ofOptional

Parameters for the method call, can be an object or array

Example: {"limit":10,"offset":0}
or
object[]Optional
idone ofRequired

Unique identifier for the request, can be string, number, or null (discouraged)

Example: req-123
stringOptional
or
numberOptional
or
nullOptional
Responses
200

JSON-RPC response

post
/api/v1/mcps/{mcpServerSlug}

Terminate MCP server session

delete

Explicitly terminates an active MCP server session. Clients should send this request when they no longer need a particular session to allow proper cleanup.

Required scope: mcp-proxy

Authorizations
AuthorizationstringRequired

Enter JWT access token

Path parameters
mcpServerSlugstringRequired

MCP Server Slug

Example: context7
Header parameters
Mcp-Session-IdstringRequired

Session identifier for the MCP session to terminate

Responses
delete
/api/v1/mcps/{mcpServerSlug}

No content

Last updated