Mcp Server
@msgbyte
Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives
概要
What is Tianji MCP Server?
Tianji MCP Server is a bridge that connects AI assistants with the Tianji platform via the Model Context Protocol (MCP). It exposes survey functionality from the Tianji platform to AI assistants, allowing them to query survey results, retrieve detailed survey information, and list all surveys in a workspace.
How to use Tianji MCP Server?
Configure the server in your MCP client by adding a JSON entry under mcpServers with the type stdio, the command npx, and the arguments -y and tianji-mcp-server. Three environment variables are required: TIANJI_BASE_URL, TIANJI_API_KEY, and TIANJI_WORKSPACE_ID.
Key features of Tianji MCP Server
- Query survey results from the Tianji platform.
- Get detailed information about a specific survey.
- Retrieve the list of all surveys in a workspace.
Use cases of Tianji MCP Server
- An AI assistant fetches survey responses for analysis.
- A user asks for the details of a particular survey through a chat interface.
- An automated workflow lists all surveys in a workspace for reporting.
FAQ from Tianji MCP Server
What is Tianji MCP Server?
It is an MCP-based server that provides tools for AI assistants to interact with the Tianji platform’s survey features.
How do I install Tianji MCP Server?
Add the provided JSON snippet to your MCP client configuration, using the npx command with the package tianji-mcp-server.
What environment variables are required?
TIANJI_BASE_URL (your Tianji instance URL), TIANJI_API_KEY (your API key), and TIANJI_WORKSPACE_ID (your workspace ID).
What functions does Tianji MCP Server offer?
It allows querying survey results, retrieving detailed survey information, and listing all surveys in a workspace.
Is Tianji MCP Server open source?
Yes, it is released under the MIT license.