feat: MVP implementation — MCP server, partner one-pager, legal docs
Code (code/): - TypeScript MCP server with 5 tools (business info, hours, services, booking, related) - PostgreSQL schema with pilot business seed data - /.well-known/mcp-server manifest generator - Railway deployment config (Dockerfile, railway.json) - Multi-tenant gateway placeholder GTM (docs/gtm/): - Partner One-Pager: agency sales asset with economics, onboarding, competitive comparison Legal (docs/legal/): - Data Flow & Privacy: data collection, storage, sharing, GDPR/CCPA commitments - Partnership Agreement Skeleton: template for agency/CoC partnerships - IP Notes: well-known convention positioning, telemetry ownership, open-source strategy
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
||||
import { createMCPServer } from './mcp-server.js';
|
||||
import { initSchema } from './db/schema.js';
|
||||
import { config } from './config.js';
|
||||
|
||||
async function main() {
|
||||
// Initialize database
|
||||
await initSchema();
|
||||
console.error('\u2705 Database schema initialized');
|
||||
|
||||
// Create and start MCP server
|
||||
const server = createMCPServer();
|
||||
const transport = new StdioServerTransport();
|
||||
|
||||
await server.connect(transport);
|
||||
|
||||
console.error(`\u2705 geolocal.io MCP server v0.1.0 running`);
|
||||
console.error(` Port: ${config.port}`);
|
||||
console.error(` Tools: get_business_info, get_hours, get_services, get_booking_link, get_related_businesses`);
|
||||
console.error(` Discovery: /.well-known/mcp-server`);
|
||||
}
|
||||
|
||||
main().catch((err) => {
|
||||
console.error('\u274C Failed to start:', err);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in New Issue
Block a user