mcp-apisix

v0.4.0
mcp-apisix Checked 1 day ago Published 4 months ago

MCP Server for Apache APISIX Admin API

B71/100
Maintenance
71
Security
100
Works
70
Community
12

Weights: maintenance 30, security 30, works 25, community 15. Formula 2026.10-1, computed 1 day ago by code; an AI never sets scores.

  • last activity 119 days ago
  • smoke test: needs_credentials

Smoke test

Result
Needs API key
Started with
mcp-apisix
Sandbox
docker+runsc (isolated container, no network while running)
Startup
1882 ms
Error
server closed the connection
Server output
…(
  | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/work/venv/lib/python3.11/site-packages/mcp/server/stdio.py", line 212, in stdio_server
    |     yield read_stream, write_stream
    |   File "/work/venv/lib/python3.11/site-packages/mcp/server/mcpserver/server.py", line 1077, in run_stdio_async
    |     await self._lowlevel_server.run(
    |   File "/work/venv/lib/python3.11/site-packages/mcp/server/lowlevel/server.py", line 722, in run
    |     async with self.lifespan(self) as lifespan_context:
    |   File "/usr/lib/python3.11/contextlib.py", line 204, in __aenter__
    |     return await anext(self.gen)
    |            ^^^^^^^^^^^^^^^^^^^^^
    |   File "/work/venv/lib/python3.11/site-packages/mcp/server/mcpserver/server.py", line 151, in wrap
    |     async with lifespan(app) as context:
    |   File "/usr/lib/python3.11/contextlib.py", line 204, in __aenter__
    |     return await anext(self.gen)
    |            ^^^^^^^^^^^^^^^^^^^^^
    |   File "/work/venv/lib/python3.11/site-packages/mcp_apisix/server.py", line 41, in app_lifespan
    |     client = await get_apisix_client()
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/work/venv/lib/python3.11/site-packages/mcp_apisix/clients/factory.py", line 18, in get_apisix_client
    |     _cached_client = ApisixAdminClient()
    |                      ^^^^^^^^^^^^^^^^^^^
    |   File "/work/venv/lib/python3.11/site-packages/mcp_apisix/clients/admin.py", line 48, in __init__
    |     self._admin_key = resolve_admin_key()
    |                       ^^^^^^^^^^^^^^^^^^^
    |   File "/work/venv/lib/python3.11/site-packages/mcp_apisix/clients/base.py", line 48, in resolve_admin_key
    |     raise RuntimeError(
    | RuntimeError: 环境变量 APISIX_ADMIN_KEY 未设置。该变量映射到 APISIX Admin API 的 X-API-KEY 请求头,必填。
    +------------------------------------

Security scan

Scanned the published PyPI distribution mcp_apisix-0.4.0-py3-none-any.whl, 13 files. Tools: builtin, osv-api.

Capabilities found in the code

  • Reads environment variables
  • Makes network requests

No findings.

Repository health

Repository
zhouweico/mcp-apisix
Last commit
4 months ago
Last release
v0.4.0 (4 months ago)
Commits (90 days)
0
Pull requests
0 open, 0 merged
Issues
0 open, 0 closed
Contributors
1

Check history

  1. 1 day ago Score & page continue
  2. 1 day ago Description continue
  3. 1 day ago Smoke test continue smoke: needs_credentials
  4. 2 days ago Security scan continue
  5. 22 days ago Repo health continue