Python_Scripts_MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| 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 |
|---|---|
| xlsx_to_txtA | 扫描指定目录下所有 .xlsx Excel 文件,生成文件树并提取每个文件的所有 Sheet 内容,以表格格式输出到文本文件。自动过滤全空行/列。适用于:将 Excel 数据转换为 AI 可读的纯文本格式、批量提取表格数据。参数: -d <目录路径> 指定扫描目录(默认当前目录);-o <文件名> 指定输出文件(默认 xlsx_contents.txt);--raw-formulas 提取公式原文(默认提取计算后的值);--max-rows <行数> 限制每个 Sheet 最大读取行数。自动跳过 .venv 目录及 .gitignore 中忽略的内容。 |
| mainA | 简单的 Hello World 测试脚本。输出欢迎信息,用于验证 Python 环境是否正常工作。无需参数。 |
| python_to_txtA | 扫描当前目录下所有 .py 文件(递归),提取每个文件的代码内容,合并输出到一个文本文件中。格式:每个文件以【相对路径】和【代码】标记分隔。适用于:代码审查、准备 AI 上下文输入、代码汇总存档。无参数,默认扫描当前目录,输出到 output_py_files.txt。自动跳过 .venv、pycache、.git 目录及 .gitignore 中忽略的内容。 |
| tree_to_txtA | 扫描指定目录(默认为当前目录)生成完整目录文件树,保存到文本文件中。适用于:项目结构概览、文档编写、了解目录层级关系。参数: -d <目录路径> 指定扫描目录(默认当前目录);-o <文件名> 指定输出文件(默认 file_tree.txt)。自动跳过 .venv、pycache、.git 目录及 .gitignore 中忽略的内容。 |
| text_to_txtA | 扫描当前目录下所有文本文件(自动检测 UTF-8/UTF-16/GBK/Latin-1 编码),将文件内容合并输出到一个文本文件中。格式:每个文件以【文件名】标记分隔。适用于:文档汇总、语料准备、文本分析、合并散落的文本资料。无参数,默认扫描当前目录,跳过自身输出文件,输出到 merged_texts.txt。自动跳过 .venv 目录及 .gitignore 中忽略的内容。 |
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/Liangbiaoyong/Python_Scripts_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server