Skip to main content
Glama

WordPress MCP Extension

VS Code용 WordPress MCP 확장 프로그램

이 VS Code 확장 프로그램은 WordPress 통합을 위한 모델 컨텍스트 프로토콜(MCP) 서버를 구현합니다. VS Code가 WordPress 환경을 이해하도록 도와 개발을 더욱 쉽고 직관적으로 만들어줍니다.

특징

  • WordPress 구성 감지 : 현재 디렉토리부터 상위 디렉토리까지 검색하여 자동으로 wp-config.php 파일을 찾습니다.
  • 데이터베이스 통합 : WordPress 데이터베이스 자격 증명을 추출하고 WordPress 데이터베이스에 연결합니다.
  • WordPress 설치 경로 : WordPress 설치 디렉토리를 감지합니다.
  • 지능형 코드 완성 : WordPress 함수 및 후크에 대한 컨텍스트 인식 코드 완성을 제공합니다.
  • 문서 호버 : 현재 WordPress 버전을 포함한 WordPress 기능에 대한 문서를 표시합니다.
  • 코드 작업 : WordPress 전용 코드 작업 및 빠른 수정을 제공합니다.

요구 사항

  • VS 코드 1.74.0 이상
  • 확장 프로그램이 액세스할 수 있는 WordPress 설치
  • Node.js와 npm(개발용)

용법

  1. WordPress 설치가 포함된 폴더 또는 WordPress 설치의 자식 디렉토리를 엽니다.
  2. 확장 프로그램은 자동으로 wp-config.php 파일을 검색합니다.
  3. WordPress MCP: Connect to WordPress 명령을 사용하여 WordPress 설치에 명시적으로 연결합니다.
  4. 특정 WordPress 환경에 기반한 지능형 지원으로 향상된 WordPress 코딩을 즐겨보세요.

확장 설정

이 확장 프로그램에는 추가 설정이 필요하지 않습니다.

알려진 문제

  • PHP 직렬화 구문 분석은 단순화된 방식으로 구현되며 모든 직렬화된 데이터 형식을 처리하지 못할 수 있습니다.
  • VS Code가 종료되면 데이터베이스 연결도 제대로 닫혀야 합니다.

릴리스 노트

0.1.0

WordPress의 기본 통합 기능을 갖춘 WordPress MCP 확장 프로그램의 최초 릴리스입니다.


개발

확장 구축

지엑스피1

확장 패키징

npm install -g vsce vsce package

이렇게 하면 VS Code에 설치할 수 있는 .vsix 파일이 프로젝트 디렉토리에 생성됩니다.

확장 프로그램 테스트

확장 프로그램을 설치한 후 다음 명령을 사용하여 기능을 테스트할 수 있습니다.

  1. WordPress 연결 테스트 :
    > WordPress MCP: Connect to WordPress
    이 명령은 WordPress 설치를 검색하여 연결합니다.
  2. WordPress 구성 보기 :
    > WordPress MCP: Show WordPress Configuration
    여기에는 데이터베이스 자격 증명과 기타 WordPress 구성 세부 정보가 표시됩니다.
  3. WordPress 데이터베이스 쿼리 :
    > WordPress MCP: Query Database
    이를 통해 WordPress 데이터베이스에 대해 자연어 쿼리를 실행할 수 있습니다.
  4. 채팅을 통한 MCP 통합 테스트 :
    @wordpress What is the database name in wp-config.php?
    VS Code 채팅 인터페이스에서 MCP 통합을 테스트하는 데 사용합니다. 기타 유용한 쿼리:
    • @wordpress 데이터베이스 사용자 이름은 무엇입니까?
    • @wordpress 활성 플러그인을 보여주세요
    • @wordpress 어떤 테마가 활성화되어 있나요?
    • @wordpress 어떤 사용자 정의 게시물 유형을 사용할 수 있나요?
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

WordPress에 특화된 인텔리전스, 데이터베이스 통합, 코드 완성, 문서화 등을 포함하여 VS Code를 향상시키는 WordPress용 모델 컨텍스트 프로토콜 서버를 구현합니다.

  1. 특징
    1. 요구 사항
      1. 용법
        1. 확장 설정
          1. 알려진 문제
            1. 릴리스 노트
              1. 0.1.0
            2. 개발
              1. 확장 구축
              2. 확장 패키징
              3. 확장 프로그램 테스트

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
              Last updated -
              12
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.
              Last updated -
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that exposes over 200+ APIs from API.market as MCP resources, allowing large language models to discover and interact with various APIs through natural language commands.
              Last updated -
              111
              2
              TypeScript
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              A flexible Model Context Protocol server that makes documentation or codebases searchable by AI assistants, allowing users to chat with code or docs by simply pointing to a git repository or folder.
              Last updated -
              1
              31
              19
              JavaScript
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/sharmashivanand/mcp-wordpress'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server