mcpField
M
Mcp Server

Mcp Server

Local
tianji.devData & Analytics3.1kUpdated today

About Mcp Server

Tianji MCP Server is an MCP server that connects AI assistants to the Tianji platform. It exposes survey data from a Tianji workspace. It is aimed at users who want assistants to access their Tianji survey results.

Key features

  1. 01Query survey results
  2. 02Get detailed survey information
  3. 03List all surveys in a workspace

Use cases

  1. 01Reviewing survey results from an AI assistant
  2. 02Listing workspace surveys through an assistant

MCP support

This project is an MCP server that exposes Tianji platform survey functions to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"msgbyte": {
"command": "npx",
"args": [
"-y",
"tianji-mcp-server"
],
"env": {
"TIANJI_BASE_URL": "<TIANJI_BASE_URL>",
"TIANJI_API_KEY": "<TIANJI_API_KEY>",
"TIANJI_WORKSPACE_ID": "<TIANJI_WORKSPACE_ID>"
}
}
}
}
Run commandnpx -y tianji-mcp-server
Environment variables to set
TIANJI_BASE_URL
TIANJI_API_KEYSecret
TIANJI_WORKSPACE_ID

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmtianji-mcp-server

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Tianji MCP Server

A server based on Model Context Protocol (MCP) that provides tools for interacting with the Tianji platform.

Introduction

Tianji MCP Server is a bridge connecting AI assistants with the Tianji platform, exposing survey functionality from the Tianji platform to AI assistants through the MCP protocol. This server provides the following core features:

  • Query survey results
  • Get detailed survey information
  • Get list of all surveys in workspace

Install

{
  "mcpServers": {
    "tianji": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tianji-mcp-server"
      ],
      "env": {
        "TIANJI_BASE_URL": "https://tianji.example.com",
        "TIANJI_API_KEY": "<your-api-key>",
        "TIANJI_WORKSPACE_ID": "<your-workspace-id>"
      }
    }
  }
}

Environment Variables

Before using, you need to set the following environment variables:

# Tianji Platform API Base URL
TIANJI_BASE_URL=https://tianji.example.com

# Tianji Platform API Key
TIANJI_API_KEY=your_api_key_here

# Tianji Platform Workspace ID
TIANJI_WORKSPACE_ID=your_workspace_id_here

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.