Skip to main content

Model Context Protocol: What It Is and How to Use It

MCP (Model Context Protocol) is an open standard based on JSON-RPC that defines how LLMs connect to tools, services, and data. With MCP, developers don't need to build custom integrations for every single tool.

The protocol supports two-way communication: AI agents can not only request and receive data, but also perform actions in external applications or even directly in the operating system. In short, MCP provides a universal interface that makes it easier for LLMs to work with external tools and resources.

Connecting an MCP Server in Explyt

To connect an MCP server in the Explyt Plugin, open the IntelliJ IDEA settings and go to Explyt -> MCP Servers. Depending on your setup, choose the protocol type: STDIO, SSE, or HTTP.

STDIO

STDIO (Standard Input/Output) is typically used for MCP servers running locally. Before connecting, make sure the startup command runs successfully on your machine (for example, that the Docker image is downloaded and starts correctly with the required arguments).

SSE / HTTP

For network connections, enter the server URL and bearer token in the appropriate fields:

Once connected, the server's tools will appear in the tools section.

JSON Configuration

All configured servers are stored in a JSON file at: $USER_HOME/.explyt/mcp_servers.json.

After a successful connection, the server’s tools will be available in the tools section of the Explyt Agent chat header explyt agent plugin icon. To view the list of tools, open the dropdown menu and select the connected server.