π The fast, Pythonic way to build MCP servers and clients.
Improve templates (#1422)
Jeremiah Lowin22de076b75f5
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.ymlindex b07b9c04d..3d9a53394 100644--- a/.github/ISSUE_TEMPLATE/bug.yml+++ b/.github/ISSUE_TEMPLATE/bug.yml@@ -5,12 +5,12 @@ labels: [bug, pending]body:- type: markdownattributes:- value: Thank you for contributing to FastMCP! π+ value: Thanks for contributing to FastMCP! π- type: markdownattributes:value: |- ## Before you submit π+ ### Before you submitTo help us help you, please:@@ -18,7 +18,7 @@ body:- π **Check if someone else has already reported this issue** or if it's been fixed on the main branch- π **You MUST include a copy/pasteable and properly formatted MRE** (minimal reproducible example) below or your issue may be closed without response- Thanks for helping make FastMCP better! π+ Thanks for helping to make FastMCP better! π- type: textareaid: description@@ -38,17 +38,20 @@ body:description: >If applicable, please provide a self-contained,[minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)- demonstrating the bug.-- If possible, your example should be a single-file script. Instead of `.run()`-ing an MCP server, use a `Client` to directly interact with it (`async with Client(mcp) as client: ...`) and demonstrate the issue.+ demonstrating the bug. If possible, your example should be a single-file script.placeholder: |+ import asynciofrom fastmcp import FastMCP, Clientmcp = FastMCP()- async with Client(mcp) as client:- ...+ async def demo():+ async with Client(mcp) as client:+ ... # show the bug here++ if __name__ == "__main__":+ asyncio.run(demo())render: Python- type: textarea@@ -56,28 +59,13 @@ body:attributes:label: Version Informationdescription: |- Please provide information about your FastMCP version, MCP version, Python version, and OS.+ Please tell us about your FastMCP version, MCP version, Python version, and OS, as well as any other relevant details about your environment.- To get this information, run the following command in your terminal and paste the output below:+ To get the basic information, run the following command in your terminal and paste the output below:```bashfastmcp version --copy```-- *Note: if you're using FastMCP < 2.10.3, run `fastmcp version` instead.*-- If there is other information that would be helpful, please include it as well.render: Textvalidations:required: true-- - type: textarea- id: additional_context- attributes:- label: Additional Context- description: |- Add any other context about the problem here. This could include:- - The full error message and traceback (if applicable)- - Information about your environment (e.g., virtual environment, installed packages)- - Steps to reproduce the issue- - Any recent changes in your code or setup that might be relevantdiff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.ymlindex ecbd23531..43b8b4de9 100644--- a/.github/ISSUE_TEMPLATE/enhancement.yml+++ b/.github/ISSUE_TEMPLATE/enhancement.yml@@ -5,34 +5,30 @@ labels: [enhancement, pending]body:- type: markdownattributes:- value: Thank you for contributing to FastMCP! We value your ideas for improving the framework. π‘+ value: Thanks for contributing to FastMCP! π++ - type: markdown+ attributes:+ value: |+ ### Before you submit++ To help us evaluate your enhancement request:++ - π **Check if this has already been requested** - search existing issues first+ - π **Think about the broader impact** - how would this affect other users?+ - π **Consider implementation complexity** - is this a small change or a major feature?++ Thanks for helping to make FastMCP better! π- type: textareaid: descriptionattributes:- label: Enhancement Description+ label: Enhancementdescription: |- Please describe the enhancement you'd like to see in FastMCP.+ Please describe the enhancement:- - What problem would this solve?- - How would this improve your workflow or experience with FastMCP?+ - What problem or use case would it solve?+ - How would it improve your workflow or experience with FastMCP?- Are there any alternative solutions you've considered?validations:required: true-- - type: textarea- id: use_case- attributes:- label: Use Case- description: |- Describe a specific use case or scenario where this enhancement would be beneficial.- If possible, provide an example of how you envision using this feature.-- - type: textarea- id: example- attributes:- label: Proposed Implementation- description: >- If you have ideas about how this enhancement could be implemented,- please share them here. Code snippets, pseudocode, or general approaches are welcome.- render: Python