io.github.KoyoYeager/pystub
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyzeA | プロジェクトのエントリーポイントから import グラフを解析し、 スタブ置換可能なパッケージを自動検出します。 各パッケージは以下のいずれかに判定されます:
Args: entry_point: プロジェクトのエントリーポイントファイルパス python_path: site-packages パス(空の場合は現在の環境を自動検出) max_depth: import グラフの最大探索深度(デフォルト: 10) Returns: stubbable / nofollow / required に分類されたパッケージ一覧 |
| graphA | エントリーポイントからの import グラフを構築して可視化します。 全モジュールの依存関係をノードとエッジで返します。 各ノードは stdlib / third_party / local / builtin / unresolvable に分類されます。 Args: entry_point: プロジェクトのエントリーポイントファイルパス python_path: site-packages パス(空の場合は現在の環境を自動検出) max_depth: 最大探索深度(デフォルト: 5) Returns: ノード・エッジ・統計情報を含むグラフデータ |
| checkB | 特定のパッケージがプロジェクト内でどのように使われているか詳細に分析します。 import チェーン、gateway 関数、プロジェクトからの呼び出し状況を 追跡して判定結果を返します。 Args: entry_point: プロジェクトのエントリーポイントファイルパス package_name: 調査するパッケージ名(例: "pandas") python_path: site-packages パス(空の場合は現在の環境を自動検出) max_depth: import グラフの最大探索深度(デフォルト: 5) Returns: パッケージの詳細な使用分析と判定結果 |
| generateA | stubbable パッケージの最小スタブコードを生成します。 analyzer が特定した参照シンボルに基づき、import が通る最小限の ダミーモジュール(クラス定義 + 関数スタブ)を生成します。 ファイルの書き出しは行わず、{パス: コード} の辞書を返します。 Args: entry_point: プロジェクトのエントリーポイントファイルパス package_name: スタブ化するパッケージ名(例: "pandas") python_path: site-packages パス(空の場合は現在の環境を自動検出) Returns: files: {相対パス: コード内容} の辞書 referenced_symbols: 各モジュールで参照されるシンボル一覧 stub_total_bytes: スタブの合計サイズ |
| generate_submoduleA | C拡張パッケージを間接排除するためのサブモジュールスタブを生成します。 PySide6 のような C拡張パッケージは直接スタブ化できませんが、 そのパッケージを import しているサブモジュール(例: asammdf.gui)を スタブ化することで間接的に排除できます。 analyze ツールの結果に含まれる submodule_stub_hints の情報を元に このツールを使用してください。 復元失敗を防ぐため、バックアップ・バージョン固定・検証ステップを 含むビルド手順を生成します。 Args: entry_point: プロジェクトのエントリーポイントファイルパス parent_package: サブモジュールが属するパッケージ名(例: "asammdf") submodule: スタブ化するサブモジュール(例: "asammdf.gui") python_path: site-packages パス(空の場合は現在の環境を自動検出) Returns: files: {相対パス: コード内容} の辞書 eliminated_packages: 排除されるパッケージ一覧 build_instructions: バックアップ・適用・復元・検証の手順 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/KoyoYeager/mcp-pystub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server