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
-
get_port_token- Get a Port.io authentication token
- No inputs required
- Returns: Authentication token with expiration information
-
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
-
Create a Port.io Account:
- Visit Port.io
- Sign up for an account if you don't have one
-
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": "/path/to/your/venv/bin/python",
"args": [
"/path/to/port-mcp-server/src/mcp_server_port/server.py"
],
"env": {
"PORT_CLIENT_ID": "your-client-id",
"PORT_CLIENT_SECRET": "your-client-secret"
}
}
}
}
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
Troubleshooting
If you encounter authentication errors, verify that:
- Your Port.io credentials are correctly set in the environment variables
- The API key has the necessary permissions
- 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 mcp_server_port
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_port-0.0.12.tar.gz.
File metadata
- Download URL: mcp_server_port-0.0.12.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
323a3fa1e98310f9ebf1260acf3e1a4491d887248ded1a85afc65b3b8c19b693
|
|
| MD5 |
e86396bcb6e25378e699fd3172124e1d
|
|
| BLAKE2b-256 |
855bb817b2dce79215ae6577fb9074c5a54e8b33332585b6ba6231074efc9b06
|
File details
Details for the file mcp_server_port-0.0.12-py3-none-any.whl.
File metadata
- Download URL: mcp_server_port-0.0.12-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
945cc879984f246ba642d2434f0150cdcc50a47ee9b756634fe1c1de42e7485c
|
|
| MD5 |
861a282f2c579997d9dcc816a48311e4
|
|
| BLAKE2b-256 |
6708ec0c6d0aaa356e86504656e964b6ad8afd63798b4c92e6b91ea1a670a845
|