Python Local MCP Server
python_local MCP 서버
대화형 Python REPL(Read-Eval-Print Loop) 환경을 제공하는 MCP 서버입니다.
구성 요소
자원
서버는 REPL 세션 기록에 대한 액세스를 제공합니다.
세션 기록에 액세스하기 위한 사용자 정의
repl://URI 체계각 세션의 기록은 텍스트/일반 리소스로 볼 수 있습니다.
기록은 각 실행에 대한 입력 코드와 해당 출력을 보여줍니다.
도구
서버는 하나의 도구를 구현합니다.
python_repl: 영구 세션에서 Python 코드를 실행합니다.필요한 인수로
code(실행할 Python 코드)와session_id사용합니다.각 세션에 대해 별도의 상태를 유지합니다.
표현식과 문장을 모두 지원합니다
stdout/stderr 출력을 캡처하여 반환합니다.
Related MCP server: Django Shell MCP Server
구성
설치하다
클로드 데스크탑
MacOS의 경우: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json
개발
건축 및 출판
배포를 위해 패키지를 준비하려면:
종속성 동기화 및 잠금 파일 업데이트:
지엑스피1
패키지 배포 빌드:
uv build이렇게 하면 dist/ 디렉토리에 소스와 휠 배포판이 생성됩니다.
PyPI에 게시:
uv publish참고: 환경 변수나 명령 플래그를 통해 PyPI 자격 증명을 설정해야 합니다.
토큰:
--token또는UV_PUBLISH_TOKEN또는 사용자 이름/비밀번호:
--username/UV_PUBLISH_USERNAME및--password/UV_PUBLISH_PASSWORD
디버깅
MCP 서버는 stdio를 통해 실행되므로 디버깅이 어려울 수 있습니다. 최상의 디버깅 환경을 위해서는 MCP Inspector 사용을 강력히 권장합니다.
다음 명령을 사용하여 npm 통해 MCP Inspector를 시작할 수 있습니다.
npx @modelcontextprotocol/inspector uv --directory /path/to/python_local run python-localInspector를 실행하면 브라우저에서 접근하여 디버깅을 시작할 수 있는 URL이 표시됩니다.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI assistants to execute Python code with pexpect functionality for interactive debugging sessions with command-line tools like LLDB and GDB. Maintains a stateful Python session allowing programmatic control of interactive processes.74Apache 2.0
- Alicense-qualityAmaintenanceProvides a stateful Django shell environment that allows AI assistants to execute Python code directly against Django projects. Maintains persistent session state between calls, enabling iterative exploration of models, queries, and debugging.40MIT
- Flicense-qualityCmaintenanceProvides interactive Python REPL capabilities with persistent sessions, virtual environment support, package management via uv, and development tools like testing, linting, and code formatting for Python projects.
- Alicense-qualityDmaintenanceProvides a persistent Python REPL session as a tool for executing code, managing files, installing packages, and initializing projects via the MCP protocol.1MIT
Related MCP Connectors
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Persistent memory for AI agents. Search, store, and recall across sessions.
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
Appeared in Searches
- AI tools for debugging Python code
- MaxScript scripting documentation and tutorials for 3ds Max
- MCP servers for curated context in Cursor IDE to plan, debug, and iterate on features
- A server for web searching, content summarization, and task automation
- Testing Local AI Agents in LMStudio for Computer Use and Code Execution Tasks
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Alec2435/python_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server