what is mcp-python-test?
The mcp-python-test project is a Flask-based server that allows users to create GitHub repositories by sending commands via a POST request. It utilizes a GitHub Personal Access Token for authentication and interacts with the GitHub API.
how to use mcp-python-test?
To use this project, install Python 3.x and the required libraries (Flask and requests). Set your GitHub Personal Access Token in the environment and run the server. You can then send a POST request to the server with the desired command to create a repository.
key features of mcp-python-test?
- Create GitHub repositories via a simple API command.
- Securely load GitHub tokens from the environment.
- Easy integration with Flask for web applications.
use cases of mcp-python-test?
- Automating the creation of GitHub repositories for projects.
- Integrating GitHub repository management into other applications.
- Simplifying the process of repository setup for new projects.
FAQ from mcp-python-test?
- How do I set my GitHub token?
You can set your GitHub token in the terminal using the command: set GITHUB_TOKEN=your_token_here.
- What command do I send to create a repository?
Send a POST request to http://localhost:5001/command with a JSON body containing the command name and input data.
- Is this project free to use?
Yes, this project is open-source and free to use.