Antigravity MCP Bridge
A TypeScript-based MCP server template for the Antigravity agentic environment, providing system status and SQLite database tools via stdio transport.
README
Antigravity MCP Bridge
A TypeScript-based Model Context Protocol (MCP) server template wired into the Antigravity agentic environment. It exposes tools over a stdio transport and ships with a ready-to-import SQLite skill for local database access.
Prerequisites
| Requirement | Version |
|---|---|
| Node.js | ≥ 18 |
| npm | ≥ 9 |
| Antigravity | latest |
Project Structure
antigravity-mcp-bridge/
├── src/
│ └── server.ts # MCP server — stdio transport + tools
├── skills/
│ └── sqlite_skill.json # Antigravity Global Skill definition
├── dist/ # Compiled JS output (after build)
├── auto_bridge.sh # Detects MCP configs & writes env settings
├── tsconfig.json
├── package.json
└── README.md
1 · Starting the MCP Server
Build & run (recommended)
# Install dependencies (first time only)
npm install
# Compile TypeScript → dist/
npm run build
# Start the server
node dist/server.js
The server writes a startup message to stderr and listens for MCP messages on stdin/stdout.
Development mode (ts-node)
npx ts-node src/server.ts
Auto-bridge setup
Run auto_bridge.sh once after cloning (or whenever your MCP config changes). It scans well-known config locations, detects your Node environment, and writes .env.mcp plus a descriptor into ~/.antigravity/mcp/.
chmod +x auto_bridge.sh # already done if you followed setup
./auto_bridge.sh
2 · Importing the SQLite Skill into Antigravity Manager
- Open the Antigravity desktop app and navigate to the Manager View (sidebar → 🧩 Manager).
- Click Import Skill (top-right of the Skills panel).
- In the file picker, navigate to:
and select it./path/to/antigravity-mcp-bridge/skills/sqlite_skill.json - Antigravity will validate the skill schema and display a "SQLite Database Connector" card under the Data Sources category.
- Click Configure on the card and fill in the required field:
- SQLite Database Path — absolute path to your
.db/.sqlitefile, e.g./Users/sameer/data/myapp.db
- SQLite Database Path — absolute path to your
- Click Save & Activate. The skill is now globally available to all agents.
Tip: You can activate / deactivate the skill at any time from the Manager View without removing the import.
3 · Testing the Connection with the Built-in Browser
Antigravity ships a built-in MCP Inspector browser that lets you call tools interactively.
Step-by-step
- Start the MCP server (see §1 above) so it is listening.
- In Antigravity, open Settings → MCP Servers and click + Add Server.
- Set:
- Transport:
stdio - Command:
node /path/to/antigravity-mcp-bridge/dist/server.js
- Transport:
- Click Connect. The status indicator should turn green.
- Navigate to Tools tab inside the MCP Inspector.
- Select the
system_statustool, leave the input blank (no parameters), and click Run. - The response pane should display a JSON payload similar to:
{ "currentTime": "2026-04-23T02:19:15.000Z", "platform": "darwin", "release": "24.4.0", "architecture": "arm64", "hostname": "MacBook-Pro", "cpus": 10, "totalMemoryMB": 16384, "freeMemoryMB": 4096, "uptime": "3h 42m", "nodeVersion": "v22.0.0" } - To test the SQLite skill, ensure the skill is imported and configured (§2), then ask an agent: "List all tables in my database." The agent will invoke
sqlite_list_tablesvia the MCP bridge automatically.
Available Tools
| Tool | Description |
|---|---|
system_status |
Returns current UTC time and OS details |
sqlite_query |
Execute a read-only SQL SELECT |
sqlite_execute |
Execute a write SQL statement |
sqlite_list_tables |
List all tables in the SQLite DB |
sqlite_describe_table |
Describe columns of a table |
Scripts
npm run build # tsc — compile src/ → dist/
npm run dev # ts-node src/server.ts (watch mode)
npm run start # node dist/server.js
Adding More Tools
Open src/server.ts and call server.tool(name, description, inputSchema, handler):
server.tool(
"my_new_tool",
"Does something useful.",
{ param: z.string().describe("An example parameter") },
async ({ param }) => ({
content: [{ type: "text", text: `You passed: ${param}` }],
})
);
Rebuild with npm run build and reconnect in Antigravity.
License
MIT
Created by:
Sameer Abrar, Flexcrit Inc
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。