# Models

## The McpServer object

```json
{"openapi":"3.0.0","info":{"title":"BlueNexus MCP Servers API","version":"1.0.0"},"components":{"schemas":{"McpServer":{"type":"object","properties":{"id":{"type":"string","description":"Unique server identifier"},"label":{"type":"string","description":"Display name"},"description":{"type":"string","description":"Server description"},"isActive":{"type":"boolean","description":"Whether the user has connected this service. Only present for authenticated requests."},"url":{"type":"string","description":"Full MCP proxy endpoint URL"}},"required":["id","label","url"]}}}}
```

## The GetMcpServersResponse object

```json
{"openapi":"3.0.0","info":{"title":"BlueNexus MCP Servers API","version":"1.0.0"},"components":{"schemas":{"GetMcpServersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/McpServer"}},"pagination":{"type":"object","properties":{"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"pages":{"type":"integer"},"hasNext":{"type":"boolean"},"hasPrev":{"type":"boolean"}}}}},"McpServer":{"type":"object","properties":{"id":{"type":"string","description":"Unique server identifier"},"label":{"type":"string","description":"Display name"},"description":{"type":"string","description":"Server description"},"isActive":{"type":"boolean","description":"Whether the user has connected this service. Only present for authenticated requests."},"url":{"type":"string","description":"Full MCP proxy endpoint URL"}},"required":["id","label","url"]}}}}
```

## The JsonRpcRequest object

```json
{"openapi":"3.0.0","info":{"title":"BlueNexus MCP Servers API","version":"1.0.0"},"components":{"schemas":{"JsonRpcRequest":{"type":"object","properties":{"jsonrpc":{"type":"string","enum":["2.0"],"description":"JSON-RPC version"},"method":{"type":"string","description":"Method name"},"params":{"type":"object","description":"Method parameters","additionalProperties":true},"id":{"oneOf":[{"type":"string"},{"type":"integer"},{"type":"null"}],"description":"Request identifier"}},"required":["jsonrpc","method","id"]}}}}
```

## The JsonRpcResponse object

```json
{"openapi":"3.0.0","info":{"title":"BlueNexus MCP Servers API","version":"1.0.0"},"components":{"schemas":{"JsonRpcResponse":{"type":"object","properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"result":{"description":"Result (if successful)"},"error":{"type":"object","description":"Error (if failed)","properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{"description":"Additional error data"}}},"id":{"oneOf":[{"type":"string"},{"type":"integer"},{"type":"null"}]}},"required":["jsonrpc","id"]}}}}
```
