A Model Context Protocol (MCP) server for Port.io
Project description
Port MCP Server
A Model Context Protocol (MCP) server for the Port.io API, enabling Claude to interact with Port.io's developer platform capabilities using natural language.
What You Can Do With Port MCP
Transform how you work with Port.io using natural language:
Find Information Quickly
- Get entity details - "Who is the owner of service X?"
- Check on-call status - "Who is on call right now?"
- Get catalog insights - "How many services do we have in production?"
Analyze Scorecards
- Identify weak points - "Which services are failing for the gold level and why?"
- Get compliance status - "Show me all services that don't meet our security requirements"
- Improve quality - "What do I need to fix to reach the next scorecard level?"
Create Resources
- Build scorecards - "Create a new scorecard called 'Security Posture' with levels Basic, Silver, and Gold"
- Define rules - "Add a rule that requires services to have a team owner to reach the Silver level"
- Setup quality gates - "Create a rule that checks if services have proper documentation"
We're continuously expanding Port MCP's capabilities. Have a suggestion? We'd love to hear your feedback on our roadmap!
Installation
Obtain your Port credentials
-
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
Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"port": {
"command": "uvx",
"args": [
"mcp-server-port@0.1.4",
"--client-id", "YOUR_CLIENT_ID",
"--client-secret", "YOUR_CLIENT_SECRET",
"--region", "REGION" # US or EU
]
}
}
}
Cursor
- Make sure
uvxis installed:
pip install uvx
- Get its location:
which uvx
# Example output: /Users/janedoe/.local/bin/uvx
- Create a script to run the server:
# run-port-mcp.sh
cd /Users/janedoe/.local/bin/uvx
# Run the server with the specified credentials
./.venv/bin/uvx mcp-server-port@0.1.4 --client-id YOUR_CLIENT_ID --client-secret YOUR_CLIENT_SECRET --region YOUR_REGION
- Make it executable:
chmod +x /path/to/your/file/run-port-mcp.sh
- Configure in Cursor settings:
- Go to Cursor settings > MCP Servers
- Configure with:
- Name -
Port - Type -
Command - Command -
/path/to/your/file/run-port-mcp.sh
- Name -
Available Tools
Blueprint Tools
-
get_blueprints- Retrieve a list of all blueprints from Port
- Optional inputs:
detailed(boolean, default: false): Return complete schema details for each blueprint
- Returns: Formatted text representation of all available blueprints
-
get_blueprint- Retrieve information about a specific blueprint by its identifier
- Required inputs:
blueprint_identifier(string): The unique identifier of the blueprint to retrieve
- Optional inputs:
detailed(boolean, default: true): Return complete schema details
Scorecard Tools
-
get_scorecards- Retrieve all scorecards from Port
- Optional inputs:
detailed(boolean, default: false): Return complete scorecard details
-
get_scorecard- Retrieve information about a specific scorecard by its identifier
- Required inputs:
scorecard_id(string): The unique identifier of the scorecard to retrieveblueprint_id(string, optional): The identifier of the blueprint the scorecard belongs to
-
create_scorecard- Create a new scorecard for a specific blueprint
- Required inputs:
blueprint_id(string): The identifier of the blueprint to create the scorecard foridentifier(string): The unique identifier for the new scorecardtitle(string): The display title of the scorecardlevels(list): List of levels for the scorecard
- Optional inputs:
rules(list): List of rules for the scorecarddescription(string): Description for the scorecard
Feedback and Roadmap
We're continuously improving Port MCP and would love to hear from you! Please share your feedback and feature requests on our roadmap page.
Troubleshooting
If you encounter authentication errors, verify that:
- Your Port credentials are correctly set in the arguments
- You have the necessary permissions
- The credentials are properly copied to your configuration
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.1.7.tar.gz.
File metadata
- Download URL: mcp_server_port-0.1.7.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
574c48ced1534264c004761279e903eaa7e41a336dc33b364724b7e269778092
|
|
| MD5 |
d68289c6044924c8c54753c95128a786
|
|
| BLAKE2b-256 |
208b12c8da3bcfb1c8580856eb57dcd0b28c4e58ba540297550b99c7798cfe30
|
File details
Details for the file mcp_server_port-0.1.7-py3-none-any.whl.
File metadata
- Download URL: mcp_server_port-0.1.7-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e0a8d2eece68c7240822ad09d312a7822afdd7819d26cab374a87b0ff0368b5
|
|
| MD5 |
25faec94c54ba669e8dcc9f3f7526962
|
|
| BLAKE2b-256 |
b5788125ffd457368c501253456da6b5a0689b621d53ebb8edcb043246a76039
|