Skip to main content
You need a TryMCP account.

1. Create a server

Open the dashboard. Go to Servers and click Create Server.
  • Set Title to GitHub Tools.
  • Pick a Category.
  • Choose an available Subdomain.
  • Use Public for this example. It only reads public data.
  • Click Create.

2. Add a tool

Open the server. Click Create New Tool. Name it fetch_repo_stats. Add a required string parameter named repo. Its value will be an owner/repo pair. Paste this tool body into the editor:
Keep Active on. Click Create.

3. Run it

Click Run. Enter octocat/Hello-World for repo. Run the tool and check Output. You should see stars, forks, and language. If it fails, check the message in Output.

4. Connect a client

Open your server’s Integration tab. Pick your client and copy its config. For private tools, choose an access mode in Security. Store API credentials in Secrets.