Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions core/mcp/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,21 @@
"approvalMode": "writes"
}
},
{
"id": "aimlapi",
"displayName": "AI/ML API",
"category": "api",
"description": "Find and compare AI models, run chat, embeddings, image, video and audio generation, and call Agent Tools such as web search and page extraction.",
"docsUrl": "https://docs.aimlapi.com/quickstart/mcp",
"requires": "AI/ML API account",
"server": {
"type": "streamableHttp",
"auth": "oauth",
"url": "https://mcp.aimlapi.com/mcp",
"toolTimeoutSeconds": 60,
"approvalMode": "writes"
}
},
{
"id": "figma",
"displayName": "Figma",
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/MCP.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The distribution contains a validated catalog based on the MCP templates in
HKUDS Nanobot at the source revision recorded in `core/mcp/presets.json`. The
catalog currently includes Browserbase, Playwright, Context7, Firecrawl,
Parallel Search, Exa, Microsoft Learn, AWS Documentation, Brave Search,
Postman, Figma, Xmind, Notion, Linear, GitHub, and Supabase.
Postman, AI/ML API, Figma, Xmind, Notion, Linear, GitHub, and Supabase.

"Bundled" means the configuration templates are available locally. DeepCode
does not silently execute `npx`, `uvx`, or Docker, download a package, contact
Expand Down
2 changes: 1 addition & 1 deletion tests/app_server/test_runtime_probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def track_runtime_import(name: str, package: str | None = None):
assert result["paperFallback"] == "pypdf"
assert result["skillCreator"] is True
assert result["helperScripts"] is True
assert len(result["bundledMcpPresets"]) == 16
assert len(result["bundledMcpPresets"]) == 17
assert "playwright" in result["bundledMcpPresets"]
assert result["bundledSkills"] == [
"frontend-design",
Expand Down
2 changes: 1 addition & 1 deletion tests/app_server/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ def test_mcp_presets_and_real_probe_round_trip_through_app_server(
for message in messages
if "id" in message and "result" in message
}
assert len(responses[2]["presets"]) == 16
assert len(responses[2]["presets"]) == 17
assert responses[2]["sourceRevision"]
context7 = next(
server for server in responses[3]["servers"] if server["name"] == "context7"
Expand Down
2 changes: 1 addition & 1 deletion tests/application/test_management_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def test_mcp_presets_add_disabled_and_real_probe_reports_capabilities(
)
try:
presets = application.mcp.list_presets(project.id)
assert len(presets.presets) == 16
assert len(presets.presets) == 17
notion = next(item for item in presets.presets if item.id == "notion")
assert notion.auth == "oauth"
assert notion.configured is False
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mcp_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_mcp_cli_adds_enables_and_really_probes_mcp_servers(

assert run(["presets", "--json"]) == 0
presets = _json_output(capsys)
assert len(presets["presets"]) == 16
assert len(presets["presets"]) == 17
assert any(preset["id"] == "context7" for preset in presets["presets"])

assert run(["add", "context7", "--json"]) == 0
Expand Down