Port MCP Server
Mirror of
MCP-Mirror
README
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.
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
uvx
is 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 -
Capabilities
Agent Tools
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
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
- Returns: Formatted text representation of the specified blueprint
Entity Tools
Will be added in the future.
Development
Local Setup
- Create and activate a virtual environment:
# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
- Install dependencies:
# Install in development mode
pip install -e .
# Install development dependencies
pip install -r requirements-dev.txt
- Run the server locally:
python -m src.mcp_server_port --client-id "CLIENT_ID" --client-secret "CLIENT_SECRET" --region "REGION"
Publishing a New Version
There are two ways to publish a new version: manually following all steps, or using the automated Make commands.
Manual Process
- Ensure you're on the main branch and it's up to date:
git checkout main
git pull origin main
- Merge the feature/release branch with changelog updates:
git merge feature/your-release-branch
-
Update version in
pyproject.toml
-
Commit version bump:
git add pyproject.toml
git commit -m "chore: bump version to X.Y.Z"
git push origin main
- Create and push a new Git tag:
git tag -a vX.Y.Z -m "Release version X.Y.Z"
git push origin vX.Y.Z
- Build and publish to PyPI:
# Ensure you have the latest build tools
pip install --upgrade build twine
# Build the package
python -m build
# Check the package
twine check dist/*
# Upload to PyPI
twine upload dist/mcp_server_port-X.Y.Z*
- Create a GitHub release:
- Go to the repository's Releases page
- Click "Create new release"
- Select the tag you just pushed
- Title it "Release X.Y.Z"
- Include the changelog in the description
- Publish the release
Automated Process
You can use the provided Makefile commands to automate the release process:
# Update version and create release
make release VERSION=X.Y.Z
# Or run steps individually:
make bump-version VERSION=X.Y.Z # Updates pyproject.toml
make tag VERSION=X.Y.Z # Creates and pushes git tag
make build # Builds the package
make publish # Publishes to PyPI
Note: The automated process still requires you to manually create the GitHub release with changelog information.
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.