Skip to main content

A Model Context Protocol (MCP) server for Port.io integration

Project description

Port MCP Server

MCP Server for the Port.io API, enabling Claude to interact with Port.io's AI agent.

Tools

  1. trigger_port_agent
    • Trigger the Port.io AI agent with a prompt and wait for completion
    • Required inputs:
      • prompt (string): The prompt to send to the Port.io AI agent
    • Returns: Agent response with status, output, and any required actions
    • Note: The agent may return action URLs for bug reports or other tasks that require user interaction

Setup

  1. Create a Port.io Account:

    • Visit Port.io
    • Sign up for an account if you don't have one
  2. Create an API Key:

    • Navigate to your Port.io dashboard
    • Go to Settings > Credentials
    • Save both the Client ID and Client Secret

Usage with Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "port": {
      "command": "uvx",
      "args": [
        "mcp-server-port",
        "--client-id", "YOUR_CLIENT_ID",
        "--client-secret", "YOUR_CLIENT_SECRET",
        "--region", "REGION", # US or EU
      ]
    }
  }
} 

Usage with Cursor

Under the settings, MCP Servers, select

  • Name - Port
  • Type - Command
  • Command - uvx mcp-server-port --client-id=YOUR_CLIENT_ID --client-secret=YOUR_CLIENT_SECRET --region=YOUR_REGION

Troubleshooting

If you encounter authentication errors, verify that:

  1. Your Port.io credentials are correctly set in the environment variables
  2. The API key has the necessary permissions
  3. The credentials are properly copied to your configuration

Run

To run the server:

# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate  # On Unix/macOS
# or
.venv\Scripts\activate  # On Windows

# Install dependencies
pip install -e .

# Run server
python -m src.mcp_server_port --client-id "CLIENT_ID" --client-secret "CLIENT_SECRET" --region "REGION"

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_port-0.1.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_port-0.1.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_port-0.1.2.tar.gz.

File metadata

  • Download URL: mcp_server_port-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for mcp_server_port-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ac896754340673fa0d03f2034d3887fdcef78a1c95fc044b96892fef9bf265d9
MD5 d406631d1ffb6379831e2b9d66ce8179
BLAKE2b-256 98f95b4c39d874ca24c06c355da5bf458427374995dbd0c2286148d1a3b0ef4b

See more details on using hashes here.

File details

Details for the file mcp_server_port-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_port-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1359f5366da45ba312d3cc6f864be0a1916514a013217edd1e5f2f9413196650
MD5 6ccce14c225055d4779f3e4748498b88
BLAKE2b-256 560b7ba41349bdc39aacbfa8d5627ded25ddec09d60a2ba6b1017f92c2e8e514

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page