• 首页
  • 产品中心
    • 数式Oinone四大产品

      低代码开发平台无代码开发平台集成开发平台AI大模型开发
    • 数式Oinone体系能力

      用户与组织权限管理文件管理消息中心国际化业务审计
    • 数式Oinone核心产品特性

      低无一体面向软件公司场景无限制应用级扩容可分可合
  • 服务中心
    • 客户服务

      预约演示方案咨询私有部署找人定制
    • 开发者

      问答下载
    • Oinone学院

      社区学习

    《精讲面向软件公司的低代码平台——以Oinone为例》

  • 合作伙伴
    渠道申请伙伴名录专家库
  • 关于数式
0571-88757863

MCP


一、What is MCP?

Typically, the technical framework of MCP is built around three key components: Host, Client, and Server. These components work together to form an efficient and scalable ecosystem, providing a solid foundation for dynamic interactions between AI models and external resources. The MCP architecture is illustrated in the figure below:

MCP (Model Context Protocol) serves as the de facto standard for interactions between intelligent agents and external systems. Through MCP, you can encapsulate Oinone's internal capabilities, integrated heterogeneous systems, and third-party platform APIs into standardized MCP services, which can be directly invoked by intelligent agents to accelerate R&D and innovation.

二、Use Cases

  • Integrate and expose heterogeneous capabilities (such as databases and legacy systems) as MCP services
  • Encapsulate third-party platform APIs into MCP services
  • Expose Oinone's native application capabilities as MCP services

三、Functional Modules

Oinone's MCP functionality is primarily accessed via [Integration Designer → MCP Module], which includes the following core modules:

  1. Connector
    Convert existing APIs into MCP Tools
  2. Open API (Open Platform)
    Convert external interfaces into MCP Tools
  3. Tools Management
    Manage and publish MCP Tools (APIs, manually added tools, etc.)
  4. Server (Application Management)
    • Manage MCP applications and configure authentication, activation, and deactivation
    • Serve as the unified entry point for MCP usage

四、Operation Guide

(I) Publish Application Connector as MCP Tool

Operation Path: [Integration Designer → Connector → Select Application API → Publish as MCP Tool]

(II) Publish Database Connector as MCP Tool

Operation Path: [Integration Designer → Connector → Select Database API → Publish as MCP Tool]

Key Notes:

  • Technical Name → MCP Tool Name
  • API Description → MCP Tool Description
  • Parameters → MCP InputSchema (Remarks are mapped to Parameter Descriptions)
  • Parameters such as Query and Body are organized into objects and converted into MCP InputSchema. Among these, the Parameter Remarks are crucial and need to be used as descriptions for the properties of MCP.InputSchema.

(III) Publish Open Interface as MCP Tool

Operation Path: [Integration Designer → Open Platform → Select Open Interface → Publish as MCP Tool]

Example of Parameter Conversion:

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "tools": [
      {
        "name": "get_weather",
        "description": "Get current weather information for a location",
        "inputSchema": {
          "type": "object",
          "properties": {
            "location": {
              "type": "string",
              "description": "City name or zip code"
            }
          },
          "required": ["location"]
        }
      }
    ],
    "nextCursor": "next-page-cursor"
  }
}

(IV) Create a New MCP Tool

Operation Path: [Integration Designer → MCP → Tools → Create New Tool]

(V) Create a New MCP Application (Server)

Operation Path: [Integration Designer → MCP → Applications → Create New Application]

Configuration Items:

  • Application Name (globally unique)
  • URL (globally unique, external access path)
  • Wire Protocols: Streamable HTTP (default)
  • Authentication Method: None / Basic / Bearer / Custom Header
  • Authorized Tool Scope: Supports searching by all MCP Tool names/descriptions

五、Client Configuration Guide

(I) Basic Connection Configuration

Configure in MCP Clients (e.g., Trae, Cursor, etc.):

{
  "mcpServers": {
    "testMcp": {
      "url": "http://sstest.oinone.top/openapi/mcp/test"
    }
  }
}
  • mcpServers: Root object for MCP server configuration, supporting multiple server configurations
  • testMcp: Server identifier (displayed in the editor)
  • url: MCP application address (domain name + MCP application configuration path)

(II) Authentication Configuration

Basic Authentication:

{
  "mcpServers": {
    "testMcp": {
      "url": "http://sstest.oinone.top/openapi/xiaoyantest/one",
      "headers": {
        "Authorization": "Basic dXNlcm5hbWU6dXBhc3N3b3J..."
      }
    }
  }
}

Bearer Token Authentication:

{
  "mcpServers": {
    "myLocalMcp": {
      "url": "http://sstest.oinone.top/openapi/xiaoyantest/one",
      "headers": {
        "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
      }
    }
  }
}

Custom Header Authentication:

{
  "mcpServers": {
    "myLocalMcp": {
      "url": "http://sstest.oinone.top/openapi/xiaoyantest/one",
      "headers": {
        "X-API-Key": "your-api-key-here"
      }
    }
  }
}

六、Usage Example

Assume the query interfaces for the order table, product table, and user table have been published as MCP Tools. After connecting, you can directly use natural language to query in the editor:

"Count the number of orders placed by regular users in July 2025, grouped by payment method."

The system will automatically invoke the corresponding MCP Tools and return the results.

七、Summary

Through MCP, you can quickly encapsulate databases, legacy systems, third-party APIs, and Oinone's native capabilities into tools that can be directly invoked by intelligent agents.

Edit this page
Last Updated:1/14/26, 8:45 AM
Prev
Open Platform
Next
Business Domain
默认页脚
Copyright © 2026 Mr.Hope