PlanetScale

السجل الرسمي البيانات وقواعدها

Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http planetscale 'https://mcp.pscale.dev/mcp/planetscale'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "planetscale": {
            "type": "http",
            "url": "https://mcp.pscale.dev/mcp/planetscale"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. PlanetScale MCP Server Tools
  2. Related docs
  3. Project scope
  4. Quick start
  5. Testing locally
  6. Contributing

PlanetScale MCP Server Tools

This repository contains tool implementations that are part of the [PlanetScale MCP server][ps-mcp].

The full hosted MCP server includes additional tools that are generated from the PlanetScale API OpenAPI spec, not every production tool lives in this repository.

  • Hosted server overview: [PlanetScale MCP docs][ps-mcp]
  • PlanetScale API OpenAPI spec: [OpenAPI spec docs][ps-openapi]

Project scope

This repo is focused on:

  • MCP tools we maintain directly in TypeScript
  • shared helper code used by those tools
  • local development and validation of the open-source portions

Some MCP functionality is intentionally not duplicated here because it is generated from the API spec and maintained in that generation pipeline.

Quick start

Install dependencies:

pnpm install

Build a deployment zip:

pnpm build

Push to Gram:

pnpm push

Testing locally

Run a local MCP server over stdio with inspector support:

pnpm dev

This launches [MCP Inspector][mcp-inspector] so you can interactively test tool behavior during development.

Contributing

See CONTRIBUTING.md for contribution workflow and project conventions.

[mcp-inspector]: https://github.com/modelcontextprotocol/inspector [ps-mcp]: https://planetscale.com/docs/connect/mcp [ps-openapi]: https://planetscale.com/docs/api/openapi-spec

الأسئلة الشائعة

ما هو PlanetScale؟

Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

كيف أثبّت PlanetScale؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http planetscale 'https://mcp.pscale.dev/mcp/planetscale'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج PlanetScale إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل PlanetScale مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص Apache-2.0.

من يصون PlanetScale؟

ينشره planetscale. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.