@realengine/portaly-mcp
v1.0.2
Published
MCP server CLI for connecting AI clients to a remote Portaly API service.
Downloads
49
Maintainers
Readme
portaly-mcp
An npx-ready MCP server that connects MCP clients to a remote API service over stdio.
Install
npm install
npm run buildRun Locally
PORTALY_API_TOKEN=mcp_ptly_xxx \
npm run devAfter publishing, clients can run it with:
PORTALY_API_TOKEN=mcp_ptly_xxx \
npx portaly-mcpYou can also pass settings as flags:
npx @realengine/portaly-mcp --base-url https://portaly.cc --token mcp_ptly_xxxMCP Client Config
{
"mcpServers": {
"portaly": {
"command": "npx",
"args": ["-y", "@realengine/portaly-mcp"],
"env": {
"PORTALY_API_TOKEN": "mcp_ptly_xxx"
}
}
}
}Tools
listProducts: lists product summaries for the token's profile.getProduct: gets one product by product ID.createProduct: creates a digital product or live class.updateProduct: updates specific product fields by product ID.toggleProductStatus: flips or sets product active status.
Configuration
| Name | Description |
| --- | --- |
| PORTALY_API_BASE_URL | Optional remote API base URL override. Defaults to https://portaly.cc. |
| PORTALY_API_TOKEN | Optional bearer token or API token. |
The token is sent with the Authorization header as Bearer <token>. The request timeout defaults to 30000 milliseconds.
