Skip to main content

开发者工具 MCP 服务器

一个专为开发者设计的 MCP (Model Context Protocol) 服务器,提供常用的开发工具功能。

功能特性

🛠️ 工具 (Tools)

  • format_json: JSON 格式化工具,美化 JSON 字符串
  • count_lines: 文件统计工具,统计行数、字符数等信息
  • list_files: 文件列表工具,列出目录下的文件并可按扩展名过滤

📄 资源 (Resources)

  • project://info: 获取当前项目的基本信息

💡 提示词 (Prompts)

  • code_review_prompt: 生成代码审查提示词

安装与运行

环境要求

  • Python >= 3.13
  • mcp[cli] >= 1.13.0

安装依赖

pip install mcp[cli]

运行服务器

python main.py

使用示例

格式化 JSON

# 输入混乱的 JSON
format_json('{"name":"张三","age":25}')
# 输出格式化的 JSON

统计文件信息

count_lines("main.py")
# 返回文件的行数、字符数等统计信息

列出文件

list_files(".", ".py")
# 列出当前目录下所有 Python 文件

比赛信息

本项目参加蓝耘元生代MCP广场:开启服务调用新旅程比赛

  • 分类:开发者工具
  • 特点:简单实用,本地 stdio 运行
  • 目标:为开发者提供便捷的日常开发工具

技术架构

  • 基于 FastMCP 框架
  • 使用 stdio 传输协议
  • 支持工具、资源和提示词三种功能类型
  • 轻量级设计,易于部署和使用

许可证

MIT License

Metadata

Release files for aouyi-develop-mcp-demo 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 aouyi-develop-mcp-demo 0.1.0
File Size Uploaded Provenance
aouyi_develop_mcp_demo-0.1.0.tar.gz 3.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aouyi-develop-mcp-demo 0.1.0
File Interpreter ABI Platform
aouyi_develop_mcp_demo-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / aouyi_develop_mcp_demo-0.1.0.tar.gz

Download URL aouyi_develop_mcp_demo-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
011a9e6b8ef28598643dbe3bec22887e8e133919d529a433a5f11ae8c98e506c
BLAKE2b-256 checksum
How to use checksums
0e9e2f0065bb6b41b6531bd9155f479bcbadd4dcf1bb4016cf5476cfb6aa688b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.11

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

Download URL aouyi_develop_mcp_demo-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8b70e6b753b6caa34ba4309c7b1ef4377037cf93f75b4d202ffc90bd30bc854
BLAKE2b-256 checksum
How to use checksums
b9caa4867053e4354ccf2a66a33f77a6e900368834e829914f20eb7b07d52d90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.11

Security for aouyi-develop-mcp-demo 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