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 human reviewer's decisions for the run's current gate. Reviewer principals only. |
| 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 map to distinct pipeline stages (profile, propose, review, generate, test, certify, publish), so an agent can largely tell them apart. However, start_onboarding_run and profile_schema both 'start a run' with profiling, and get_run_status overlaps list_pending_reviews on surfacing pending review items, creating minor boundary ambiguity.
Tools follow a clear snake_case verb_noun pattern (start_onboarding_run, get_run_status, resume_run, submit_mapping_review, certify_run, publish_run, etc.). The lone exception is healthcheck, a bare noun that breaks the otherwise consistent convention.
12 tools is well-scoped for a governed data-onboarding pipeline with multiple human gates. Each tool corresponds to a meaningful lifecycle stage or control operation, with no obvious redundancy bloating the surface.
The surface covers the full happy-path lifecycle: start, status, resume, profile, propose mapping, submit review, generate artifacts, sandbox test, certify, and publish, plus review listing and healthcheck. Missing abort/cancel and any run-listing or cleanup operations are minor gaps agents can work around.