For the complete documentation index, see llms.txt. This page is also available as Markdown.

Using MCP Servers with AI Coding

MCP (Model Context Protocol) lets your AI Coding agent connect to external tools and data sources — for example, web lookups, reading/writing files, querying a database, or working with Jira, GitHub… This is how you "extend" an agent's capabilities, which is different from attaching a model.

An easy way to tell them apart:

  • Attaching a model (GLM 5.2) = giving the agent a brain to think with → see Getting Started with AI Coding.

  • Attaching an MCP server = giving the agent extra hands to work with external systems (the topic of this page).

The two are independent: you can use GLM 5.2 without MCP, and vice versa.


1. What is an MCP server

An MCP server is a small program that gives an agent a set of "tools". When you ask the agent to do something that needs external data, the agent automatically calls the matching tool through that MCP server. There are 2 common types:

Type
Runs where
Example

Local (stdio)

Right on your machine

reading files, running commands, accessing an internal DB

Remote (HTTP/SSE)

On a remote server

enterprise connectors (Jira, GitHub, internal search)


2. Prerequisites

  • You've attached the GLM 5.2 model to your agent following Getting Started with AI Coding.

  • Details of the MCP server you want to add (the run command if local; or the URL + token if remote).


3. Adding an MCP server

On Claude Desktop (GUI)

  1. Enable Developer Mode (same as when configuring the model): Help → Troubleshooting → Enable Developer Mode.

  2. Go to Developer → configure the MCP server (Local MCP) and declare the server: name, run command (local) or URL (remote).

  3. Restart the app. During your session, the agent will automatically use tools from the MCP server when needed.

On Claude Code (CLI)

Quickly add an MCP server with:

List servers you've added:


4. Governing MCP within GreenNode

If you're rolling out MCP at an organizational scale (controlling which servers are allowed, permissions per tool, routing through a shared gateway), see AgentBase's MCP Governance section:


Need help?

If you've followed the steps and it's still not working, feel free to contact GreenNode Customer Support:

Thank you for using GreenNode's services.

Last updated