-
securityA
license-
qualityA Model Context Protocol server that extracts and analyzes Python code structures, focusing on import/export relationships between files to help LLMs understand code context.
Last updated -
4
Python
MIT License
モデルコンテキストプロトコル(MCP)用のPyodideサーバー実装。このサーバーにより、大規模言語モデル(LLM)がMCPインターフェースを介してPythonコードを実行できるようになります。
stdio モードで起動します (デフォルト):
SSE モードで起動します。
SSE モードで実行している場合、サーバーは次のエンドポイントを提供します。
http://localhost:3020/sse
http://localhost:3020/messages
クライアント接続の例:
@modelcontextprotocol/sdk
: MCP SDK (^1.4.0)pyodide
: Python ランタイム環境 (^0.27.1)arktype
: 型検証ライブラリ (^2.0.1)express
: SSE サポート用の Web フレームワークcors
: SSE サポート用の CORS ミドルウェアnpm run build
: TypeScript をコンパイルし、実行権限を設定するnpm start
: stdioモードでサーバーを実行するnpm run start:sse
: SSEモードでサーバーを実行するPYODIDE_CACHE_DIR
: Pyodide キャッシュのディレクトリ (デフォルト: "./cache")PYODIDE_DATA_DIR
: マウントされたデータのディレクトリ(デフォルト: "./data")PORT
: SSEサーバーのポート(デフォルト: 3020)マサチューセッツ工科大学
git checkout -b feature/amazing-feature
)git commit -am 'Add some amazing feature'
)git push origin feature/amazing-feature
)問題や質問については、問題追跡システムをご利用ください。
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
モデル コンテキスト プロトコル (MCP) を介して大規模言語モデル (LLM) によって Python コードを実行するための Pyodide サーバー。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yonaka15/mcp-pyodide'
If you have feedback or need assistance with the MCP directory API, please join our Discord server