---
title: "MCP Server (JSON-RPC 2.0)"
method: POST
path: "/mcp"
---

# MCP Server (JSON-RPC 2.0)

`POST /mcp`

## Request

- Base URL: `https://iwant.fyi/api`
- URL: `https://iwant.fyi/api/mcp`
- Auth: HTTP bearer

Model Context Protocol endpoint. Methods: initialize, tools/list, tools/call. Auth via API key.

## Request body

- object
  - `jsonrpc` '2.0', required
  - `method` 'initialize' | 'tools/list' | 'tools/call', required
  - `params` object
  - `id` union
    - string
    - integer

## Response `200`

JSON-RPC response

---

[API](https://skmtc.dev/iwant/apis/iwant-fyi-agent-api.md) - [All operations](https://skmtc.dev/iwant/apis/iwant-fyi-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/iwant/apis/iwant-fyi-agent-api/revisions/b8bdc7057e7e?raw)
