aiXplain MCP Servers
aiXplain exposes 900+ Marketplace models and tools as hosted MCP servers. Any MCP-capable client — Claude Desktop, Cursor, VS Code, or your own agent — can connect to them with a single PAYG API key. No server setup, no credential juggling per vendor.
This guide walks you through discovering assets, constructing endpoints, wiring them into an MCP client, and testing end-to-end.
Prerequisites
- An aiXplain account with a PAYG API key — create one at Console > Settings > Keys.
- An MCP-capable client (Claude Desktop, Cursor, VS Code with MCP extension, or the aiXplain SDK).
pip install aixplainif you plan to discover assets via the SDK.
Step 1: Find the asset you want to expose
Every Marketplace model or tool has a unique asset path (e.g. openai/gpt-4o-mini/openai) or asset ID (e.g. 6646261c6eb563165658bbb1). You need one of these to build the MCP endpoint URL.
Option A — Browse Studio
- Go to aiXplain Studio → Browse.
- Search for your model or tool.
- Open the asset card and copy the asset path or asset ID.
Option B — Search with the SDK
from aixplain import Aixplain
aix = Aixplain(api_key="YOUR_API_KEY")
# Search for a model
models = aix.Model.search(query="gpt-4o-mini", page_size=10)
for model in models.results:
print(model.id, getattr(model, "path", None), model.name)
# Search for a tool
tools = aix.Tool.search(q="tavily", page_size=5)
for tool in tools.results:
print(tool.id, getattr(tool, "path", None), tool.name)
Show output
Note down either the id or the path — you will use it in the next step.