File tree Expand file tree Collapse file tree 2 files changed +23
-22
lines changed Expand file tree Collapse file tree 2 files changed +23
-22
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,20 @@ First off, thank you for considering contributing to FastAPI-MCP!
7
7
1 . Make sure you have Python 3.10+ installed
8
8
2 . Install [ uv] ( https://docs.astral.sh/uv/getting-started/installation/ ) (recommended) or pip
9
9
3 . Fork the repository
10
- 4 . Clone your fork and set up the development environment:
10
+ 4 . Clone your fork
11
11
12
12
``` bash
13
13
# Clone your fork
14
14
git clone https://github.com/YOUR-USERNAME/fastapi_mcp.git
15
15
cd fastapi-mcp
16
16
17
+ # Add the upstream remote
18
+ git remote add upstream https://github.com/tadata-org/fastapi_mcp.git
19
+ ```
20
+
21
+ 5 . Set up the development environment:
22
+
23
+ ``` bash
17
24
# Create a virtual environment with uv (recommended)
18
25
uv venv
19
26
source .venv/bin/activate # On Windows: .venv\Scripts\activate
@@ -29,15 +36,15 @@ uv sync --extra dev
29
36
30
37
## Development Process
31
38
32
- 1 . Fork the repository
39
+ 1 . Fork the repository and set the upstream remote
33
40
2 . Create a feature branch (` git checkout -b feature/amazing-feature ` )
34
41
3 . Make your changes
35
42
4 . Run type checking (` uv run mypy . ` )
36
43
5 . Run the tests (` uv run pytest ` )
37
44
6 . Format your code (` uv run ruff check . ` and ` uv run ruff format . ` )
38
45
7 . Commit your changes (` git commit -m 'Add some amazing feature' ` )
39
46
8 . Push to the branch (` git push origin feature/amazing-feature ` )
40
- 9 . Open a Pull Request
47
+ 9 . Open a Pull Request on [ the project repository ] ( https://github.com/tadata-org/fastapi_mcp/ )
41
48
42
49
## Code Style
43
50
Original file line number Diff line number Diff line change 1
- # FastAPI-MCP
2
-
3
- A zero-configuration tool for automatically exposing FastAPI endpoints as Model Context Protocol (MCP) tools.
1
+ <p align =" center " ><a href =" https://github.com/tadata-org/fastapi_mcp " ><img src =" https://github.com/user-attachments/assets/609d5b8b-37a1-42c4-87e2-f045b60026b1 " alt =" fastapi-to-mcp " height =" 100 " /></a ></p >
2
+ <h1 align =" center " >FastAPI-MCP</h1 >
3
+ <p align =" center " >A zero-configuration tool for automatically exposing FastAPI endpoints as Model Context Protocol (MCP) tools.</p >
4
+ <div align =" center " >
4
5
5
6
[ ![ PyPI version] ( https://badge.fury.io/py/fastapi-mcp.svg )] ( https://pypi.org/project/fastapi-mcp/ )
6
7
[ ![ Python Versions] ( https://img.shields.io/pypi/pyversions/fastapi-mcp.svg )] ( https://pypi.org/project/fastapi-mcp/ )
8
+ [ ![ FastAPI] ( https://img.shields.io/badge/FastAPI-009485.svg?logo=fastapi&logoColor=white )] ( # )
9
+ ![ ] ( https://badge.mcpx.dev?type=dev ' MCP Dev ')
10
+
11
+ </div >
12
+
13
+ <p align =" center " ><a href =" https://github.com/tadata-org/fastapi_mcp " ><img src =" https://github.com/user-attachments/assets/1cba1bf2-2fa4-46c7-93ac-1e9bb1a95257 " alt =" fastapi-mcp-usage " height =" 400 " /></a ></p >
14
+
7
15
8
16
## Features
9
17
@@ -127,23 +135,9 @@ Find the path to mcp-proxy by running in Terminal: `which mcp-proxy`.
127
135
128
136
## Development and Contributing
129
137
130
- If you're interested in contributing to FastAPI-MCP:
131
-
132
- ``` bash
133
- # Clone the repository
134
- git clone https://github.com/tadata-org/fastapi_mcp.git
135
- cd fastapi_mcp
136
-
137
- # Create a virtual environment and install dependencies with uv
138
- uv venv
139
- source .venv/bin/activate # On Windows: .venv\Scripts\activate
140
- uv sync --extra dev
141
-
142
- # Run tests
143
- uv run pytest
144
- ```
138
+ Thank you for considering contributing to FastAPI-MCP open source projects! It’s people like you that make it a reality for users in our community.
145
139
146
- For more details about contributing, see [ CONTRIBUTING.md] ( CONTRIBUTING.md ) .
140
+ Before you get started, please see [ CONTRIBUTING.md] ( CONTRIBUTING.md ) .
147
141
148
142
## Community
149
143
You can’t perform that action at this time.
0 commit comments