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.1.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.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_server_port-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 fc6d76e97dd7df29594937a399209abbfcc4abe5f432564f31be32fad3fc94a8
MD5 43b31d42e70be8785a829425dbbf2e54
BLAKE2b-256 476c885e86039579f03ad1914c690f88a8410fcc8e022fa99c18abaef0fea9ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_port-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a23370ae5e738ae415a5bd01dd62f5c6725f38608e4b077e3ba864e4eb5560f
MD5 a9bdc204a1062ff46a114f9b3da1e0e5
BLAKE2b-256 051b9a31d9c8931e4d7dc8d5c5280a0c43b8b08112f4427f4e63483fd33056b1

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