Insforge MCP Server
The Insforge MCP Server provides comprehensive backend management capabilities for the Insforge platform through a complete set of tools and operations.
Key Capabilities:
Backend Setup & Authentication: Initialize backend setup and retrieve essential API keys for authentication
Database Management: Retrieve detailed table schemas (including RLS, indexes, constraints), execute raw SQL queries, and perform bulk data operations via CSV/JSON upserts
Storage Management: Create, list, and delete storage buckets with configurable public/private settings
Edge Functions: Full CRUD operations for serverless functions running in Deno runtime
System Monitoring: Access container logs from various services (Insforge, Postgres, PostgREST, functions) for debugging
Metadata Operations: Index and retrieve comprehensive backend metadata
Multi-Client Support: Compatible with various MCP clients including Claude Code, Cursor, Windsurf, Cline, Roo Code, and Trae
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Insforge MCP Server create a new user table with email and name fields"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Insforge MCP Server
InsForge turns your coding agents into full-stack builders, letting them add backend features like auth, databases, file storage, serverless functions, and LLMs to your apps in seconds.
This repo is Model Context Protocol server for Insforge.
📖 Documentation
Please visit the main Insforge repository for:
Installation and setup instructions
Configuration guide
Available tools and usage examples
API documentation
Contributing guidelines
Related MCP server: Daemoon
🚀 Quick Start
Automated Installation (Recommended)
Use the InsForge installer to automatically configure MCP for your client:
# Claude Code
npx @insforge/install --client claude-code --env API_KEY=your_api_key --env API_BASE_URL=http://localhost:7130
# Cursor
npx @insforge/install --client cursor --env API_KEY=your_api_key --env API_BASE_URL=http://localhost:7130
# Windsurf
npx @insforge/install --client windsurf --env API_KEY=your_api_key --env API_BASE_URL=http://localhost:7130
# Cline
npx @insforge/install --client cline --env API_KEY=your_api_key --env API_BASE_URL=http://localhost:7130
# Roo Code
npx @insforge/install --client roocode --env API_KEY=your_api_key --env API_BASE_URL=http://localhost:7130
# Trae
npx @insforge/install --client trae --env API_KEY=your_api_key --env API_BASE_URL=http://localhost:7130
# Install dev version for testing
npx @insforge/install --client cursor --env API_KEY=your_api_key --env API_BASE_URL=http://localhost:7130 --devReplace:
your_api_keywith your InsForge API keyhttp://localhost:7130with your InsForge instance URL (optional, defaults to localhost:7130)
Manual Installation
If you prefer to manually configure your MCP client, add this to your MCP settings file:
{
"mcpServers": {
"insforge": {
"command": "npx",
"args": [
"-y",
"@insforge/mcp@latest"
],
"env": {
"API_KEY": "your_api_key",
"API_BASE_URL": "http://localhost:7130"
}
}
}
}For detailed setup instructions, see the Insforge Documentation.
🛠️ Development
If you are contributing to this project or running it locally:
# Install dependencies
npm install
# Run unit tests
npm run test
# Run linter (static analysis)
npm run lint
# Auto-format code
npm run format
# Build the package
npm run build📄 License
Apache License 2.0 - see the LICENSE file for details.
Part of the Insforge project.
Available Tools
15 toolsbulk-upsertCInspect
Bulk insert or update data from CSV or JSON file. Supports upsert operations with a unique key.
Inputs: table (required), filePath (required), apiKey, upsertKey.
create-bucketCInspect
Create new storage bucket
Inputs: bucketName (required), apiKey, isPublic.
create-functionCInspect
Create a new edge function that runs in Deno runtime. The code must be written to a file first for version control
Inputs: name (required), codeFile (required), slug, description, +1 more.
delete-bucketCInspect
Deletes a storage bucket
Inputs: bucketName (required), apiKey.
delete-functionCInspect
Delete an edge function permanently
Inputs: slug (required).
download-templateAInspect
CRITICAL: MANDATORY FIRST STEP for all new InsForge projects. Download pre-configured starter template to a temporary directory. After download, you MUST copy files to current directory using the provided command.
Inputs: frame (required), projectName.
fetch-docsAInspect
Fetch Insforge documentation. Use "instructions" for essential backend setup (MANDATORY FIRST), or select specific SDK docs for database, auth, storage, functions, or AI integration.
Inputs: docType (required).
get-anon-keyAInspect
Generate an anonymous JWT token that never expires. Requires admin API key. Use this for client-side applications that need public access.
Inputs: apiKey.
get-backend-metadataCInspect
Index all backend metadata
Inputs: apiKey.
get-container-logsBInspect
Get latest logs from a specific container/service. Use this to help debug problems with your app.
Inputs: source (required), apiKey, limit.
get-functionCInspect
Get details of a specific edge function including its code
Inputs: slug (required).
get-table-schemaBInspect
Returns the detailed schema(including RLS, indexes, constraints, etc.) of a specific table
Inputs: tableName (required), apiKey.
list-bucketsBInspect
Lists all storage buckets
Inputs: no named parameters.
run-raw-sqlAInspect
Execute raw SQL query with optional parameters. Admin access required. Use with caution as it can modify data directly.
Inputs: query (required), apiKey, params.
update-functionCInspect
Update an existing edge function code or metadata
Inputs: slug (required), name, description, status, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools have distinct purposes targeting specific resources like buckets, functions, or SQL operations, but some overlap exists: 'create-function' and 'update-function' are clearly related but distinct, while 'get-backend-metadata' and 'get-table-schema' could be confused as both retrieve metadata, though their descriptions clarify the scope. Overall, the descriptions help differentiate tools effectively.
The naming follows a consistent verb-noun pattern with hyphens (e.g., 'create-bucket', 'delete-function', 'get-table-schema'), which is predictable and readable. There are minor deviations: 'bulk-upsert' uses a compound verb and 'download-template' and 'fetch-docs' have slightly different structures, but these do not significantly hinder clarity.
With 15 tools, the count is well-scoped for a backend management server covering storage, functions, SQL, documentation, and setup. Each tool serves a clear purpose, such as CRUD operations for buckets and functions, and there are no redundant or trivial tools, making the set appropriately sized for the domain.
The tool set provides good coverage for backend operations, including CRUD for buckets and functions, SQL execution, logging, and documentation. Minor gaps exist: there is no tool for updating bucket metadata or listing functions, which could limit lifecycle management, but core workflows like setup, deployment, and debugging are well-supported.
Maintenance
Related MCP Connectors
- ButterbaseDeprecatedai.butterbase
Backend for vibe coders. Connect Butterbase to any MCP-compatible AI coding tool and provision a full backend automatically — database, authentication, file storage, edge functions, and real-time — from a natural language prompt. No SQL, no configuration, no backend knowledge required. Free to start at butterbase.ai.
The backend and back office for apps your AI writes: accounts, data, payments, content, real-time.
Backend for AI-built apps: database, auth, realtime, push, files and cloud code on Parse Server.
Managed database, auth, file storage, email, analytics, and deployment for coding agents.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceAI-native open-source backend-as-a-service. Manage Postgres with RLS, auth, file storage, serverless TypeScript functions, durable objects, realtime, KV, AI gateway, and RAG via MCP, either HTTP at /mcp on a self-hosted instance or stdio with npx @butterbase/mcp.3,033Apache 2.0- AlicenseNot gradedqualityDmaintenanceGives AI coding agents (Claude Code, Cursor, etc.) unified, secure access to dev infrastructure (Vercel, GitHub, Supabase, Cloudflare, GCP) via a single MCP token.MIT
- AlicenseAqualityCmaintenanceBackGen's MCP server lets AI assistants scaffold production-ready Express.js + TypeScript backend projects with your choice of ORM (Prisma, Drizzle, Mongoose), install auth/payment/storage plugins, generate CRUD resources, and run health checks — all through natural language conversation.10126 npm4MIT
- AlicenseNot gradedqualityDmaintenanceTurns coding agents into full-stack builders by enabling backend features like auth, databases, file storage, serverless functions, and LLMs to be added to apps in seconds.9 npmApache 2.0