Skip to main content

This is a template mcp server for the axmp-ai-agent-studio

Project description

MCP Inspector CLI for lowlevel server

$ npx @modelcontextprotocol/inspector uv --directory /Users/kks/IdeaProjects/aiops/axmp-openapi-mcp-server run axmp-openapi-mcp-server --transport stdio --endpoint https://api.ags.cloudzcp.net --access-key xxx --spec-path /Users/kks/IdeaProjects/aiops/axmp-openapi-mcp-server/openapi/zmp_mixed_api_spec.json

fastmcp cli command

$ mcp dev src/axmp_openapi_mcp_server/fastmcp/zcp_alert_manager.py
$ mcp run src/axmp_openapi_mcp_server/fastmcp/zcp_alert_manager.py -t sse
$ mcp install src/axmp_openapi_mcp_server/fastmcp/zcp_alert_manager.py --name alert-manager --with zmp-openapi-toolkit,pyyaml

How to run the lowlevel.server

streamable-http

axmp-openapi-mcp-server --port 21000 --transport streamable-http \
--server-name axmp-mixed-openapi-mcp-server \
--profile-base-path /Users/kks/IdeaProjects/ai_agent_studio/axmp-openapi-mcp-server/mcp_profiles \
--profile-id=683734a65b3c20f3b1a4f721

stdio

first install the axmp-openapi-mcp-server

pip install axmp-openapi-mcp-server

local test

axmp-openapi-mcp-server \
--transport stdio \
--profile-base-path /Users/kks/IdeaProjects/ai_agent_studio/axmp-openapi-mcp-server/mcp_profiles \
--profile-id 683734a65b3c20f3b1a4f721 \
--backend-server-auth-configs zcp-alert-backend:X-Access-Key=zmp-09bae73d-9f59-491a-ae06-7747e8f79883,zcp-mcm-backend:X-Access-Key=zmp-09bae73d-9f59-491a-ae06-7747e8f79883

then configure the mcp server into the mcp host like claude desktop or cursor

{
  "mcpServers": {
    "axmp-openapi-mcp-server": {
      "command": "python3",
      "args": [
        "-m",
        "axmp_openapi_mcp_server",
        "--transport",
        "stdio",
        "--profile-base-path",
        "/Users/kks/IdeaProjects/ai_agent_studio/axmp-openapi-mcp-server/mcp_profiles",
        "--profile-id",
        "683734a65b3c20f3b1a4f721",
        "--backend-server-auth-configs",
        "zcp-alert-backend:X-Access-Key=zmp-09bae73d-9f59-491a-ae06-7747e8f79883,zcp-mcm-backend:X-Access-Key=zmp-09bae73d-9f59-491a-ae06-7747e8f79883"
      ]
    }
  }
}

backup the claude desktop mcp conf

{
  "mcpServers": {
    "axmp-openapi-mcp-server": {
      "command": "python3",
      "args": [
        "-m",
        "axmp_openapi_mcp_server",
        "--transport",
        "stdio",
        "--endpoint",
        "https://api.ags.cloudzcp.net",
        "--access-key",
        "xxxx",
        "--spec-path",
        "/Users/kks/IdeaProjects/aiops/axmp-openapi-mcp-server/openapi/zmp_mixed_api_spec.json"
      ]
    },
    "tavily-mcp": {
      "command": "npx",
      "args": ["-y", "tavily-mcp@0.1.4"],
      "env": {
        "TAVILY_API_KEY": "xxxxx"
      }
    },
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/kks/Desktop"
      ]
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axmp_openapi_mcp_server-0.1.10-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file axmp_openapi_mcp_server-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for axmp_openapi_mcp_server-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ab0003d154216e98225005ff85a2d20f13176600de0c1373ebfcde1a5c7d8298
MD5 06c99ec5543ede33f2aa0bff998ea96f
BLAKE2b-256 35b0a180a66b839d39db5b3ac0faca1d7689b41c40a2c2e5ebad5b95b0c40526

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page