portco-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORTCO_HTTP_TOKENS | No | Bearer tokens for HTTP transport, each carrying a role and an explicit tenant scope (token=principal:role:company1|company2, '*' for all). The HTTP app refuses to start without it; not needed for the stdio server. | |
| PORTCO_LLM_ENABLED | No | Enables the optional LLM mapping judge. Off by default; it can only reorder deterministic candidates or abstain. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| healthcheckA | Return service health for diagnostics. |
| start_onboarding_runA | Start read-only onboarding of a registered source (e.g. |
| get_run_statusC | Current status, step history, gate and pending review items of a run. |
| resume_runA | Continue a paused or failed run. Gates re-check approvals; completed steps are reused, not recomputed. |
| list_pending_reviewsC | Review items a human must decide before the run can continue. |
| submit_mapping_reviewA | Record a reviewer's decisions for an observed mapping or test-failure packet. |
| certify_runA | Certify the generated bundle and its metrics. Reviewer principals only. |
| profile_schemaA | Profile a source read-only: row counts, null rates, distinct counts, patterns, PII classes. |
| propose_canonical_mappingA | Infer entities and joins and propose canonical mappings for a profiled run. Deterministic scoring; anything uncertain, PII-bearing, metric-bearing or conflicting is routed to human review rather than guessed. Stops at the mapping-review gate. |
| generate_dbt_artifactsA | Generate the dbt project and semantic layer from the reviewed mapping. |
| run_sandbox_testsA | Build the generated project with dbt in a disposable sandbox and reconcile metrics exactly. On success the run pauses at the certification gate; on failure at the test-failures gate. |
| publish_runA | Publish certified artifacts. Fails closed without a valid certification bound to the bundle. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| review_run | Review a workflow run, separating facts, assumptions and recommendations. |
| explain_mapping | Explain one mapping proposal to a human reviewer. |
| onboarding_kickoff | Kick off onboarding of a new portfolio-company source using the project Skills. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| policies | Operating and safety policies, rendered from the enforced policy registry. |
| ontology | The canonical PE ontology: entities, fields, synonyms, relationships and metrics. |
TDQS
Scored across 12 tools
Most tools have clearly distinct purposes along the pipeline (start, profile, propose, generate, test, publish). However, list_pending_reviews overlaps with get_run_status (both return pending review items), and submit_mapping_review vs certify_run both handle reviewer decisions with subject_hash, which could cause confusion without close reading.
Nearly all tools follow a consistent verb_noun snake_case pattern (list_pending_reviews, start_onboarding_run, generate_dbt_artifacts). The lone outlier is healthcheck, which is a noun with no verb, a minor deviation.
12 tools is well-scoped for a multi-stage data onboarding pipeline with human review gates, artifact generation, testing, and publishing. Each tool appears to own a distinct lifecycle step, with no redundant entries.
The core lifecycle is covered: start, status, resume, profile, propose, review, certify, generate, test, publish. Minor gaps exist, such as no cancel/abort run, no list-runs tool, and no way to retrieve generated artifacts or open findings directly for inspection.