What MCP Provides
MCP servers expose three types of capabilities:| Capability | Description | Example |
|---|---|---|
| Tools | Functions the agent can call | File operations, database queries, API calls |
| Resources | Data the agent can read | Files, configurations, live data feeds |
| Prompts | Reusable prompt templates | Analysis templates, code review prompts |
Architecture
Transport Types
Definable supports all three MCP transport types:| Transport | Protocol | Best For |
|---|---|---|
| stdio | Subprocess stdin/stdout | Local CLI tools, npm packages |
| SSE | HTTP + Server-Sent Events | Remote servers, legacy MCP |
| HTTP | Streamable HTTP | Remote servers, modern MCP |
Quick Example
Connect to a filesystem MCP server and use it in an agent:Key Components
Getting Started
Connect to your first MCP server step by step.
Configuration
Configure servers, transports, timeouts, and tool filtering.
Resources
Read data from MCP resource providers.
Prompts
Use reusable prompt templates from MCP servers.
Error Handling
Handle connection failures, timeouts, and reconnection.
Mock Servers
Test MCP integrations without real servers.