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 ConsoleOn 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.
codex mcp add kieapi --url https://kieapi.com/mcp --bearer-token-env-var KIEAPI_TEAM_KEYVS 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.
{
"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.
- KieAPI — discover an API operation and make your first call.
- Reddit market research — group customer feedback by theme and trace it to the original discussions.
- Competitor content analysis — compare top pages in one market and find topics backed by source URLs.
- YouTube comment analysis — find recurring questions in a video's comments and use them to plan a follow-up.
- Google Trends keyword research — compare top and rising queries for a seed term in a chosen market and time window.
