코드 러너 MCP 서버
코드 조각을 실행하고 결과를 보여주는 MCP 서버입니다.
JavaScript, PHP, Python, Perl, Perl 6, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, C# Script, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Clojure, Racket, Scheme, AutoHotkey, AutoIt, Kotlin Script, Dart, Haskell, Ni, Lisp, Kit, V, SCSS, Sass 등 여러 프로그래밍 언어 실행을 지원합니다 . 전체 목록은 여기 constants.ts 파일 에서 확인할 수 있습니다.
설정
VS Code용 npx
아래 버튼을 사용하여 VS Code에 Code Runner MCP 서버를 설치하세요.
또는 settings.json
에 구성을 추가할 수 있습니다.
지엑스피1
Claude Desktop용 npx
claude_desktop_config.json
의 구성:
도커
VS Code를 예로 들어 보겠습니다. 아래 버튼을 사용하여 VS Code에 Code Runner MCP 서버를 설치하세요.
또는 settings.json
에 구성을 추가할 수 있습니다.
Widnows의 npx 문제
Windows에서 MCP 서버는 npx
에 연결하지 못할 수 있습니다 .
다음 두 가지 해결 방법을 시도해 보세요.
번크스를 사용하다
- Bun을 설치하세요.
- 구성에서
npx``bunx
로 변경합니다.
cmd를 사용하세요
settings.json
의 VS Code 구성은 다음과 같습니다.
스트리밍 가능한 HTTP 전송 으로 실행
용법
Code Runner MCP Server를 사용하기 전에 실행하려는 프로그래밍 언어의 인터프리터 또는 컴파일러가 PATH
환경 변수에 설정되어 있는지 확인하세요.
Code Runner MCP Server가 구성된 애플리케이션에서 아래 프롬프트를 시도해 보세요.
Run the JavaScript Code: console.log(5+6)
Where is temporary folder in my OS? Use run-code tool
How many CPUs do I have in my machine? Use run-code tool
나만의 MCP 서버 구축
MCP 서버를 직접 만들고 싶으신가요? Yeoman Generator for MCP Server를 사용하여 MCP 서버 프로젝트를 만들어 보세요!
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
코드 조각을 실행하고 결과를 보여주는 MCP 서버입니다.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server to run commands.Last updated -2265150TypeScriptMIT License
- AsecurityAlicenseAqualityMCP server for collecting code from files and directories into a single markdown document.Last updated -24PythonMIT License
- AsecurityAlicenseAqualityA MCP server for managing and storing code snippets in various programming languages, allowing users to create, list, and delete snippets via a standardized interface.Last updated -34JavaScriptMIT License
- AsecurityAlicenseAqualityThis project aims to build a Claude Code MCP server and implement its associated tools (explain\_code, review\_code, fix\_code, edit\_code, test\_code, simulate\_command, your\_own\_query). The server is implemented using Node.js and the MCP SDK. It receives tool requests from clients via Stdio, dynamicallyLast updated -73018JavaScriptMIT License