Skip to main content

uv run mcp dev src/prompt_writing_assistant/mcp.py

python -m pro_craft.code.debug_agent

@mcp.tool()
async def my_tool(x: int, ctx: Context) -> str:
    """Tool that uses context capabilities.
    
    The Context object provides the following capabilities:

ctx.request_id - Unique ID for the current request
ctx.client_id - Client ID if available
ctx.fastmcp - Access to the FastMCP server instance (see FastMCP Properties)
ctx.session - Access to the underlying session for advanced communication (see Session Properties and Methods)
ctx.request_context - Access to request-specific data and lifespan resources (see Request Context Properties)
await ctx.debug(message) - Send debug log message
await ctx.info(message) - Send info log message
await ctx.warning(message) - Send warning log message
await ctx.error(message) - Send error log message
await ctx.log(level, message, logger_name=None) - Send log with custom level
await ctx.report_progress(progress, total=None, message=None) - Report operation progress
await ctx.read_resource(uri) - Read a resource by URI
await ctx.elicit(message, schema) - Request additional information from user with validation
    
    """
    # The context parameter can have any name as long as it's type-annotated
    return ctx.client_id

做到prompt_writing_herper 中 目标是, 无论什么, 随便扔进去, 然后取的时候直接取即可

然后做code自动化编写的coder 写完之后写豆包语音智能体的链接, mcp协议 然后重构一些, obsidian 的SDK

python -m pro_craft.code.debug_agent

Metadata

Release files for pro-craft 0.2.70

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

Source distribution (sdist)

Source distribution for pro-craft 0.2.70
File Size Uploaded Provenance Actions
pro_craft-0.2.70.tar.gz 20.9 kB Without provenance Details for pro_craft-0.2.70.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pro-craft 0.2.70
File Interpreter ABI Platform Actions
pro_craft-0.2.70-py3-none-any.whl Python 3 none any Details for pro_craft-0.2.70-py3-none-any.whl

Total release size: 36.7 kB

Release files / pro_craft-0.2.70.tar.gz

Download URL pro_craft-0.2.70.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
99e1f73a573234c47b74b3304a70cd2b9cf1636d80956a9e414e364184ebfa39
BLAKE2b-256 checksum
How to use checksums
2599b07201eadc6f17b50a6c9e50ec34e07e2b194a9ed93648d11aca1af21954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / pro_craft-0.2.70-py3-none-any.whl

Download URL pro_craft-0.2.70-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
118f31481d35f686cb3279aa7875d612164f68ae8689229af7490f1b5bc21779
BLAKE2b-256 checksum
How to use checksums
28de4526320a54318d88154950bacaf066aff4d9076a3deaa6d24b1fd016f004
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for pro-craft 0.2.70

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