What is MCP?
Model Context Protocol (MCP) is an open standard for connecting LLMs to external data sources and tools. Zencoder acts as an MCP client — it connects to MCP servers that expose specific capabilities like database queries, API calls, or browser automation. For basic setup, see Integrations & MCP. This page covers advanced configuration, custom server development, and troubleshooting.Configuration Reference
MCP servers are configured differently depending on your IDE:- VS Code
- JetBrains
Add servers to your VS Code settings under
zencoder.mcpServers:Configuration Properties
| Property | Required | Description |
|---|---|---|
command | Yes (stdio) | The executable to run (e.g., npx, uvx, docker) |
args | No | Array of command-line arguments |
env | No | Environment variables passed to the server process |
url | Yes (HTTP) | URL for remote HTTP-based MCP servers |
Connection Protocols
Zencoder supports three MCP connection protocols:stdio (Local Servers)
The server runs as a subprocess on your machine. Communication happens over stdin/stdout.Streamable HTTP (Remote Servers)
For servers running on a remote host, use HTTP-based connections:OAuth2 (Authenticated Remote Servers)
For third-party services requiring OAuth2 authentication:Platform Support:
- JetBrains: Full support for stdio, HTTP, and OAuth2
- VS Code: Supports stdio. HTTP and OAuth2 support is being rolled out — check the changelog for status.
Popular MCP Servers
These servers are available in the built-in MCP Library (Agent Tools → MCP Library):| Server | What it does | Install |
|---|---|---|
| GitHub | Repos, PRs, issues, code search | npx @modelcontextprotocol/server-github |
| PostgreSQL | Query databases, inspect schemas | npx @modelcontextprotocol/server-postgres |
| Filesystem | Read/write files outside workspace | npx @modelcontextprotocol/server-filesystem |
| Slack | Read channels, send messages | npx @modelcontextprotocol/server-slack |
| Figma | Extract design data for code generation | Via MCP Library |
| Sentry | Pull error details and stack traces | Via MCP Library |
| Linear | Issues, projects, and workflows | Via MCP Library |
| Brave Search | Web search for documentation and APIs | npx @modelcontextprotocol/server-brave-search |
Building a Custom MCP Server
If no existing server fits your needs, you can build your own. MCP servers are lightweight programs that expose tools via the MCP protocol.Quick Start with Python
Quick Start with TypeScript
Resources
- MCP Specification — Full protocol documentation
- MCP TypeScript SDK
- MCP Python SDK
Tool Permissions
Agents request permission before invoking MCP tools. You control this through the permission prompt:- Allow once — permit the tool call for this interaction
- Always allow — trust this tool for all future calls (configurable in settings)
- Deny — block the tool call
You can configure trusted tools in Zencoder settings to skip the permission prompt for tools you use frequently.
Troubleshooting
MCP server not appearing in agent tools
MCP server not appearing in agent tools
- Verify the configuration syntax in your settings
- Check that the
commandexecutable is available in your PATH - Restart the IDE after adding a new server
- Look at the Zencoder output panel for error messages
Server starts but tools don't work
Server starts but tools don't work
- Ensure the server implements the MCP protocol correctly
- Check that required environment variables are set in the
envblock - For Docker-based servers, verify Docker is running
- Test the server independently:
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | your-command
Authentication failures with OAuth2
Authentication failures with OAuth2
- OAuth2 is fully supported on JetBrains; VS Code support is being rolled out
- Clear cached tokens and re-authenticate
- Verify the OAuth2 redirect URL is configured correctly in the service provider
Server crashes or times out
Server crashes or times out
- Check server logs for unhandled exceptions
- Ensure the server handles malformed input gracefully
- For remote servers, verify network connectivity and firewall rules
- Increase timeout values if your server processes large datasets
Related
Integrations & MCP
Basic MCP setup and the built-in MCP Library
Coding Agent
The primary agent that invokes MCP tools