alexar76/aimarket-mcp

๐Ÿ”’ Security๐ŸŸข Verified Active
0 Views
0 Installs

๐ŸŽ–๏ธ ๐Ÿ ๐Ÿ  โ˜๏ธ - SSRF-hardened web gateway MCP โ€” webfetch, websearch, metisverify; one audited security core for Metis, ARGUS, and the ecosystem. stdio + optional HTTP ยท Python ยท Glama ยท Registry io.github.alexar76/aimarket-mcp.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "alexar76-aimarket-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alexar76-aimarket-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

๐Ÿ“– Read-only mirror. aimarket-mcp is published from the canonical AI-Factory monorepo. Pull requests are not accepted โ€” any commit pushed here is overwritten by scripts/mirror_satellites.sh on the next sync. ๐Ÿž Found a bug or have a request? Please open an issue.

aimarket-mcp โ€” ecosystem MCP gateway

CI aimarket-mcp MCP server MCP gateway stdio + HTTP 14 tests passing Test coverage License: MIT

One MCP gateway. Five hardened tools. Shared by Metis, ARGUS, and the ecosystem.

Transport: stdio (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).

ItemLocation
MCP entrypoint (stdio)mcp_stdio_server.py
MCP gateway (HTTP)aimarket_mcp/server.py
Tool handlers + securityaimarket_mcp/tools.py, aimarket_mcp/security.py
Glama / Docker (stdio)Dockerfile, glama.json
Self-host HTTPDockerfile.http, docker-compose.yml

Compatible hosts: Claude Desktop, Cursor, Glama, and any MCP client that supports stdio or Streamable-HTTP.

Tools

ToolWhat it doesHardening
web_fetchFetch a URL, return main text (readability-lite)SSRF-guarded; output sanitized + <untrusted>-wrapped
web_searchLive DuckDuckGo search โ†’ top snippetsoutput sanitized + <untrusted>
metis_verifyMetis cognition + verification envelopereturns answer + verify_score / verified gate
market_searchDiscover priced capabilities on an AIMarket hubfree; no wallet, key or channel; the hub lists only what it can execute
market_invokeRun one on the hub's free trial tierreturns 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).

Configure (env)

varmeaning
AIMARKET_METIS_URLMetis verify API base (default https://metis.modelmarket.dev)
AIMARKET_METIS_KEYoptional bearer for Metis verify
AIMARKET_SEARCH_URLDuckDuckGo HTML endpoint override
AIMARKET_HUB_URLAIMarket hub for market_search / market_invoke (default https://modelmarket.dev)
AIMARKET_SANDBOX_VISITORTrial identity for market_invoke; random per install, set it to keep an allowance across reinstalls
AIMARKET_MCP_KEYHTTP only โ€” bearer auth key
AIMARKET_MCP_PRODUCTIONHTTP only โ€” 1 requires AIMARKET_MCP_KEY (fail-closed)
AIMARKET_MCP_RATEHTTP only โ€” requests/min per key/IP (default 120)
AIMARKET_MCP_PORTHTTP only โ€” listen port (default 9090)

Run (stdio โ€” Glama / Claude Desktop)

pip install -e .
python mcp_stdio_server.py

Claude Desktop (mcpServers entry):

{
  "mcpServers": {
    "aimarket-mcp": {
      "command": "python",
      "args": ["mcp_stdio_server.py"],
      "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 mcp_stdio_server.py.

FieldValue
DockerfileDockerfile (from repo โ€” not Glama debian/uv template)
Commandpython mcp_stdio_server.py
Placeholder parameters{}
Pinned SHAempty (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.json mcpServers (see that repo).

Test

pip install -e '.[dev]' && pytest -q

Glama

Glama ignores repo Dockerfiles โ€” set Build steps in admin/dockerfile:

["bash scripts/glama_install.sh"]

CMD: [".venv/bin/python", "mcp_stdio_server.py"]. Pin main or tag glama-build (not a fixed SHA). Details: docs/GLAMA.md.

Registries

RegistryListing
Glamaglama.ai/mcp/servers/alexar76/aimarket-mcp
Official MCP Registryio.github.alexar76/aimarket-mcp โ€” server.json + GitHub Actions
PyPIpip install aimarket-mcp
GitHub Releasesgithub.com/alexar76/aimarket-mcp/releases

Related MCP Servers

13bm/GhidraMCP

๐Ÿ โ˜• ๐Ÿ  - MCP server for integrating Ghidra with AI assistants. This plugin enables binary analysis, providing tools for function inspection, decompilation, memory exploration, and import/export analysis via the Model Context Protocol.

๐Ÿ”’ Security1 views
123Ergo/unphurl-mcp

๐Ÿ“‡ โ˜๏ธ - URL intelligence for AI agents. 13 tools for security signals and data quality: redirect behaviour, brand impersonation detection, domain age, SSL validation, parked detection, URL structural analysis, DNS enrichment.

๐Ÿ”’ Security0 views
82ch/MCP-Dandan

๐Ÿ ๐Ÿ“‡ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Real-time security framework for MCP servers that detects and blocks malicious AI agent behavior by analyzing tool call patterns and intent across multiple threat detection engines.

๐Ÿ”’ Security0 views
9hannahnine-jpg/arc-gate-mcp

๐Ÿ - Runtime governance for MCP tool calls. Blocks prompt injection and capability abuse before tool results reach your agent.

๐Ÿ”’ Security0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Active

Recent health check succeeded.

Last checked: 7/28/2026, 10:45:19 AM

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.