Cover image
Alibabacloud-Lindorm-MCP-Server
Private

Alibabacloud-Lindorm-MCP-Server

Try Now
2025-04-14

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

Lindorm MCP Server

This repository is an example of how to create a MCP server for Lindorm, a multi-model NoSQL database.

Usage

Configuration on lindorm

To utilize this MCP server, follow these steps:

  1. Purchase the Lindorm wide-table engine, search-engine, vector-engine, and AI-engine on Alibaba Cloud.
  2. Deploy a text-embedding model by following the official instructions.
  3. Create your index (knowledgebase) and import your data using the deployed embedding model.

Environment Setup

  1. Clone this repository and navigate to the project directory.
  2. Create your environment file:
cp .env.example .env
  1. Edit the .env file with your specific configuration:
  • LINDORM_INSTANCE_ID: Your Lindorm instance ID
  • USING_VPC_NETWORK: Set to true if running on VPC network, otherwise false
  • USERNAME: Your Lindorm account username
  • PASSWORD: Your Lindorm account password
  • TEXT_EMBEDDING_MODEL: The name of your deployed text-embedding model
  • TABLE_DATABASE: The database for SQL operations Note: This configuration assumes all engines share the same username and password.

Running the MCP Server

You should install uv. Directly start the mcp server.

cd /path/to/alibabacloud-lindorm-mcp-server/

uv pip install .

uv run python -m src.lindorm_mcp_server.server

Visual Studio Code

  1. Install the Cline extension.
  2. Create the .env file under /path/to/alibabacloud-lindorm-mcp-server/
  3. Copy the MCP configuration from .vscode/mcp.json to cline_mcp_settings.json, replacing paths and variables as needed.
  4. Start the MCP server through the Cline extension.

Components

  • LindormVectorSearchClient: Performs full-text and vector searches on the search and vector engines.
  • LindormWideTableClient: Executes SQL operations on Lindorm wide tables.

Available Tools

  • lindorm_retrieve_from_index: Retrieve from an existing indexes(or knowledgebase) using both full-text search and vector search, and return the aggregated results
    • Parameters
      • index_name: the index name, or known as knowledgebase name
      • query: the query that you want to search in knowledgebase
      • content_field: the text field that store the content text. You can get it from the index structure by lindorm_get_index_mappings tool
      • vector_field: the vector field that store the vector index. You can get it from the index structure by lindorm_get_index_mappings tool
      • top_k: the result number that you want to return
  • lindorm_get_index_fields: Get the fields info of the indexes(or knowledgebase), especially get the vector stored field and content stored field.
    • Parameters:
      • index_name: the index name, or known as knowledgebase name
  • lindorm_list_all_index: List all the indexes(or knowledgebase) you have.
  • lindorm_execute_sql: Execute SQL query on Lindorm database.
    • Parameters
      • query: The SQL query to execute which start with select
  • lindorm_show_tables: Get all tables in the Lindorm database
  • lindorm_describe_table: Get tables schema in the Lindorm database
    • Parameters
      • table_name: the table name

