What is TPC Server?
A Node.js/Express API for AI‑human collaboration, with SQLite persistence for storing thoughts and plans. It provides both a REST API and a full MCP (Model Context Protocol) server, making it ideal for AI agent workflows and developers building collaborative tools.
How to use TPC Server?
Install dependencies with npm install, then start the server via node server.js (runs on http://localhost:3001). For AI clients, run the MCP server with npm run mcp (stdio transport) and configure your MCP client accordingly. Use the REST API endpoints or the included web UI at /index.html.
Key features of TPC Server
- Full MCP protocol implementation for AI clients (stdio transport).
- SQLite persistence with idempotent schema migrations.
- Modular server architecture (db/, routes/, middleware/).
- Comprehensive testing (Jest, Playwright, MCP smoke tests).
- Full‑text search with type/tag/limit filters.
- Tagging system for plans and thoughts (add, edit, filter).
- Rich text support in plan descriptions (Markdown via marked.js).
Use cases of TPC Server
- AI agents storing and retrieving thoughts and plans via MCP.
- Human‑in‑the‑loop editing with review flags and context aggregation.
- Tag‑based organization and filtering of collaborative notes.
- Rapid prototyping of AI‑assisted project management tools.
- Searching across plans and thoughts with unified
/search endpoint.
评论