mcp-alkira

alkiranet/mcp-alkira

3.2

If you are the rightful owner of mcp-alkira and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Alkira MCP Server is an experimental Model Context Protocol server that provides access to the Alkira system through AI agents, utilizing the open-source MCP framework mcp-go.

Tools
5
Resources
0
Prompts
0

Alkira MCP Server

A Model Context Protocol (MCP) server for Alkira.

This server provides access to Alkira system by your choice of your AI agent and LLMs. It's based on the open source MCP framework mcp-go.

HOW TO USE

The MCP server needs a tenant Portal URL and API KEY to operate. Fore each, you could configure one MCP server for it.

The API Key for user could be generated from the portal by following Settings -> User Management. There should be a KEY button on each user.

The detailed configuration for some common tools are listed below:

[!NOTE] In this early stage, all AI agent and tools are changing quickly, please refer to each one's documentation for the up-to-date instruction on how to configure MCP server.

Claude Desktop

{
  "mcpServers": {
    "mcp-alkira-test": {
      "command": "mcp-alkira",
      "args": [
        "--portal",
        "YOUR PORTAL URL",
        "--key",
        "YOUR KEY"
      ],
      "env": {}
    }
  }
}

Claude Code

This is CLI, so the configuration is all done through configuration JSON files. Currently, the CLI is still in its early stage, there are lots of bugs or inconsistent behaviors.

There are multiple ways to integrate MCP server:

  • Using command:
$ claude mcp add mcp-alkira <path_to_mcp-alkira-bin>

which still needs manual tweak of JSON files after the block is added to ~/.claude.json.

  • Directly editing configuration file, you will need to add this block to mcpServers block in ~/.claude.json:
{
	"command": "PATH-TO-YOUR-MCP-REPO/bin/mcp-alkira",
    "args": [
      "--portal",
      "YOUR PORTAL URL",
      "--key",
      "YOUR API KEY"
    ],
	"env": {}
}

E.g. my configuration block on my Mac is like this:

"mcpServers": {
  "mcp-alkira": {
    "command": "/Users/test/mcp/mcp-alkira",
    "args": [
      "--portal",
      "YOUR PORTAL URL",
      "--key",
      "OUR API KEY"
    ],
    "env": {}
},

Once you launch claude, check MCP status to make sure that it's up:

╰─$ claude

│ Manage MCP servers                                         │
│                                                            │
│ ❯ 1. mcp-alkira  ✔ connected · Enter to view details       │
2. mcp-k8s     ✔ connected · Enter to view details       │
╰────────────────────────────────────────────────────────────╯
   Esc to exit

That's it.

BUILD

You will need Golang to build and you could easily build mcp-alkira by:

$ make build

The following targets are also supported:

  • make fmt - Do gofmt
  • make vendor - Shortcut command to do go mod tidy and go mod vendor
  • make superclean - Remove all files not part of the repo (including new files)

AVAILABLE TOOLS

[!NOTE] The easiest way to get a list of possible tools is simply asking AI agent. It should always give you a list of all available tools.

In AI fashion, just ask the agent what's all available tools from mcp-alkira.

Tool Categories

The MCP server provides ~120 tools organized into the following categories:

Tenant & Network
ToolDescription
TenantNetworkSummaryGet tenant network overview
TenantResourceUsagesCurrent resource usage
TenantResourceLimitsResource limits
Billing & CXPs
ToolDescription
BillingTagGetAllList all billing tags
BillingTagGetByIdGet billing tag by ID
BillingTagGetByNameGet billing tag by name
BillingTagGetTotalGet total billing tag count
CxpGetAllList all CXPs
Segments & Groups
ToolDescription
SegmentGetAllList all segments
SegmentGetByIdGet segment by ID
SegmentGetByNameGet segment by name
GroupGetByIdGet group by ID
GroupGetByNameGet group by name
GroupGetTotalGet total group count
SegmentResourceGetAll/ById/ByName/TotalSegment resource operations
SegmentResourceShareGetAll/ById/ByName/TotalResource share operations
Connectors

Each connector type supports: GetAll, GetById, GetByName, GetTotal

CategoryConnector Types
CloudAWS VPC, Azure VNet, GCP VPC, OCI VCN
WANAWS Direct Connect, Azure ExpressRoute, GCP Interconnect
SD-WANCisco, Fortinet, Aruba Edge, Versa, VMware (VeloCloud)
BranchIPSec, IPSec Advanced, Remote Access
TransitAWS TGW
OtherInternet
Services

Each service type supports: GetAll, GetById, GetByName, GetTotal

ServiceDescription
PANPalo Alto Networks firewall
FortinetFortiGate firewall
Check PointCheck Point firewall
Cisco FTDvCisco Firepower Threat Defense
ZscalerZscaler Internet Access
F5 LBF5 Load Balancer
InfobloxDNS/DHCP/IPAM
Routes
ToolDescription
GetRoutesQuery routes with filters
GetRouteCountCount routes matching criteria
GetRouteSummaryRoute summary by segment
GetAllRoutesGet all routes (use with caution)
Policies

NAT Policies:

  • PolicyNatGetAll/ById/ByName/Total - NAT policy operations
  • PolicyNatRuleGetAll/ById/ByName/Total - NAT rule operations

Route Policies:

  • PolicyRouteGetAll/ById/ByName/Total - Route policy operations

Traffic Policies:

  • PolicyTrafficGetAll/ById/ByName - Traffic policy operations
  • PolicyTrafficRuleGetAll/ById/ByName - Traffic rule operations
  • PolicyTrafficRuleListGetAll/ById/ByName - Traffic rule list operations
Lists
List TypeTools
AS PathListAsPathGetAll/ById/ByName/Total
BGP CommunityListCommunityGetAll/ById/ByName/Total
Extended CommunityListExtendedCommunityGetAll/ById/ByName/Total
DNS ServerListDnsServerGetAll/ById/ByName/Total
Global CIDRListGlobalCidrGetAll/ById/ByName/Total
UDRListUdrGetAll/ById/ByName/Total
PrefixListPrefixGetById/ByName/ByPrefix
Policy FQDNListPolicyFqdnGetAll/ById/ByName/Total
Internet Applications
ToolDescription
InternetApplicationGetAllList all internet applications
InternetApplicationGetByIdGet by ID
InternetApplicationGetByNameGet by name
InternetApplicationGetTotalGet total count
Health & Monitoring
ToolDescription
HealthConnectorGetByIdGet connector health status
HealthConnectorInstanceGetByIdGet connector instance health
HealthServiceGetByIdGet service health status
HealthServiceInstanceGetByIdGet service instance health
AlertsGet alerts
AuditLogsGet audit logs
JobsGet jobs

COMMAND LINE OPTIONS

OptionDefaultDescription
--portal(required)Alkira Portal URL
--key(required)API key
--modestdioServer mode: stdio or sse
--port8081Port for SSE mode
--maxToken0Max token payload size

PROMPTS

PromptDescription
summaryGenerate a quick tenant summary