相关推荐

  • av
  • Führen Sie mühelos LLM -Backends, APIs, Frontends und Dienste mit einem Befehl aus.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • 1Panel-dev
  • 🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.

  • rulego
  • ⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.

  • hkr04
  • Leichtes C ++ MCP (Modellkontextprotokoll) SDK

  • sigoden
  • Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / diskord / telegram / slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Diffy 、 Claude 、 Gemini 、 xai 、 ppio 、 、 ulama 、 lm Studio 、阿里云百炼、火山方舟、 siliconflow 、 qwen 、 mondshot 、 chatglm 、 sillytraven 、 mcp 等 llm 的机器人 / agent | LLM-basierte Instant Messaging Bots-Plattform, unterstützt Zwietracht, Telegramm, Wechat, Lark, Dingtalk, QQ, Slack

  • modelscope
  • Bauen Sie LLM-Multi-Agent-Anwendungen auf einfachere Weise auf.

  • dmayboroda
  • On-Premise-Konversationslappen mit konfigurierbaren Behältern

    Reviews

    3.5 (13)
    Avatar
    user_1gYQdikv
    2025-04-26

    The alibabacloud-lindorm-mcp-server by aliyun is an exceptional product. Its performance and reliability have exceeded my expectations, making it an indispensable tool in our operations. The seamless integration and user-friendly interface have significantly streamlined our processes. Highly recommended for anyone seeking a robust and efficient solution for managing their data.

    Avatar
    user_Ida5aYqn
    2025-04-26

    As a loyal user of alibabacloud-lindorm-mcp-server, I am extremely impressed with its performance and reliability. Developed by aliyun, it offers a seamless experience for managing and processing large datasets. The user interface is intuitive, and the support is top-notch. Highly recommended for any business requiring a robust data solution!

    Avatar
    user_7xSGHYc9
    2025-04-26

    As a loyal user of alibabacloud-lindorm-mcp-server by aliyun, I am highly impressed with its performance and reliability. This server solution perfectly meets our data storage and processing needs, providing robust and scalable options for our business. The seamless integration and user-friendly interface make it an exceptional choice for any enterprise seeking efficient data management. Highly recommended!

    Avatar
    user_Pu6DrANF
    2025-04-26

    As a devoted user of alibabacloud-lindorm-mcp-server, I am truly impressed by its outstanding capabilities. Developed by Alibaba Cloud, this server offers robust and scalable solutions perfect for handling massive workloads efficiently. The seamless integration and reliable performance it provides are unmatched, making it an indispensable tool for any data-driven environment. Highly recommended!

    Avatar
    user_m7iyiCjO
    2025-04-26

    As a dedicated user of alibabacloud-lindorm-mcp-server, I am thoroughly impressed by its performance and scalability. This product, developed by aliyun, handles multidimensional data with ease and offers seamless integration with other Alibaba Cloud services. It's a robust solution that has significantly improved our data management and analytics capabilities. Highly recommended for enterprises looking for a reliable and efficient data service!

    Avatar
    user_1HwqGJHe
    2025-04-26

    I've been using alibabacloud-lindorm-mcp-server by aliyun and I must say it's a game-changer. The performance and scalability it offers are phenomenal, making data management seamless and efficient. The integration capabilities have greatly improved our workflows. Highly recommend it!

    Avatar
    user_hQgueYvq
    2025-04-26

    alibabacloud-lindorm-mcp-server is a fantastic product by Alibaba Cloud. As a dedicated user, I am impressed by its robust performance and seamless integration capabilities. It has significantly improved my data processing workflows, providing unparalleled flexibility and reliability. Highly recommend it to anyone looking for a top-notch server solution.

    Avatar
    user_OqTIx0dc
    2025-04-26

    I've been using alibabacloud-lindorm-mcp-server and am extremely satisfied with its performance. The server is reliable, and its integration with other Alibaba Cloud services makes data management seamless. Kudos to Aliyun for creating such a robust product! Highly recommended for anyone looking for efficient and scalable data solutions.

    Avatar
    user_d3FuG77C
    2025-04-26

    I have been using alibabacloud-lindorm-mcp-server by aliyun for a while now, and it has exceeded my expectations. The performance is outstanding, and it integrates seamlessly with my existing infrastructure. I highly recommend this product to anyone in need of a reliable and scalable solution.

    Avatar
    user_Dspj56Mc
    2025-04-26

    As a dedicated user of the alibabacloud-lindorm-mcp-server, I am highly impressed with its performance and reliability. Developed by Aliyun, this multi-model database server simplifies data management and enhances scalability. Its seamless integration and user-friendly interface make it an excellent choice for handling complex data workloads. Highly recommended for those looking for robust database solutions!

    Avatar
    user_3sf6MTGB
    2025-04-26

    As a loyal user of the alibabacloud-lindorm-mcp-server, I am thoroughly impressed with its performance and reliability. Developed by Alibaba Cloud, this product excels in big data and multi-model database management. It ensures seamless scalability and robust data processing capabilities. Highly recommended for businesses looking to enhance their data infrastructure!

    Avatar
    user_agOMVti4
    2025-04-26

    The alibabacloud-lindorm-mcp-server by aliyun has truly impressed me with its seamless performance and reliability. This server meets all my database management needs with outstanding efficiency and scalability. The user-friendly interface and comprehensive support documentation make it an excellent choice for both beginners and advanced users. Highly recommended for anyone looking for a powerful, dependable MCP application!

    Avatar
    user_4kU6l6if
    2025-04-26

    As a dedicated user of alibabacloud-lindorm-mcp-server by Aliyun, I am consistently impressed by its robust performance and efficiency. This server seamlessly handles large-scale data management and analytics, proving to be a reliable solution for various cloud computing needs. Highly recommended for enterprises seeking a scalable and flexible cloud infrastructure!