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 developer-tools-mcp 1.0.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 developer-tools-mcp 1.0.0
File Size Uploaded Provenance
developer_tools_mcp-1.0.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for developer-tools-mcp 1.0.0
File Interpreter ABI Platform
developer_tools_mcp-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / developer_tools_mcp-1.0.0.tar.gz

Download URL developer_tools_mcp-1.0.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a6472ea9af1cfb55d95727dd4d07e76aad696cb340d43e3bbe3974a175d0879a
BLAKE2b-256 checksum
How to use checksums
8e80afeed6680f68818d35895113fd7a55cb02ee91e795e065e22f6937158af5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.11

Release files / developer_tools_mcp-1.0.0-py3-none-any.whl

Download URL developer_tools_mcp-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e961c9c5bad0194f4f44a60af923331e856d92d999198419aa1ea88a56a891c0
BLAKE2b-256 checksum
How to use checksums
00f465d8bf92b4d5a763df78c25574e92923292d56bf4396acc2580b73eae892
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.11

Security for developer-tools-mcp 1.0.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

1.0.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