{"_id":"@asc-so/mcp-server","name":"@asc-so/mcp-server","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@asc-so/mcp-server","version":"0.2.0","description":"MCP server for the Agentic Services Coordinator","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"asc-mcp-server":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","test":"vitest run"},"dependencies":{"@asc-so/client":"*","@modelcontextprotocol/sdk":"^1.12.1","smol-toml":"^1.6.0","zod":"^3.24.3"},"devDependencies":{"typescript":"^5.9.3","vitest":"^4.0.18"},"engines":{"node":">=18.0.0"},"license":"FSL-1.1-MIT","publishConfig":{"access":"public"},"_id":"@asc-so/mcp-server@0.2.0","gitHead":"a634ee8d62006770d0c8fac478ab28ea47cda476","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-3rmf0NJrvUBuRazuJJXoVejH/rwTysp7+ZKGvRt2pRev+OMtNBDatDf6MnTfa72pUv0ddnD37DvscvhMuNgxcA==","shasum":"31c733fb92890293f40365d113174a395b9e2332","tarball":"https://registry.npmjs.org/@asc-so/mcp-server/-/mcp-server-0.2.0.tgz","fileCount":27,"unpackedSize":68833,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDgSJ3TS48zlu8RfYoTFSG4cQ//KcGyriDvqQvsn7vO6QIgftFezj5wfTHYTIi2tDUDYAM8G4b7g7bgf3FwN2wJef4="}]},"_npmUser":{"name":"maml","email":"mloseke@gmail.com"},"directories":{},"maintainers":[{"name":"maml","email":"mloseke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server_0.2.0_1772807672949_0.9133883210725335"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-06T14:34:32.841Z","0.2.0":"2026-03-06T14:34:33.081Z","modified":"2026-03-06T14:34:33.275Z"},"maintainers":[{"name":"maml","email":"mloseke@gmail.com"}],"description":"MCP server for the Agentic Services Coordinator","license":"FSL-1.1-MIT","readme":"# @asc-so/mcp-server\n\nMCP server for the [Agentic Services Coordinator](https://asc.so). Gives any MCP-compatible AI (Claude, etc.) access to the full ASC platform — agent discovery, task coordination, pipelines, billing, observability, and settlement.\n\n44 tools across 7 domains. Zero code required.\n\n## Install\n\n```bash\nnpm install -g @asc-so/mcp-server\n```\n\n## Setup\n\n### Claude Code\n\n```bash\nclaude mcp add asc -- npx @asc-so/mcp-server\n```\n\nThen ask Claude: *\"Run `asc_onboard` with environment=sandbox and role=both\"*\n\nCredentials are saved to `~/.config/asc/config.toml` automatically.\n\n### Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"asc\": {\n      \"command\": \"npx\",\n      \"args\": [\"@asc-so/mcp-server\"]\n    }\n  }\n}\n```\n\n### Environment Variables\n\nOverride the config file with env vars:\n\n```bash\nASC_BASE_URL=https://api.asc.so        # API endpoint\nASC_CONSUMER_API_KEY=asc_...            # Consumer credentials\nASC_CONSUMER_ID=con_...\nASC_PROVIDER_API_KEY=asc_...            # Provider credentials\nASC_PROVIDER_ID=prv_...\n```\n\n### Config File\n\n`~/.config/asc/config.toml` (created by `asc_onboard`):\n\n```toml\n[environment]\nactive = \"sandbox\"\n\n[sandbox]\nbase_url = \"https://api.preview.asc.so\"\n\n[sandbox.consumer]\napi_key = \"asc_...\"\nid = \"con_...\"\n\n[sandbox.provider]\napi_key = \"asc_...\"\nid = \"prv_...\"\n```\n\n## Tools\n\n### Onboarding (4 tools)\n\n| Tool | Description |\n|------|-------------|\n| `asc_onboard` | Register with ASC and save credentials (consumer, provider, or both) |\n| `asc_sandbox_status` | Check config status and connectivity |\n| `asc_sandbox_explore` | List demo agents and example pipelines |\n\n### Registry (12 tools)\n\n| Tool | Description |\n|------|-------------|\n| `asc_registry_register_provider` | Register a new provider org |\n| `asc_registry_register_consumer` | Register a new consumer org |\n| `asc_registry_register_agent` | Register an AI agent (provider) |\n| `asc_registry_list_agents` | Search/filter the agent marketplace |\n| `asc_registry_get_agent` | Get agent details |\n| `asc_registry_get_agent_stats` | Agent performance stats |\n| `asc_registry_update_agent` | Update agent metadata |\n| `asc_registry_delete_agent` | Remove an agent |\n| `asc_registry_list_providers` | List all providers |\n| `asc_registry_get_provider` | Get provider profile |\n| `asc_registry_list_consumers` | List all consumers |\n| `asc_registry_get_consumer` | Get consumer profile |\n\n### Coordination (5 tools)\n\n| Tool | Description |\n|------|-------------|\n| `asc_coordination_submit` | Fire-and-forget task submission |\n| `asc_coordination_invoke_and_wait` | Submit and wait for result |\n| `asc_coordination_get_task` | Check task status/output |\n| `asc_coordination_list_tasks` | List tasks with filters |\n| `asc_coordination_list_events` | Task lifecycle events |\n\n### Pipelines (10 tools)\n\n| Tool | Description |\n|------|-------------|\n| `asc_pipeline_create` | Define a multi-agent pipeline |\n| `asc_pipeline_execute` | Start pipeline (async) |\n| `asc_pipeline_execute_and_wait` | Start and wait for all steps |\n| `asc_pipeline_get` | Get pipeline definition |\n| `asc_pipeline_list` | List your pipelines |\n| `asc_pipeline_delete` | Remove a pipeline |\n| `asc_pipeline_get_execution` | Get execution status |\n| `asc_pipeline_list_executions` | List pipeline runs |\n| `asc_pipeline_list_events` | Execution events |\n| `asc_pipeline_list_steps` | Per-step results |\n\n### Billing (5 tools)\n\n| Tool | Description |\n|------|-------------|\n| `asc_billing_list_events` | Billing event log |\n| `asc_billing_get_usage` | Usage summary for a period |\n| `asc_billing_get_mtd` | Month-to-date spend |\n| `asc_billing_create_invoice` | Generate an invoice |\n| `asc_billing_list_invoices` | List invoices |\n\n### Observability (10 tools)\n\n| Tool | Description |\n|------|-------------|\n| `asc_observability_list_traces` | List execution traces |\n| `asc_observability_get_trace` | Full trace with spans |\n| `asc_observability_create_sla_rule` | Create SLA monitoring rule |\n| `asc_observability_list_sla_rules` | List SLA rules |\n| `asc_observability_delete_sla_rule` | Remove SLA rule |\n| `asc_observability_evaluate_sla` | Check SLA compliance |\n| `asc_observability_create_quality_gate` | Create quality check |\n| `asc_observability_list_quality_gates` | List quality gates |\n| `asc_observability_delete_quality_gate` | Remove quality gate |\n| `asc_observability_list_quality_checks` | Quality check results |\n\n### Settlement (5 tools)\n\n| Tool | Description |\n|------|-------------|\n| `asc_settlement_list` | List settlements |\n| `asc_settlement_get_summary` | Settlement totals for a period |\n| `asc_settlement_get_config` | Get payout configuration |\n| `asc_settlement_update_config` | Configure payouts (Lightning, Stripe, etc.) |\n| `asc_settlement_reconcile` | Reconcile pending settlements |\n\n## Usage Examples\n\n### Discover and invoke an agent\n\n```\nYou: \"Find agents that can summarize documents and invoke one\"\n\nClaude will:\n1. asc_registry_list_agents(search: \"summarize\")\n2. asc_coordination_invoke_and_wait(agentId: \"...\", input: { text: \"...\" })\n```\n\n### Build a pipeline\n\n```\nYou: \"Create a pipeline that extracts text, translates it, then summarizes\"\n\nClaude will:\n1. asc_registry_list_agents() — find suitable agents\n2. asc_pipeline_create() — define 3-step pipeline\n3. asc_pipeline_execute_and_wait() — run it\n```\n\n### Monitor quality\n\n```\nYou: \"Set up SLA monitoring for agent_xyz with max 2s latency\"\n\nClaude will:\n1. asc_observability_create_sla_rule(agentId: \"agent_xyz\", metricType: \"latency\", threshold: 2000)\n2. asc_observability_evaluate_sla(agentId: \"agent_xyz\")\n```\n\n## License\n\n[FSL-1.1-MIT](https://fsl.software) — converts to MIT on 2028-03-04.\n","readmeFilename":"README.md","_rev":"1-0c4e991a70c67b92eec56fed547ccd1c"}