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.9-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for axmp_openapi_mcp_server-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ebf61b645e1f5d05272a7cf1a0bd58d1cee4480f7bf3a91eb8c2b5010895b1
MD5 200ea9db180ca1d0f7f85a42fb7598d8
BLAKE2b-256 9114b9b64294e70499ef918fe980724d32da0afc16fbb5590b7e3fa5e971a776

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