MCP Server Management

The Model Context Protocol (MCP) establishes a communication channel between large language models and external tools. Through the MCP protocol, developers can avoid writing complex interfaces for each external tool.

SuperMap iPortal AI Assistant implements the MCP protocol to standardize geospatial agent tool interfaces, supporting the import and collaborative invocation of external MCP tools. After administrators add and enable external MCP tools, the AI Assistant can invoke these tools when generating responses.

Adding MCP Server

Log in to the AI Assistant as an administrator, click the Workbench icon button to access the workbench, then navigate to "Tool Management" > " MCP Server" and configure the following parameters:

  • Server Name: Enter the name of the MCP server.
  • Connection Type: Select the connection method for the MCP server, supporting SSE mode or STDIO mode.
    • SSE Mode: Server-Sent Events (SSE) is an HTTP-based technology enabling servers to push real-time data to clients unidirectionally. Configure using a URL address, e.g.: https://mcp.amap.com/sse?key=9e3a07****cdf1a21e28
    • STDIO Mode: Standard Input/Output (Stdio) uses local inter-process communication. The client launches the server as a subprocess, exchanging JSON-RPC messages via stdin/stdout with line breaks as delimiters. This network-independent mode is ideal for MCP tools in intranet environments.
      • Command: Supports npx, uv commands
      • Parameters: Supports multiple parameters. Press Enter after each parameter to add another
      • Environment Variables: Supports configuring multiple variables, e.g.: "BAIDU_MAP_API_KEY":"Qc6AAmAwb****AZUQHEjQEoqjUc"

After adding an MCP server, administrators can start or stop it. Once enabled, the AI Assistant can invoke the corresponding tools during responses.

Managing MCP Server

Viewing MCP Server

The MCP server Management page displays all servers as cards, showing details like server names and connection methods.

Searching for MCP Server

Search for MCP servers by entering server names in the search box on the management page.

Editing MCP Server

Click the "Edit" button in the dropdown menu of a server card to modify its configuration parameters.

Deleting MCP Server

Delete MCP servers as needed from the management page.