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.
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.
A brief becomes a real page.