aimarket-mcp
The aimarket-mcp server is a hardened MCP gateway providing three tools for web access and AI-powered verification:
web_fetch_tool: Fetch the main text content of a public URL, with SSRF protection (blocks private IPs, localhost, and non-HTTP schemes), output sanitization, and content wrapped in<untrusted>tags. Supports configurable max character limits (up to 100,000 chars).web_search_tool: Perform live web searches via DuckDuckGo and retrieve top result snippets. Accepts natural-language queries up to 500 characters. Output is sanitized and wrapped in<untrusted>tags.metis_verify_tool: Submit a question or task to the Metis AI verification API. Returns an answer with machine-readable metadata (verify_score,status,route,verified), allowing agents to fail-closed on low confidence. Supports four cognition depths:fast,thinking,council(default), andagent.
Provides live web search via DuckDuckGo, returning top snippets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aimarket-mcpsearch for recent breakthroughs in AI"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š Read-only mirror.
aimarket-mcpis published from the canonical AI-Factory monorepo. Pull requests are not accepted ā any commit pushed here is overwritten byscripts/mirror_satellites.shon the next sync. š Found a bug or have a request? Please open an issue.
aimarket-mcp ā ecosystem MCP gateway
One MCP gateway. Five hardened tools. Shared by Metis, ARGUS, and the ecosystem.
Transport: stdio (aimarket_mcp/stdio_server.py) for Glama / Claude Desktop / Cursor, built with the
official Model Context Protocol Python SDK (mcp, FastMCP).
Also ships Streamable-HTTP on :9090 for self-hosted deployments (aimarket-mcp-http, Docker Compose).
Item | Location |
MCP entrypoint (stdio) |
|
MCP gateway (HTTP) | |
Tool handlers + security | |
Glama / Docker (stdio) | |
Self-host HTTP |
Compatible hosts: Claude Desktop, Cursor, Glama, and any MCP client that supports stdio or Streamable-HTTP.
Tools
Tool | What it does | Hardening |
| Fetch a URL, return main text (readability-lite) | SSRF-guarded; output sanitized + |
| Live DuckDuckGo search ā top snippets | output sanitized + |
| Metis cognition + verification envelope | returns answer + |
| Discover priced capabilities on an AIMarket hub | free; no wallet, key or channel; the hub lists only what it can execute |
| Run one on the hub's free trial tier | returns the signed receipt nonce; reports the hub's 402 verbatim when the allowance is spent |
Why a gateway (not per-agent tools): generic capabilities are written once; the security core lives in one audited place. Ecosystem-specific capabilities live in their own MCP servers (aimarket-oracle-gateway, aimarket-plugins).
Related MCP server: Ollama Web Search
Configure (env)
var | meaning |
| Metis verify API base (default |
| optional bearer for Metis verify |
| DuckDuckGo HTML endpoint override |
| AIMarket hub for |
| Trial identity for |
| HTTP only ā bearer auth key |
| HTTP only ā |
| HTTP only ā requests/min per key/IP (default 120) |
| HTTP only ā listen port (default 9090) |
Run (stdio ā Glama / Claude Desktop)
pip install -e .
python -m aimarket_mcp.stdio_serverClaude Desktop (mcpServers entry):
{
"mcpServers": {
"aimarket-mcp": {
"command": "python",
"args": ["-m", "aimarket_mcp.stdio_server"],
"cwd": "/path/to/aimarket-mcp"
}
}
}Or via PyPI script: aimarket-mcp
Run (HTTP ā self-host)
pip install -e .
AIMARKET_MCP_KEY=sk-... AIMARKET_MCP_PRODUCTION=1 aimarket-mcp-http # :9090
# or: docker compose up -d (uses Dockerfile.http)Cursor / Claude (Streamable HTTP)
{
"mcpServers": {
"aimarket-web": {
"type": "streamable-http",
"url": "http://127.0.0.1:9090/mcp",
"headers": {
"Authorization": "Bearer YOUR_AIMARKET_MCP_KEY"
}
}
}
}Publish on Glama
Listing: glama.ai/mcp/servers/alexar76/aimarket-mcp
Same pattern as aimarket-oracle-gateway (working on Glama): repo-root glama.json + Dockerfile + python -m aimarket_mcp.stdio_server.
Field | Value |
Dockerfile |
|
Command |
|
Placeholder parameters |
|
Pinned SHA | empty (latest) |
Do not use the auto-generated debian:trixie-slim + uv sync + mcp-proxy -- aimarket-mcp template ā that was the broken HTTP/ENOENT path.
Consumers
Metis ā enable the preset:
enable_mcp_tools: true mcp_ecosystem_presets: [aimarket-web]ARGUS ā add the server to
argus.config.jsonmcpServers(see that repo).
Test
pip install -e '.[dev]' && pytest -qGlama
Glama ignores repo Dockerfiles ā set Build steps in admin/dockerfile:
["bash scripts/glama_install.sh"]CMD: [".venv/bin/python", "-m", "aimarket_mcp.stdio_server"]. Pin main or tag glama-build (not a
fixed SHA). Details: docs/GLAMA.md.
Registries
Registry | Listing |
Glama | |
Official MCP Registry |
|
PyPI |
|
GitHub Releases |
Maintenance
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI assistants to fetch and analyze web content from URLs through MCP protocol. Supports batch processing, content extraction, summarization, and metadata extraction with intelligent filtering of ads and navigation elements.Last updated
- AlicenseAqualityAmaintenanceEnables web search and web fetch operations using Ollama's hosted APIs, allowing MCP clients to search the web and retrieve page content.Last updated2MIT

Scout MCP Serverofficial
Alicense-qualityCmaintenanceEnables web search, scraping, extraction, and crawling through an MCP interface, allowing coding agents to access real-time web data.Last updated1MIT- Alicense-qualityBmaintenanceEnables AI agents to perform grounded web research with injection resistance, claim verification, and cost-aware routing through MCP tools like web_search, fetch_url, extract_claims, and check_grounding.Last updatedMIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Reliable web access for AI agents: smart HTTP, rotating proxies, and full-browser rendering.
Shared, peer-validated knowledge archive for AI agents ā search, contribute, and validate via MCP
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexar76/aimarket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server