Documentation Menu

Model Context Protocol (MCP)

Morph IDE natively integrates the Model Context Protocol (MCP), an open architectural standard allowing enterprise engineering teams to safely extend autonomous agent intelligence beyond localized filesystem boundaries.

Connecting External Datasets & APIs

By registering MCP Server connections in your workspace preferences, autonomous agents in Gather and Agent modes gain direct, secure lookup authorization to interact with enterprise infrastructure and external productivity tools in real time during conversation loops:

Data & Storage

🗄️Database Schema Introspection

Grant agents read-only MCP access to local development container instances of Postgres, SQLite, MySQL, or MongoDB to inspect live schema tables during development.

⚡ Workflow ExampleWhen tasked with creating a new Prisma or TypeORM migration, the agent executes an MCP query to inspect live table column constraints, ensuring zero syntax hallucinations or schema field mismatches.
Project Governance

🎯Jira & Linear Ticket Tracking

Connect Jira, Linear, or GitHub Issues MCP servers directly to your editor workbench, bringing issue tickets straight into your conversational debugging loops.

⚡ Workflow ExampleMention an issue tag directly in sidebar chat (e.g., @LIN-402). The agent queries Linear via MCP, parses the exact bug reproduction steps and acceptance criteria, and commences codebase bug tracing immediately.
Enterprise Knowledge

📚Internal Wikis & OpenAPI Specs

Provide autonomous agents live lookup access to proprietary company Confluence wikis, microservice OpenAPI / Swagger specifications, or private UI Storybook component catalogs.

⚡ Workflow ExampleWhile integrating an authentication microservice, Morph queries your internal Swagger MCP endpoint to retrieve current required headers and JSON request payload structures before generating API wrapper code.

Configuring MCP Servers

Connecting an MCP server takes just a few lines in your global or workspace-level settings.json file. Morph IDE supports standard command execution via local Node/Python binaries:

Example Workspace Settings (.vscode/settings.json)

Register independent server definitions under the designated MCP configuration namespace:

{
  "morph.mcp.servers": {
    "postgres-local": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost:5432/dev_db"]
    },
    "linear-issues": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-linear"],
      "env": { "LINEAR_API_KEY": "lin_api_secret_key..." }
    }
  }
}
🛡️
Enterprise Security Compliance: MCP server interactions execute locally via isolated background processes (using standard input/output streams or local HTTPS). External schemas and token credentials remain strictly confined to your environment and are never transmitted to third-party telemetric analytics platforms.