Choose your appLesson 5 of 9 · 6 steps

Connect an AI assistant in VS Code

Add the server to your installed VS Code MCP integration and test discovery.

Before you start

  • Complete Install EMCP Free and Pro and Connect an AI agent.
  • Have the named app installed with MCP support available.

Let’s do this, step by step.

Step 01

Copy the site address

Open EMCP Tools → Connection → MCP. Check Server status, copy the HTTPS endpoint and enable OAuth sign-in under Advanced settings if needed. There is no VS Code client card.

In WordPress, open EMCP Tools, then Connection. Copy the server address and check browser sign-in is enabled. There is no VS Code card in this wizard, so we will add the connection manually.

Step 02

Use the built-in setup

Use VS Code with an MCP-capable agent. Run MCP: Add Server from the Command Palette and select HTTP. The Claude Code extension has its own setup lesson.

In VS Code, open the Command Palette and run MCP: Add Server. Choose HTTP. This lesson uses the built-in server setup.

Step 03

Add the site

Paste the EMCP endpoint, give it a unique name and select the offered user or workspace target. Let the wizard create the configuration file. Do not use the old settings.json extension format.

Paste the address copied from WordPress and give the server a name. Choose whether it belongs to your user or workspace, then let the wizard save the configuration.

Step 04

Approve WordPress sign-in

Start the server, follow authentication and approve the intended WordPress account. Keep credentials out of chat and footage.

Start the connection and complete browser sign-in. Check the WordPress account and website before approving access.

Step 05

Inspect status

Use MCP: List Servers and inspect output if it fails. Enable the needed actions in the chat tool picker.

Open MCP: List Servers to inspect the connection. In chat, check the tool picker and enable the actions you need.

Step 06

Check with a real request

Open a new conversation and send the prompt. Compare its answer with Pages in WordPress.

We are connected when the app can read actual records from this site. Check the site address and page titles. Leave editing for the next lesson.

Copy and adapt
                    Identify the WordPress site URL. List pages with titles, IDs and status. Do not make any changes.
                  

You’re done when…

The app reads real page records from the intended site without changing anything.

Keep the reference handy.

The docs cover tool details and requirements for this lesson.

You only need the guide for the app or builder you use. Ready to build? Try an Elementor draft or use Gutenberg.

Your EMCP guide

Answers from our docs

YOUR CHAT, YOUR CHOICE

Before we chat

MSR Builds processes your question and up to four recent messages on our server to answer from the EMCP docs. AI is optional and needs your separate permission.

The chat is kept in this page's memory, not saved as a conversation in our database or browser storage. Our hosting and security services process connection information, such as your IP address, to prevent abuse.

Cloudflare Turnstile checks your browser and connection to prevent automated abuse when you send a question. No login is required.

Please leave out personal, sensitive or confidential information, passwords and API keys.

You can withdraw consent and clear this page's chat at any time. This cannot undo a request already sent or erase provider/security records.

Chat privacy, retention & your rights ↗ · Privacy contact

Starting chat consents to this processing. You can browse our docs without using the chat.