SmartSuite MCP Server

SmartSuite MCP Server

Enables interaction with SmartSuite workspace data through natural language, providing 6 tools for querying, managing records, exploring schemas, and performing operations with human-readable field names across 10+ configured table types including projects, tasks, clients, and schedules.

Category
访问服务器

README

SmartSuite API Shim

Status: ✅ Functional - B4+ Working Implementation
Test Coverage: 348+ tests passing with recent MongoDB filtering and schema optimization fixes
Server Status: Fully functional with auto-authentication, 6 MCP tools, and latest enhancements

Quick Start

⚠️ IMPORTANT: Read docs/001-ARCHITECTURE.md before making changes to understand system constraints and common failure modes.

  1. Prerequisites: Node.js 18+, npm, SmartSuite API credentials
  2. Installation: npm install
  3. Build: npm run build
  4. Configuration: Set environment variables SMARTSUITE_API_TOKEN and SMARTSUITE_WORKSPACE_ID
  5. Usage: npm start - MCP server with 6 SmartSuite tools ready

Features

🎯 Completed B4+ Achievements:

  • Auto-Authentication - Environment variable authentication with fail-fast pattern
  • Field Translation - Human-readable field names for 10 SmartSuite tables
  • 6 SmartSuite Tools - query, record, schema, undo, discover, intelligent operations
  • DRY-RUN Safety - Mutation protection with explicit confirmation required
  • Comprehensive Testing - 348+ tests with recent MongoDB filtering and schema optimization fixes
  • CI/CD Pipeline - Fully resolved with CodeQL integration and quality gates
  • Error Handling - Graceful degradation and clear error messages
  • Production Validation - All critical API fixes applied and verified
  • Enhanced Code Quality - Nullish coalescing, console cleanup, path resolution fixes

Available Tools

Tool Description Status
smartsuite_query List, search, get records with MongoDB-style filtering support ✅ Ready
smartsuite_record Create, update, delete records with DRY-RUN safety ✅ Ready
smartsuite_schema Get table schema with 3 output modes (summary/fields/detailed) + caching ✅ Ready
smartsuite_undo Transaction rollback operations ✅ Ready
smartsuite_discover Field mapping discovery and table structure exploration ✅ Ready
smartsuite_intelligent AI-guided API operations with knowledge-driven safety ✅ Ready

Supported Tables (10 Configured with Example Mappings)

  • Projects (47 mapped fields) - Core project management
  • Tasks (26 mapped fields) - Task tracking and assignments
  • Videos (21 mapped fields) - Video production workflow
  • Clients (21 mapped fields) - Client relationship management
  • Schedule (24 mapped fields) - Calendar and timeline management
  • Planning (25 mapped fields) - Resource planning and phase management
  • Financial Records - Cost tracking and invoicing
  • Services - Service catalog and offerings
  • Content Items - Content asset management
  • Issue Log (26 mapped fields) - Problem tracking and resolution

Note: Field mappings are workspace-specific. Copy examples from config/field-mappings/examples/ to create your own mappings.

Development

This is a TypeScript project. The source code is located in the /src directory. It is compiled into JavaScript in the /build directory for execution. Do not edit files in /build directly, as they will be overwritten.

Prerequisites

  • Node.js v18.x or higher
  • npm

Running Locally

  1. Install dependencies: npm install
  2. Run in development mode (with auto-reload): npm run dev

Building for Production

  1. Compile TypeScript: npm run build
  2. Run the compiled code: npm start

Testing

  • Run all tests: npm test
  • Run tests with coverage: npm run test:coverage
  • Watch mode: npm run test:watch

Project Structure

  • src/ - TypeScript source code
  • build/ - Compiled JavaScript (generated, do not edit)
  • test/ - Test suites
  • docs/ - Documentation
  • reports/ - Build phase reports

Configuration & Usage

Field Mappings Setup

Since field mappings are workspace-specific and not included in the repository:

  1. Copy example mappings from config/field-mappings/examples/
  2. Remove .example suffix from filenames
  3. Place in config/field-mappings/ directory
  4. Customize field mappings for your SmartSuite workspace

The system automatically loads all .yaml files from config/field-mappings/ on startup.

Environment Variables (Required for Auto-Authentication)

# Set these for automatic authentication on server startup
export SMARTSUITE_API_TOKEN="your-smartsuite-api-key"
export SMARTSUITE_WORKSPACE_ID="your-workspace-id" 

Production Deployment

# Compile and run
npm run build
npm start

# Validation mode (for CI/CD)
MCP_VALIDATE_AND_EXIT=true npm start

Integration with Claude Desktop

Add to your Claude Desktop MCP configuration:

{
  "mcpServers": {
    "smartsuite": {
      "command": "node",
      "args": ["/path/to/smartsuite-api-shim/build/src/index.js"],
      "env": {
        "SMARTSUITE_API_TOKEN": "your-api-token",
        "SMARTSUITE_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}

Critical Documentation - READ FIRST

🚨 System Context (Required Reading)

User & Technical Guides

Example Usage

// Query projects with human-readable field names
{
  "operation": "list",
  "appId": "68a8ff5237fde0bf797c05b3",
  "filters": {
    "projectName": "Website Redesign",  // Instead of "project_name_actual"
    "priority": "High",                 // Instead of cryptic priority codes
    "client": "client-abc-123"          // Instead of "sbfc98645c"
  }
}

Coordination Access

Access project management via .coord/ symlink

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选