MCPMCP-JSON-RPC-Endpunkt aufrufen

MCP-JSON-RPC-Endpunkt aufrufen

Haupt-MCP-JSON-RPC-Endpunkt.

Unterstützt:

  • Einzelne JSON-RPC-Request-Objekte
  • JSON-RPC-Batch-Request-Arrays
  • Server-Sent Events, wenn Accept: text/event-stream gesendet wird

Authentifizierungsregeln:

  • Keine Authentifizierung erforderlich für initialize, tools/list und ping
  • Authentifizierung erforderlich für tools/call
  • Bearer-Tokens können API-Schlüssel mit dem Präfix nf_ oder OAuth-Access-Tokens mit dem Präfix mcp_at_ sein
curl -X POST "https://api.example.com/mcp-server/" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (API key or OAuth access token)" \
  -d '{
  "jsonrpc": "2.0",
  "id": "req_1",
  "method": "tools/list",
  "params": {}
}'
{
  "jsonrpc": "2.0",
  "id": "req_1",
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Tool completed successfully."
      }
    ],
    "structuredContent": {
      "filingId": "filing_123",
      "status": "completed"
    }
  }
}
POST
/
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (API key or OAuth access token)
Bearer Tokenstring
Required

Bearer-Authentifizierung mit Nomadfiling-API-Schlüsseln mit dem Präfix nf_ oder OAuth-Access-Tokens mit dem Präfix mcp_at_.

Bearer-Authentifizierung mit Nomadfiling-API-Schlüsseln mit dem Präfix nf_ oder OAuth-Access-Tokens mit dem Präfix mcp_at_.
Content-Typestring
Required

The media type of the request body

Options: application/json
No request body parameters defined
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (API key or OAuth access token). Bearer-Authentifizierung mit Nomadfiling-API-Schlüsseln mit dem Präfix nf_ oder OAuth-Access-Tokens mit dem Präfix mcp_at_.

Body

application/json
datastring
Required

Raw application/json data

Responses

jsonrpcstring
Required
Allowed values:2.0
idstring
Required

Request-Kennung, übernommen aus der Anfrage.

resultobject
Required