Token导航 LogoToken导航TokenDH.com
vika MCP logo
运维云端stdio官方级别未说明来源级核验

vika MCP

MCP Server

vika-mcp

通过stdio提供Vika数据表的TypeScript MCP服务,支持记录、字段、视图等操作。

工具数

49

提示词数

0

GitHub Stars

1

资源数

0
API集成TypeScriptJavaScript

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

Mrright024

提供方

Mrright024

最后核验

2026/5/17 20:20

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npx -y vika-mcp

详细介绍

vika-mcp

TypeScript MCP server for Vika datasheets over stdio.

通过 stdio 访问 Vika 数据表的 TypeScript MCP 服务。参见 README.zh-CN.md

Environment

  • VIKA_HOST: required, example https://vika.cn
  • VIKA_TOKEN: required, API token
  • VIKA_TIMEOUT_MS: optional, defaults to 15000
  • VIKA_ALLOW_INSECURE_TLS: optional, defaults to false
  • VIKA_PROXY_URL: optional, use a single proxy for all Vika traffic, example http://127.0.0.1:7890
  • VIKA_LOG_LEVEL: optional, one of debug, info, warn, error

Scripts

  • npm run build
  • npm run check
  • npm test

Usage

Install from npm:

npm install -g vika-mcp

Then point your MCP client to the vika-mcp binary.

You can also run it without a global install:

npx -y vika-mcp

The server only talks to documented REST endpoints under /fusion/v1, /fusion/v2, and /fusion/ai. It does not probe the site root, which avoids SafeLine root-page blocking.

MCPorter Example

MCPorter reads project-local config from config/mcporter.json or a user-level config from ~/.mcporter/mcporter.json.

If you want MCPorter to start the published npm package directly, add an entry like this:

{
  "mcpServers": {
    "vika-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vika-mcp"
      ],
      "env": {
        "VIKA_HOST": "https://vika.cn",
        "VIKA_TOKEN": "${VIKA_TOKEN}",
        "VIKA_PROXY_URL": "http://127.0.0.1:7890",
        "VIKA_TIMEOUT_MS": "15000",
        "VIKA_LOG_LEVEL": "info"
      }
    }
  }
}

Notes:

  • https://vika.cn is the official public-cloud host example.
  • ${VIKA_TOKEN} assumes MCPorter will read the token from your shell environment. You can also inline the token directly, but an environment variable is safer.
  • VIKA_PROXY_URL is the simplest way to force all Vika traffic through a single proxy.
  • If your private deployment uses a self-signed certificate, add "VIKA_ALLOW_INSECURE_TLS": "true" under env.

If you prefer using the cloned source tree instead of the published package, build first and point MCPorter to the compiled entry file:

{
  "mcpServers": {
    "vika-mcp": {
      "command": "node",
      "args": [
        "C:/path/to/vika-mcp/dist/index.js"
      ],
      "env": {
        "VIKA_HOST": "https://vika.cn",
        "VIKA_TOKEN": "${VIKA_TOKEN}"
      }
    }
  }
}

Quick verification with MCPorter:

npx mcporter list vika --schema
npx mcporter call vika.get_spaces

Development

If you are working from this repository directly:

npm install
npm run build
node dist/index.js

Agent Skill

This repository also includes a skill at skills/vika-mcp/.

Use it when you want an agent to follow the recommended vika-mcp workflow instead of guessing raw API calls or tool order. The skill is aligned with the MCP package tool surface and helps with:

  • finding spaces and nodes through the official search and detail endpoints
  • inspecting fields before record writes
  • using get_records with recordIds for narrow reads
  • handling delete operations and org changes safely

Then invoke it explicitly in prompts such as:

Use $vika-mcp to inspect the datasheet named "Leads" and list its fields.
Use $vika-mcp to search a datasheet node named "Leads" and then update its records.

The skill complements the MCP server. It does not replace MCP configuration; the vika-mcp server still needs to be available to the agent.

Tool Surface

  • Records: get_records, create_records, update_records, delete_records
  • Fields: get_fields, create_fields, delete_fields
  • Views: get_views, create_view, delete_view, delete_views, update_view, copy_view
  • Datasheet reads: upload_attachments
  • Datasheet writes: create_datasheets, import_from_excel
  • Space and nodes: get_spaces, get_nodes, search_nodes, get_node_details, create_embedlinks, get_embedlinks, delete_embedlinks
  • Node management: create_node, update_node, delete_node, copy_node, move_node, recover_node, get_node_showcase
  • Forms: get_form_fields, submit_form, create_form_share_link, get_form_association, update_form_share
  • Org: get_a_member, update_a_member, delete_a_member, list_the_team_members, list_teams, create_a_team, update_a_team, delete_a_team, list_units_under_the_role, list_roles, create_a_role, update_a_role, delete_a_role
  • AI: create_chat_completions

Notes

  • MCP tool names follow the official API reference page slugs, converted to snake_case.
  • Delete operations require confirm_destructive: true.
  • Search and delete queries follow the public reference examples, such as permissions=0,1 and recordIds=recA,recB.
  • A 403 from a folder or member endpoint is treated as an authorization error for that resource, not as a global capability shutdown.

License

This project is licensed under GPL-3.0-only. See LICENSE.

Developed with *Codex*

目录标签

目录标签

API集成TypeScriptJavaScript数据表管理本地部署TypeScript工具MCP服务

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

token

运行时(runtime,运行环境)

Node.js

来源包(packageName,安装包名)

vika-mcp

工具数量(toolCount,工具数)

49

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiotoken部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP