Bitable MCP Server
This MCP server provides access to Lark Bitable through the Model Context Protocol. It allows users to interact with Bitable tables using predefined tools.
One click installation & Configuration
Claude
To install and configure the server, use the following command:
1PERSONAL_BASE_TOKEN=your_personal_base_token APP_TOKEN=your_app_token uv run --with uv --with bitable-mcp bitable-mcp-install
Replace your_personal_base_token
and your_app_token
with your actual tokens.
Cursor
Coming soon
Windsurf
Coming soon
Available Tools
-
list_table
- List tables for the current Bitable.- Returns: A JSON-encoded list of table names.
-
describe_table
- Describe a table by its name.- Parameters:
name
(str): The name of the table to describe.
- Returns: A JSON-encoded list of columns in the table.
- Parameters:
-
read_query
- Execute a SQL query to read data from the tables.- Parameters:
sql
(str): The SQL query to execute.
- Returns: A JSON-encoded list of query results.
- Parameters:
Manual installation and configuration
Please make sure uvx
is installed before installation.
Add to your Claude settings:
- Using uvx
1"mcpServers": { 2 "bitable-mcp": { 3 "command": "uvx", 4 "args": ["bitable-mcp"], 5 "env": { 6 "PERSONAL_BASE_TOKEN": "your-personal-base-token", 7 "APP_TOKEN": "your-app-token" 8 } 9 } 10}
- Using pip installation
- Install
bitable-mcp
via pip:
1pip install bitable-mcp
- Modify your Claude settings
1"mcpServers": { 2 "bitable-mcp": { 3 "command": "python", 4 "args": ["-m", "bitable_mcp"], 5 "env": { 6 "PERSONAL_BASE_TOKEN": "your-personal-base-token", 7 "APP_TOKEN": "your-app-token" 8 } 9 } 10}
Configure for Zed
Add to your Zed settings.json:
Using uvx
1"context_servers": [ 2 "bitable-mcp": { 3 "command": "uvx", 4 "args": ["bitable-mcp"], 5 "env": { 6 "PERSONAL_BASE_TOKEN": "your-personal-base-token", 7 "APP_TOKEN": "your-app-token" 8 } 9 } 10],
Using pip installation
1"context_servers": { 2 "bitable-mcp": { 3 "command": "python", 4 "args": ["-m", "bitable_mcp"], 5 "env": { 6 "PERSONAL_BASE_TOKEN": "your-personal-base-token", 7 "APP_TOKEN": "your-app-token" 8 } 9 } 10},
Debugging
You can use the MCP inspector to debug the server. For uvx installations:
1npx @modelcontextprotocol/inspector uvx bitable-mcp