YourAppSpace MCP Server
OfficialYourAppSpace MCP Server lets AI agents safely manage a structured backend through permission-enforced schema and data operations.
List and inspect accessible tables, primary keys, and field definitions.
Create tables, add columns or lookup relationships, and delete non-key fields.
Insert, read, update, and delete records, including batch operations.
Query records with filters, SQL-like WHERE clauses, sorting, pagination, and optional total counts.
Enforce API key authentication, administrative permissions, Row-Level Security, Field-Level Security, and workspace tariff limits.
Handle required system fields such as primary keys and
displaynamefor table operations.
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., "@YourAppSpace MCP Server create a customers table with name, email, and signup date"
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.
YourAppSpace MCP Server
Give AI coding agents (Claude Code, Cursor, OpenAI Codex CLI, JetBrains AI Assistant) a structured backend with a built-in Visual Schema Designer, Data Grid UI, auto-generated REST APIs, and Row/Field-Level Security (RLS & FLS).
Why YourAppSpace MCP?
Most database MCP servers give an LLM raw SQL access to a database—risking destructive schema changes, leaking restricted columns, and leaving you with no UI to inspect or manage the data.
YourAppSpace Core solves this by pairing an AI-ready Entity MCP with a Visual Data Platform:
Visual Schema + Data Grid UI: Everything your AI agent creates via MCP (
create_table,add_field,create_rows) immediately appears in a live visual schema designer and spreadsheet-like Data Grid UI with filtering and Excel/CSV export.Safe by Design (RLS & FLS): Agents operate through the platform's Entity API governed by Row-Level Security and Field-Level Security instead of raw SQL—no accidental
DROP TABLEor unauthorized field reads.Instant REST APIs: Every table modeled by your agent automatically exposes documented REST endpoints.
Zero Vendor Lock-in: Run on YourAppSpace Cloud (
https://core.yourappspace.com) or deploy on-premise via Docker.
Hosted Remote MCP (Zero-Install) — Coming Soon: In the next release of YourAppSpace Core, you will be able to connect directly to a Hosted Remote MCP endpoint (Streamable HTTP) straight from your workspace URL—requiring zero local installation, no Node.js, and no local processes. Until then (and for local Docker / air-gapped on-premise deployments), use this lightweight open-source STDIO connector.
Related MCP server: QuickChart MCP Server
Prerequisites
Node.js
>= 20.20and npm>= 10.8A YourAppSpace Core account or instant demo workspace:
Open core.yourappspace.com and click Try now (no sign-up required) or sign in to your workspace.
Immediately after signing in, open the welcome message on the right panel and copy your API Key (
ip_api_key_...) from the YOUR API KEY FOR REST & MCP section:

Quick Start (npx — Recommended)
You can run the MCP server directly via npx without cloning the repository:
{
"mcpServers": {
"dev-entity": {
"command": "npx",
"args": ["-y", "@yourappspace/mcp-server"],
"env": {
"MCP_ENTITY_API_KEY": "<api-key>"
}
}
}
}Or clone the repository locally:
git clone https://github.com/yourappspace/yourappspace-mcp.git
cd yourappspace-mcp
npm installClient Configuration
Replace <api-key> with your full ip_api_key_... value. MCP_ENTITY_BASE_URL defaults to https://core.yourappspace.com and only needs to be added for self-hosted/Docker instances. (If running from a cloned repo instead of npx, set "command": "node" and "args": ["<path_to_repo>/server.js"].)
1. Claude Code (.mcp.json)
Create or update .mcp.json in your project root:
{
"mcpServers": {
"dev-entity": {
"command": "npx",
"args": ["-y", "@yourappspace/mcp-server"],
"env": {
"MCP_ENTITY_API_KEY": "<api-key>"
}
}
}
}Verify active tools inside Claude Code by running /mcp.
2. Cursor (.cursor/mcp.json)
Add to .cursor/mcp.json in your project or global ~/.cursor/mcp.json:
{
"mcpServers": {
"dev-entity": {
"command": "npx",
"args": ["-y", "@yourappspace/mcp-server"],
"env": {
"MCP_ENTITY_API_KEY": "<api-key>"
}
}
}
}3. OpenAI Codex CLI (~/.codex/config.toml)
[mcp_servers.dev-entity]
command = "npx"
args = ["-y", "@yourappspace/mcp-server"]
[mcp_servers.dev-entity.env]
MCP_ENTITY_API_KEY = "<api-key>"4. JetBrains IntelliJ IDEA AI Assistant
Open Settings → Tools → AI Assistant → Model Context Protocol (MCP).
Click + Add and select STDIO.
Paste the JSON configuration above (same format as Claude Code / Cursor) and click Apply.
Authentication & Environment Variables
Variable | Description | Example |
| Full user API key with the |
|
| (Optional) Defaults to |
|
Important Authentication Notes
API Key only: When
MCP_ENTITY_API_KEYis set, no username or password is needed — the key is sent directly in theX-Authheader (and does not fall back to username/password on failure). (LegacyMCP_ENTITY_USER/MCP_ENTITY_PASSWORDauth is only used ifMCP_ENTITY_API_KEYis omitted.)Permissions: Requests execute under the permissions of the API key owner (or signed-in user), enforcing table and record access maps (RLS & FLS).
Verifying the connection: Viewing the tool list does not verify authentication. After saving or changing
MCP_ENTITY_API_KEYorMCP_ENTITY_BASE_URL, restart your MCP client and calllist_tableswith{"offset": 0, "limit": 1}.On HTTP
401: check the key value (including theip_api_key_prefix), its expiration date, its owner, and API key support on the target instance.On HTTP
403: verify the user's permissions for the requested table or operation.
Available MCP Tools (9 Tools)
Tool | Purpose | Modifies Data |
| Lists accessible tables across user and system spaces | No |
| Retrieves table metadata, column types, and schema definition | No |
| Creates a new custom table in the active workspace | Yes |
| Adds a data column ( | Yes |
| Deletes a non-key field from an entity type | Yes |
| Queries records with | No |
| Inserts one or multiple records in batch mode | Yes |
| Updates one or multiple records by primary key | Yes |
| Deletes one or multiple records by primary key | Yes |
System Prompt for AI Agents (BASE_PROMPT.md)
This repository includes BASE_PROMPT.md, which gives AI agents full knowledge of YourAppSpace core data types, field widgets (combobox, lookup, etc.), and schema conventions:
Claude Code: Copy
BASE_PROMPT.mdtoCLAUDE.mdin your project root.Codex CLI: Copy
BASE_PROMPT.mdtoAGENTS.mdin your project root.IntelliJ AI Assistant: Add it to Settings → Tools → AI Assistant → Prompt Library.
Examples: Prompt & Result
Below is a complete end-to-end workflow inspired by our YouTube walkthrough, showing how an AI agent creates a table with multiple field types, populates records, and runs filtered + aggregated queries.
1. Create a Table with Multiple Field Types (Text, Numeric, Combobox, Reference)
Prompt:
Create a new table called
Customer Feedback(customer_feedback) with 4 fields:
comment— multi-line text for the customer's review
rating— integer score from 1 to 5
status— combobox enumeration with valuesNew,Reviewed, andResolved
interaction— lookup reference linking to the existingInteraction(interaction) table
Result:
The agent invokes create_table followed by add_field for each column and confirms the live schema:
Created table "Customer Feedback" (system name: customer_feedback, id: 6204)
Fields added:
- comment | TEXT | widget: textarea | Label: "Comment"
- rating | INTEGER | widget: number | Label: "Rating"
- status | STRING | widget: combobox | Values: ["New", "Reviewed", "Resolved"]
- interaction | BIGINT | widget: lookup | Reference: interaction (Interaction)
You can now inspect the schema in Data Model Designer or open the Data Grid at My Application -> My Tables -> customer_feedback.2. Insert Records into the New Table
Prompt:
Add 4 sample feedback records into
customer_feedbacklinked to existingInteractionrecords:
Interaction 1: rating 5, status
Reviewed, comment"Fast response and clear onboarding walkthrough"Interaction 2: rating 4, status
New, comment"Helpful consultation, minor follow-up needed"Interaction 3: rating 2, status
New, comment"Took too long to get an initial reply"Interaction 4: rating 5, status
Resolved, comment"Issue resolved quickly on the first call"
Result:
The agent calls read_rows on interaction to verify valid interaction IDs, then executes create_rows in batch mode on customer_feedback:
Inserted 4 records into customer_feedback:
| id | interaction | rating | status | comment |
| --- | -------------------- | ------ | -------- | ------------------------------------------------ |
| 101 | Interaction 1 (id:1) | 5 | Reviewed | Fast response and clear onboarding walkthrough |
| 102 | Interaction 2 (id:2) | 4 | New | Helpful consultation, minor follow-up needed |
| 103 | Interaction 3 (id:3) | 2 | New | Took too long to get an initial reply |
| 104 | Interaction 4 (id:4) | 5 | Resolved | Issue resolved quickly on the first call |3. Query with Filtering and Aggregation
Prompt:
Query
customer_feedbackfor all records whererating >= 4, show the matching rows, and calculate the total matching count, average rating, and breakdown bystatus.
Result:
The agent calls read_rows with a filter (rating >= 4) and aggregates the returned dataset:
Filtered records from customer_feedback (rating >= 4):
| id | interaction | rating | status | comment |
| --- | ----------- | ------ | -------- | ---------------------------------------------- |
| 101 | 1 | 5 | Reviewed | Fast response and clear onboarding walkthrough |
| 102 | 2 | 4 | New | Helpful consultation, minor follow-up needed |
| 104 | 4 | 5 | Resolved | Issue resolved quickly on the first call |
Summary & Aggregation (rating >= 4):
- Matching records: 3 of 4 total
- Average rating: 4.67
- Breakdown by status:
- New: 1
- Reviewed: 1
- Resolved: 1Demo Limits & Registration
If you started with an instant Demo Mode workspace (via Try now on core.yourappspace.com), your workspace includes a starter quota for records and API/MCP requests.
When you see an error indicating that the record count or request limit has been reached (for example, The tariff limit "Record count" has been exhausted...), simply:
Click "Sign Up Free" in the top-right bar of your YourAppSpace workspace.
Enter your email address and complete registration by confirming your email via the link sent to your inbox.
Once your email is confirmed, your workspace is saved permanently with higher free-tier limits (or you can upgrade to a paid plan as your project grows).
Resources
Live Sandbox (No Sign-Up Required): core.yourappspace.com
Video Walkthrough: YouTube — YourAppSpace MCP Server Tutorial
Full Documentation: yourappspace.com/docs.html
License
Available Tools
9 toolsadd_fieldA
Add a new column or lookup relationship to an existing table. Non-destructive schema mutation (existing rows receive null for the new field); requires administrative permissions. Specify either fieldType for a scalar column OR lookupEntity (and optional lookupField) for a foreign-key reference. Use create_table to create a new table, get_table to inspect existing fields, and delete_field to remove a field. Returns { field: { id, fieldName, displayName, fieldType, lookupEntity, lookupField } }.
Inputs: fieldName (required), tableName (required), fieldType, displayName, +2 more.
create_rowsA
Insert one or multiple new records into an entity type. Mutates data, enforcing row/field permissions and workspace tariff limits. Pass item for a single record OR items for batch insertion (do not pass both). Custom tables typically require displayname—call get_table first to check required fields. Bulk inserts are non-atomic: each row is processed independently and the response returns { count, items: [{ status: 'ok', item }], errors: [{ status: 'error', index, message }] }. Use update_rows to modify existing records.
Inputs: tableName (required), item, items, returnFields.
create_tableA
Create a new custom entity type (table) in the active workspace. Schema-mutating operation requiring administrative permissions. Newly created tables automatically include system columns such as <tableName>id (PK) and displayname (required when inserting rows). Check list_tables first to avoid duplicates; use add_field afterwards to add custom columns or lookups. Returns { entityType: { id, tableName, displayName, dataSourceType, workspaceId } }.
Inputs: tableName (required), displayName.
delete_fieldADestructive
Permanently delete a non-key field from an entity type. Irreversible destructive schema mutation: removes the column definition and its stored values across all existing rows; requires administrative permissions. System/primary key fields cannot be deleted. Use get_table first to verify the field name, add_field to add columns, or delete_rows to delete records instead of columns. Returns confirmation of the deleted field.
Inputs: fieldName (required), tableName (required).
delete_rowsADestructive
Permanently delete one or multiple records by primary key. Irreversible destructive operation enforcing RLS permissions. Pass item for a single delete OR items for batch deletion (not both). Each object only needs the primary key field (e.g. { "customer_feedbackid": 1 }; other fields are ignored). Bulk deletes are non-atomic and return { count, items: [{ status: 'ok', item }], errors: [{ status: 'error', index, message }] }. Use update_rows to modify rows or delete_field to drop a column.
Inputs: tableName (required), item, items.
get_tableARead-onlyIdempotent
Fetch full metadata, primary key name, and column/field definitions for a single entity type. Read-only. Provide either idOrName (numeric table ID or system tableName) or tableName. Always call this before create_rows, update_rows, or read_rows to discover exact field names, data types, lookup targets, and required fields (such as displayname). Returns { entityType: {...}, fields: [...] }.
Inputs: idOrName, tableName.
list_tablesARead-onlyIdempotent
List entity types (tables) accessible to the authenticated user (enforcing workspace permissions). Read-only. Omit both offset and limit to retrieve the full legacy list; provide offset and/or limit for paginated results. Returns { meta: { total, offset, limit, hasMore, returned }, items: [{ id, tableName, displayName, dataSourceType, workspaceId }] } (or an array in legacy mode). Follow with get_table to inspect a table's columns.
Inputs: limit, offset.
read_rowsARead-onlyIdempotent
Query records from an entity type with optional filtering, sorting, and pagination. Read-only; enforces Row-Level and Field-Level Security (RLS & FLS). Filtering options: use whereQuery (SQL-like condition, e.g. rating >= 4) with optional params bind map (:paramName), OR pass structured filters JSON (do not combine conflicting filters). Returns { meta: { offset, limit, returned, total? }, items: [...] }. Call get_table first to verify filterable field names.
Inputs: tableName (required), limit, offset, params, +4 more.
update_rowsAIdempotent
Partially update (patch) one or multiple existing records by primary key. Mutates data, enforcing RLS & FLS. Pass item for a single update OR items for batch updates (not both). Each object MUST include the table's primary key (<tableName>id) plus at least one field to update (only provided fields are modified). Bulk updates are non-atomic and return { count, items: [{ status: 'ok', item }], errors: [{ status: 'error', index, message }] }. Use create_rows for new records or delete_rows to remove records.
Inputs: tableName (required), item, items, returnFields.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Tools are cleanly separated along two axes: schema operations (create_table, add_field, delete_field, list_tables, get_table) versus data operations (create_rows, read_rows, update_rows, delete_rows). Each name maps to a distinct resource+action, and descriptions cross-reference related tools to reinforce boundaries. No realistic confusion between tools.
All nine tools follow a snake_case verb_noun pattern (create_table, get_table, read_rows, etc.), which is predictable. Minor deviations exist in verb choice for similar operations (add_field vs create_table, get_table vs read_rows), but the overall convention is consistent and readable.
Nine tools is well within the ideal 3-15 range and each earns its place: a tight schema-management subset plus a complete row-CRUD subset. Nothing feels redundant or padded for the scope of a data platform.
Row-level CRUD is fully covered (create/read/update/delete) and schema creation/field management is present, but the table-level lifecycle is incomplete: there is no delete_table, update_table (rename), or update_field operation. These are notable gaps that would force agents to dead-end on common administrative tasks.
Maintenance
Related MCP Connectors
Build and publish full-stack apps from your coding agent: models, rules, pages, auth, per-app MCP.
Design domain models and generate deterministic multi-stack code, driven by your coding agent.
Shared tables and Markdown docs for teams and AI-built apps, with scoped access and audited changes.
AI-native data layer: sheets, databases and apps for every agent, with exact answers and audit.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceTurns your data model into a semantic layer for AI agents, automatically generating typed, discoverable tools with entity relationships and schema discovery.644Apache 2.0- FlicenseAqualityDmaintenanceGenerates and downloads charts using QuickChart.io through Claude Desktop and other MCP clients.11-
- AlicenseAqualityCmaintenanceA Model Context Protocol server that renders Apache ECharts options to SVG, enabling AI agents to generate deterministic charts server-side without a browser.310 npmApache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to build and update complete applications, including creating, updating, publishing, previewing, and configuring databases, security, permissions, and server-side integrations.Apache 2.0