SpideyDataAPI Reference
API navigation MCP setup

Connect an MCP client to KieAPI

Connect your assistant to KieAPI with a Team API key, then discover available tools and run them from your client.

Open MCP in the Product Console
On this page

Server and Team API key

Use Streamable HTTP with https://kieapi.com/mcp in a native MCP client that supports custom headers. Browser-origin requests are rejected.

Select the Team whose tools and Credits you want to use. A Team administrator can open Settings → API Keys and choose Generate key. Copy the full key when it appears.

Send Authorization: Bearer <Team API key> on every request. Keep the key in the client’s secret store or environment.

Codex CLI

Set KIEAPI_TEAM_KEY to your key in the environment where you launch Codex. Register the server with this command, then start a new session in that environment.

Terminal
codex mcp add kieapi --url https://kieapi.com/mcp --bearer-token-env-var KIEAPI_TEAM_KEY

VS Code

For the editor-managed MCP client, add this configuration to .vscode/mcp.json. If the file already has servers or inputs, merge the entries. Start the server and enter just the key when prompted.

.vscode/mcp.json
{
  "servers": {
    "kieapi": {
      "type": "http",
      "url": "https://kieapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:kieapi-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "kieapi-key",
      "description": "KieAPI Team API key",
      "password": true
    }
  ]
}

Verify the connection

Look for find_capabilities and call_capability in your client’s tool list. Ask your assistant to use find_capabilities with platform="Reddit" and action="search". The results should include redditPublicSearch. This lookup is free.

When you choose to run a tool, call_capability uses its public API’s permissions, quotas and pricing. If authentication fails, check the Bearer header and confirm the key is active for your Team.

Install a skill

Choose a workflow to install in your agent. Each skill page includes installation instructions and a prompt to try with your connected Team.