Initial commit — Performance West telecom compliance platform
Includes: API (Express/TypeScript), Astro site, Python workers, document generators, FCC compliance tools, Canada CRTC formation, Ansible infrastructure, and deployment scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
f8cd37ac8c
1823 changed files with 145167 additions and 0 deletions
45
mcp/src/index.ts
Normal file
45
mcp/src/index.ts
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
/**
|
||||
* Performance West MCP Server
|
||||
*
|
||||
* Exposes business formation (all 50 US states) and compliance consulting
|
||||
* services as MCP tools for AI assistants (Claude, ChatGPT, Cursor, etc.).
|
||||
*
|
||||
* Tools:
|
||||
* formation_guide — Interactive questionnaire → entity + state recommendation
|
||||
* search_name — Check business name availability
|
||||
* create_formation_order — Place a formation order ($179 basic / $399 complete)
|
||||
* check_order_status — Check order status by order number
|
||||
* get_states — List all 51 jurisdictions with fees
|
||||
* get_state_info — Detailed info for a specific state
|
||||
* get_pricing — Calculate total formation cost
|
||||
* list_services — List all 20+ compliance services
|
||||
* get_service_info — Detailed service info by slug
|
||||
* validate_discount — Validate a discount/referral code
|
||||
*
|
||||
* Transport: stdio (spawned by MCP client)
|
||||
* Data source: Performance West API (HTTP)
|
||||
* Config: PW_API_URL, PW_API_KEY env vars
|
||||
*/
|
||||
|
||||
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
||||
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
||||
|
||||
import { registerFormationTools } from "./tools/formation.js";
|
||||
import { registerStateTools } from "./tools/states.js";
|
||||
import { registerServiceTools } from "./tools/services.js";
|
||||
|
||||
const server = new McpServer({
|
||||
name: "performancewest",
|
||||
version: "0.1.0",
|
||||
});
|
||||
|
||||
// Register all tools
|
||||
registerFormationTools(server);
|
||||
registerStateTools(server);
|
||||
registerServiceTools(server);
|
||||
|
||||
// Connect via stdio
|
||||
const transport = new StdioServerTransport();
|
||||
await server.connect(transport);
|
||||
Loading…
Add table
Add a link
Reference in a new issue