Skip to main content
Glama

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

Related MCP server: feishu-mcp

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

Available Tools

49 tools
copy_nodeC

Copy a node to a target location.

Inputs: payload (required), spaceId (required).

copy_viewC

Copy a view within a datasheet.

Inputs: viewId (required), datasheetId (required), payload.

create_a_roleC

Create a role in a space.

Inputs: payload (required), spaceId (required).

create_a_teamC

Create a team in a space.

Inputs: payload (required), spaceId (required).

create_chat_completionsC

Call the documented chat completions endpoint under /fusion/ai/{assistantId}/chat/completions.

Inputs: assistantId (required), payload.

create_datasheetsC

Create a new datasheet in a space.

Inputs: name (required), spaceId (required), fields, folderId, +2 more.

create_fieldsB

Create a field in a datasheet.

Inputs: name (required), type (required), spaceId (required), datasheetId (required), +1 more.

create_nodeC

Create a node (folder, form, mirror, or dashboard) under a space.

Inputs: type (required), spaceId (required), extra, nodeName, +3 more.

create_recordsC

Create up to 10 records in a datasheet.

Inputs: records (required), datasheetId (required).

create_viewC

Create a new view for a datasheet.

Inputs: payload (required), datasheetId (required).

delete_a_memberC

Delete a member from a space.

Inputs: spaceId (required), memberId (required), confirm_destructive.

delete_a_roleC

Delete a role in a space.

Inputs: roleId (required), spaceId (required), confirm_destructive.

delete_a_teamC

Delete a team in a space.

Inputs: teamId (required), spaceId (required), confirm_destructive.

delete_fieldsC

Delete a field from a datasheet.

Inputs: fieldId (required), spaceId (required), datasheetId (required), confirm_destructive.

delete_nodeC

Delete a node from a space.

Inputs: nodeId (required), spaceId (required), confirm_destructive.

delete_recordsC

Delete up to 10 records from a datasheet.

Inputs: recordIds (required), datasheetId (required), confirm_destructive.

delete_viewC

Delete a view from a datasheet.

Inputs: viewId (required), datasheetId (required), confirm_destructive.

delete_viewsB

Batch-delete multiple views from a datasheet.

Inputs: viewIds (required), datasheetId (required), confirm_destructive.

get_a_memberC
Read-only

Get a member in a space.

Inputs: spaceId (required), memberId (required), sensitiveData.

get_fieldsC
Read-only

List fields for a datasheet.

Inputs: datasheetId (required), viewId.

get_form_associationC
Read-only

Query form and its associated datasheet info.

Inputs: formId (required), spaceId (required).

get_form_fieldsC
Read-only

Query form field info for a form node.

Inputs: formId (required), spaceId (required).

get_node_detailsA
Read-only

Get details for a single node. Folder nodes may include a children array.

Inputs: nodeId (required), spaceId (required).

get_nodesB
Read-only

List root nodes for a space.

Inputs: spaceId (required).

get_node_showcaseC
Read-only

Get node showcase details by nodeId.

Inputs: nodeId (required), spaceId (required).

get_recordsC
Read-only

List datasheet records with filtering, pagination, sorting, and view support.

Inputs: datasheetId (required), sort, fields, viewId, +6 more.

get_spacesA
Read-only

List spaces accessible by the current token.

Inputs: no named parameters.

get_viewsB
Read-only

List views for a datasheet.

Inputs: datasheetId (required).

import_from_excelB

Import an Excel file and create a new datasheet.

Inputs: payload (required), spaceId (required).

list_rolesC
Read-only

List roles for a space.

Inputs: spaceId (required), pageNum, pageSize.

list_teamsA
Read-only

List child teams under a team. Use teamId=0 for top-level teams.

Inputs: spaceId (required), teamId, pageNum, pageSize.

list_the_team_membersC
Read-only

List members under a team.

Inputs: teamId (required), spaceId (required), pageNum, pageSize, +1 more.

list_units_under_the_roleC
Read-only

List member and team units under a role.

Inputs: roleId (required), spaceId (required).

move_nodeC

Move a node to a target folder.

Inputs: payload (required), spaceId (required).

recover_nodeA

Recover a node from the recycle bin.

Inputs: payload (required), spaceId (required).

search_nodesC
Read-only

Search nodes in a space through the official v2 search endpoint.

Inputs: spaceId (required), type, query, permissions.

submit_formC

Submit data to a form.

Inputs: formId (required), payload (required), spaceId (required).

update_a_memberC

Update a member in a space.

Inputs: payload (required), spaceId (required), memberId (required).

update_a_roleC

Update a role in a space.

Inputs: roleId (required), payload (required), spaceId (required).

update_a_teamC

Update a team in a space.

Inputs: teamId (required), payload (required), spaceId (required).

update_form_shareC

Update form share settings.

Inputs: formId (required), payload (required), spaceId (required).

update_nodeB

Update a node name, icon, or cover.

Inputs: nodeId (required), payload (required), spaceId (required).

update_recordsC

Update up to 10 records in a datasheet.

Inputs: records (required), datasheetId (required).

update_viewC

Edit or reposition a view in a datasheet.

Inputs: viewId (required), payload (required), datasheetId (required).

upload_attachmentsB

Upload a single file to a datasheet attachment endpoint.

Inputs: filePath (required), datasheetId (required), fileName, mimeType.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 49 tools

    Disambiguation4/5

    Most tools have a clear resource-and-action target, and descriptions help distinguish adjacent operations such as get_nodes vs get_node_details vs search_nodes. A few pairs could still be confused, especially delete_view vs delete_views, get_fields vs get_form_fields, and member vs team-member operations, but the set is broadly separable.

    Naming Consistency3/5

    All names use snake_case and mostly follow verb_noun, but the convention is uneven: some tools insert articles ('a'/'the'), some are plural while related tools are singular, and compounds like embedlinks vary. It remains readable, but not predictable enough for a 4 or 5.

    Tool Count2/5

    The server exposes 49 tools, which is far above the ideal 3-15 range and likely to burden tool selection. The domain is broad, but the surface still feels heavy enough that consolidation into fewer batch-oriented or resource-oriented tools would help.

    Completeness3/5

    Coverage is broad across nodes, records, views, forms, teams, roles, and members, but there are notable gaps: fields can be created/listed/deleted but not updated, records lack a single-record get, and member management lacks an add/invite operation. Some gaps are workaroundable, but they are significant for full lifecycle coverage.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server that exposes NocoDB bases, tables, records, and linked records as tools, enabling Claude to read/write NocoDB data. Supports both stdio and HTTP for local and cloud deployments.
      13
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI clients to read, write, and search Feishu (Lark) documents, wiki pages, spreadsheets, and bitable records over MCP, with stdio or authenticated HTTP(S) transport.
      9
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables stdio MCP clients to access the desktop app's local endpoint, letting AI tools list saved connections, run permitted SQL across SQL Server, PostgreSQL, MySQL/MariaDB, Oracle, and SQLite, inspect schemas, control UI tabs, compare schemas and data, run notebooks, and manage Azure Storage.
      MIT