Tealfabric MCP Server for Cursor
OfficialTealfabric MCP Server for Cursor
MCP (Model Context Protocol) server that connects Cursor IDE to the Tealfabric platform. The model in Cursor can list webapps and processes, publish webapps, get/update process steps, execute processes, and upload/manage documents (package files for delivery).
Prerequisites
Node.js 18+
A Tealfabric API key (create one in Tealfabric: User settings → API Keys, or
POST /api/v1/api-keyswhen logged in)
Install
cd cursor-mcp-tealfabric
npm install
npm run buildCursor setup
Create an API key in Tealfabric (if you don’t have one).
Add the MCP server in Cursor:
Cursor Settings (Cmd+, / Ctrl+,) → Tools & MCP → Add new MCP server
Or create/edit
.cursor/mcp.jsonin your project (or~/.cursor/mcp.jsonfor global):
{
"mcpServers": {
"tealfabric": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/cursor-mcp-tealfabric/dist/index.js"],
"env": {
"TEALFABRIC_API_KEY": "YOUR_API_KEY_HERE",
"TEALFABRIC_API_URL": "https://tealfabric.io"
}
}
}
}Replace:
YOUR_API_KEY_HEREwith your Tealfabric API key (e.g.tf_live_...)./ABSOLUTE/PATH/TO/cursor-mcp-tealfabric/...with the real path to this repo (e.g./Users/username/src/cursor-mcp-tealfabric/dist/index.js).
Restart Cursor so it picks up the new server.
Tools exposed to Cursor
Tool | Description |
| List connectors (optional action: get, parameters) |
| Test connector configuration |
| Check whether connector requires OAuth2 |
| List integrations or query by action/filter |
| Create a new integration |
| Update an existing integration |
| List webapps (optional: search, limit) |
| Get one webapp by ID (optional version) |
| Create a new webapp |
| Update webapp (e.g. page_content, name) |
| Publish a webapp |
| List ProcessFlow processes |
| Get one process by ID |
| List steps of a process |
| Get one process step by step_id |
| Execute a process (optional input) |
| Create a new process (process flow) |
| Update an existing process |
| Create a new step in a process flow |
| Update an existing process step |
| List documents in a directory |
| Get file metadata |
| Download a file (returns base64 payload) |
| Upload a file (e.g. built package) |
| Move or rename file/directory |
| Delete file or directory |
Environment variables
Variable | Required | Default | Description |
| Yes | — | Tealfabric API key (X-API-Key / Bearer) |
| No |
| Tealfabric base URL |
Security
Do not commit
.cursor/mcp.jsonif it contains your real API key. Use.cursor/mcp.json.example(without the key) and addmcp.jsonto.gitignore, or use Cursor’s UI so the key stays local.API keys are scoped to your user/tenant in Tealfabric; create keys with minimal required scopes if your platform supports it.
Documentation
Developer guide (setup, tools, API mapping, extending): docs/DEVELOPER.md
Tealfabric platform docs (WebApps, ProcessFlow, APIs): https://tealfabric.io/docs
Related projects
Tealfabric exposes the same MCP capabilities across different host environments. Each repo ships the appropriate packaging and setup for its platform:
Host | Repository |
Cursor (this repository) | |
Claude (Claude Code and compatible MCP clients) | |
Lovable |