mcp-server
by wangle201210
mcp-server provides several micro-services including text2sql, dify retriever, and data transformation functionalities. It allows users to perform natural language to SQL conversion, retrieve information from a Dify knowledge base, and perform data transformations.
Last updated: N/A
What is mcp-server?
mcp-server is a collection of microservices implemented in Go, offering functionalities such as converting natural language to SQL queries, retrieving information from a Dify knowledge base, and performing data transformations. Each microservice is designed to be deployed and used independently.
How to use mcp-server?
Each microservice needs to be installed using go install github.com/wangle201210/mcp-server/cmd/[microservice name]@latest
. Configuration is done via a JSON file, specifying descriptions, icons, auto-approval settings, command to execute, and environment variables required by the microservice.
Key features of mcp-server
Natural language to SQL conversion
Dify knowledge base retrieval
Data transformation capabilities
Configurable microservices
Easy installation via
go install
Environment variable based configuration
Use cases of mcp-server
Generating SQL queries from natural language questions
Retrieving relevant information from a Dify knowledge base
Transforming data from one format to another
Integrating with other applications via standard input/output
Automating data processing tasks
FAQ from mcp-server
How do I install the text2sql service?
How do I install the text2sql service?
Use the command go install github.com/wangle201210/mcp-server/cmd/text2sql@latest
What environment variables are required for dify retriever?
What environment variables are required for dify retriever?
DIFY_DATASET_API_KEY, DIFY_ENDPOINT, DIFY_DATASET_ID, and DIFY_DATASET_NAME are required.
How is the database connection configured for text2sql?
How is the database connection configured for text2sql?
The database connection is configured via the link
environment variable in the configuration JSON.
What does the autoApprove
field in the configuration do?
What does the autoApprove
field in the configuration do?
It specifies which users or groups are automatically approved to use the microservice. all
means all users are approved.
Where can I find more documentation?
Where can I find more documentation?
Refer to the repository's README for the latest information and configuration details.