MCP Lite Wrappers
Lightweight MCP wrappers that consolidate multiple tools from services like Supabase, Linear, Chrome DevTools, and Context7 into single-action tools, reducing context token usage by ~80% while maintaining full functionality.
README
MCP Lite Wrappers
Lightweight MCP wrapper plugins that consolidate multiple tools into single-action tools, reducing Claude Code context usage by ~80%.
Problem
MCP servers expose many individual tools, each consuming context tokens. For example, supabase-mcp exposes 20+ tools, using ~11k tokens just for tool definitions.
Solution
Wrap multiple tools into a single tool with an action parameter. One tool, one description, massive token savings.
Before: 20 tools × ~500 tokens = ~10,000 tokens
After: 1 tool × ~1,000 tokens = ~1,000 tokens
Savings: ~80%
Packages
| Package | Wraps | Tools → 1 | Est. Savings |
|---|---|---|---|
supabase-lite-mcp |
supabase-mcp | 30 → 1 | ~11k tokens |
linear-lite-mcp |
Linear GraphQL API | 28 → 1 | ~12k tokens |
chrome-lite-mcp |
Chrome DevTools | 34 → 1 | ~14k tokens |
context7-lite-mcp |
Context7 MCP | 2 → 1 | ~400 tokens |
Installation
supabase-lite-mcp
npm install supabase-lite-mcp
Add to your Claude Code MCP config (~/.claude/settings.json or project .mcp.json):
{
"mcpServers": {
"supabase": {
"command": "npx",
"args": ["supabase-lite-mcp"],
"env": {
"SUPABASE_ACCESS_TOKEN": "your-access-token",
"SUPABASE_PROJECT_REF": "your-project-ref"
}
}
}
}
linear-lite-mcp
npm install linear-lite-mcp
Add to your Claude Code MCP config:
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["linear-lite-mcp"],
"env": {
"LINEAR_API_KEY": "lin_api_xxxxx"
}
}
}
}
Get your Linear API key from Linear Settings > API.
chrome-lite-mcp
npm install chrome-lite-mcp
Add to your Claude Code MCP config:
{
"mcpServers": {
"chrome": {
"command": "npx",
"args": ["chrome-lite-mcp"],
"env": {
"CHROME_PATH": "/path/to/chrome",
"CHROME_HEADLESS": "true"
}
}
}
}
Environment variables (optional):
CHROME_PATH- Path to Chrome executable (auto-detected if not set)CHROME_HEADLESS- Set to "false" for visible browser (default: headless)
context7-lite-mcp
npm install context7-lite-mcp
Add to your Claude Code MCP config:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["context7-lite-mcp"],
"env": {
"CONTEXT7_API_KEY": "your-api-key"
}
}
}
}
Environment variables (optional):
CONTEXT7_API_KEY- Context7 API key from context7.com/dashboard (optional - lower rate limits without it)
Usage
Supabase
All actions go through a single supabase tool:
// List projects
{ action: "list_projects" }
// Execute SQL
{ action: "execute_sql", payload: { query: "SELECT * FROM users" } }
// Deploy edge function
{ action: "deploy_edge_function", payload: { slug: "my-func", code: "..." } }
Available Actions
Projects & Organizations
list_projects,get_project,create_project,pause_project,restore_projectlist_organizations,get_organization
Cost Management
get_cost,confirm_cost
Database
execute_sql,list_tables,list_extensionslist_migrations,apply_migration
Monitoring
get_logs,get_advisors
Project Info
get_project_url,get_publishable_keys,generate_typescript_types
Edge Functions
list_edge_functions,get_edge_function,deploy_edge_function
Branching
create_branch,list_branches,delete_branchmerge_branch,reset_branch,rebase_branch
Storage
list_storage_buckets,get_storage_config,update_storage_config
Documentation
search_docs
Linear
All actions go through a single linear tool:
// Create an issue
{ action: "create_issue", payload: { title: "Fix bug", teamId: "TEAM-ID" } }
// Search issues
{ action: "search_issues", payload: { query: "login bug", limit: 10 } }
// Get user's teams
{ action: "get_user_teams" }
Linear Available Actions
Issues
create_issue,update_issue,get_issue,search_issuesget_user_issues,get_team_issues,get_project_issues
Comments
add_comment,get_comments
Teams & Projects
get_teams,get_team,get_projects,get_project
Labels
get_labels,create_label,update_label
Users
get_viewer,get_users,get_user_teams,get_user_projects
Issue Relations
link_issues,get_issue_relations
Attachments
add_attachment,get_attachments
Workflow & Milestones
get_workflow_states,get_milestones,create_milestone,update_milestone
Chrome
All actions go through a single chrome tool:
// Navigate to a URL with auto-capture (saves .md, .html, .png)
{ action: "navigate_page", payload: { url: "https://example.com", autoCapture: true, outputDir: "./captures" } }
// Click an element
{ action: "click", payload: { selector: "#submit-btn" } }
// Fill a form field
{ action: "fill", payload: { selector: "#email", value: "test@example.com" } }
// Select option from dropdown
{ action: "select", payload: { selector: "#country", value: "US" } }
// Extract content in different formats
{ action: "extract", payload: { selector: ".article", format: "markdown" } }
// Take a screenshot
{ action: "take_screenshot", payload: { fullPage: true } }
// Show browser (switch from headless to visible)
{ action: "show_browser" }
// Set browser profile
{ action: "set_profile", payload: { name: "work", userDataDir: "~/.chrome-profiles/work" } }
Chrome Available Actions
Input Automation
click,drag,fill,fill_form,handle_dialog,hover,press_key,upload_file,select
Navigation
navigate_page(with auto-capture support),new_page,list_pages,select_page,close_page,wait_for
Emulation
emulate,resize_page
Performance
performance_start_trace,performance_stop_trace,performance_analyze_insight
Network
get_network_request,list_network_requests
Extraction & Debugging
extract(text/html/markdown),get_attr,evaluate_script,take_screenshot,take_snapshot,list_console_messages,get_console_message
Browser Control
show_browser,hide_browser,browser_mode
Profile Management
set_profile,get_profile
Context7
All actions go through a single context7 tool:
// Resolve library ID
{ action: "resolve_library_id", payload: { libraryName: "next.js" } }
// Get library docs
{ action: "get_library_docs", payload: {
context7CompatibleLibraryID: "/vercel/next.js",
topic: "routing",
tokens: 5000
} }
Context7 Available Actions
Library Resolution
resolve_library_id- Search for libraries and get Context7-compatible IDs
Documentation
get_library_docs- Fetch up-to-date, version-specific documentation with optional topic filtering
Architecture
Follows the superpowers-chrome pattern:
- Single tool with
actionenum parameter - Switch/dispatch based on action
- Proxy calls to underlying API (Supabase Management API, Linear GraphQL API)
packages/
├── supabase-lite/
│ ├── src/
│ │ ├── index.ts # MCP server entry
│ │ ├── actions.ts # Action dispatcher
│ │ ├── types.ts # Zod schemas
│ │ └── client/ # API client
│ └── package.json
├── linear-lite/
│ ├── src/
│ │ ├── index.ts # MCP server entry
│ │ ├── actions.ts # Action dispatcher
│ │ ├── types.ts # Zod schemas
│ │ └── client/ # GraphQL client
│ └── package.json
└── chrome-lite/
├── src/
│ ├── index.ts # MCP server entry
│ ├── actions.ts # Action dispatcher
│ ├── types.ts # Zod schemas
│ └── browser/ # Puppeteer wrapper
└── package.json
Development
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Type check
npm run typecheck
Tech Stack
- TypeScript
- Zod for validation
- MCP SDK (@modelcontextprotocol/sdk)
- puppeteer-core (for chrome-lite)
License
MIT
References
- superpowers-chrome - Pattern reference
- supabase-mcp - Supabase MCP being wrapped
- Linear GraphQL API - Linear API documentation
- Chrome DevTools MCP - Chrome DevTools reference
- Puppeteer - Browser automation library
- MCP SDK - Model Context Protocol SDK
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。