Skip to main content

MCPTiny

MCPTiny 是一个基于 Model Context Protocol (MCP) 的最小化服务示例,用于演示如何创建和使用 MCP 服务器。

安装要求

  • Python 3.13 或更高版本
  • FastMCP 库

安装方法

通过 pip 安装

pip install mcptiny

从源代码安装

git clone https://github.com/lvst-gh/mcptiny.git
cd mcptiny
pip install -e .

使用方法

在 Amazon Q 中配置

在 Amazon Q 配置文件中添加以下配置:

{
  "mcp-servers": {
    "mcptiny": {
      "command": "uvx",
      "args": [
        "mcptiny@latest"
      ],
      "env": {
        "FASTMCP_LOG_LEVEL": "ERROR"
      }
    }
  }
}

功能

  • list_files: 获取指定路径下的文件列表

许可证

MIT

Metadata

Release files for mcptiny 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcptiny 0.1.0
File Size Uploaded Provenance
mcptiny-0.1.0.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcptiny 0.1.0
File Interpreter ABI Platform
mcptiny-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / mcptiny-0.1.0.tar.gz

Download URL mcptiny-0.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3e9f6d385012c5d7acc2a49fee3b13a731b065c6d41f623ed2f2c6e0c9cf722f
BLAKE2b-256 checksum
How to use checksums
54d72d1f5396d73001b42322b5827d5c96a0f78f84ac4e1668a0111ef9aeaf08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Release files / mcptiny-0.1.0-py3-none-any.whl

Download URL mcptiny-0.1.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1bec96fb0088eb3bd4871a0274cea29a60c077fa0aae166b9cc13153295b550
BLAKE2b-256 checksum
How to use checksums
52d945ece791f284872bf71b3db046b51880e1e0285382b47f43abdabfe0a819
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Security for mcptiny 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page