TPC Server MCP server

TPC Server MCP server

tpc-server•bysuttonwilliamd

A Model Context Protocol server that exposes thoughts and plans stored in SQLite, letting AI clients manage and search collaboration data over stdio.

License: Not specified•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Offers MCP tools to list, get, create, and update plans.
  • •Provides MCP tools for listing, creating, and searching thoughts.
  • •Exposes MCP resources for plans, thoughts, and aggregated context.
  • •Stores thoughts and plans persistently in a SQLite database.

BEST FOR

  • •AI agents that need to record and retrieve plans and thoughts as persistent memory.
  • •Clients needing searchable, tag-filterable access to plans and thoughts over MCP.
  • •Human-AI collaboration workflows across plans and thoughts.

ABOUT TPC-SERVER

TPC Server MCP server is cataloged as an MCP server attributed to suttonwilliamd. A Model Context Protocol server that exposes thoughts and plans stored in SQLite, letting AI clients manage and search collaboration data over stdio. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for TPC Server MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the MCP server connect to AI clients?

It runs over stdio transport, which the MCP client is configured to use.

What data does the MCP server expose beyond plans and thoughts?

It includes a tpc://context resource aggregating data for agent memory.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 56150cdd07af · 采集于 2026-11-13 11:01:32 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

TPC Server

Verified on MseeP

A Node.js/Express API for AI-human collaboration, starting with JSON file storage for thoughts and plans.

Setup and Usage

  1. Install dependencies: npm install
  2. Start the server: node server.js
  3. The server runs on http://localhost:3001

Changelog

See CHANGELOG.md for detailed release notes.

Testing

Run npm test (or npm run test:unit) to execute Jest API/integration tests. Run npm run test:e2e for Playwright UI tests. Run npm run smoke:mcp for deterministic MCP plan/thought lifecycle smoke validation. Run npm run test:startup-contract for dependency-free, injected offline startup/readiness tests.

Production Security

/tpc.db download is disabled in production by default. To explicitly allow it, set EXPOSE_TPC_DB=true.

Operational Endpoints

  • GET /health returns basic liveness info.
  • GET /ready returns readiness info and DB path after a successful database query, or 503 when unavailable.

See the startup/readiness contract for initialization, failure behavior, test boundaries, and limitations.

Data Contract (REST + MCP)

  • IDs: integer autoincrement IDs from SQLite for plans/thoughts.
  • Timestamps:
    • thoughts.timestamp, plans.timestamp = ISO8601 string.
    • plans.created_at, plans.last_modified_at = epoch milliseconds.
  • Tags: JSON-encoded string arrays in DB columns.

Project Structure

  • server.js: Main Express server with modular structure (db/, routes/, middleware/).
  • mcp-server.js: MCP server for AI clients (stdio transport). Run with npm run mcp.
  • data/tpc.db: SQLite database for persistent storage of thoughts and plans.
  • tests/: Test files (Jest unit tests, MCP tests).
  • public/: Static single-page UI.

Usage Examples

REST API

  • Retrieve all thoughts: curl http://localhost:3001/thoughts
  • Retrieve all plans: curl http://localhost:3001/plans
  • Create a thought: curl -X POST http://localhost:3001/thoughts -H "Content-Type: application/json" -d '{"content": "My thought"}'
  • Create a plan: curl -X POST http://localhost:3001/plans -H "Content-Type: application/json" -d '{"title": "My Plan", "description": "Plan details"}'
  • Update plan status: curl -X PATCH http://localhost:3001/plans/1 -H "Content-Type: application/json" -d '{"status": "in_progress"}'
  • Search across plans/thoughts: curl "http://localhost:3001/search?q=AI&type=plans&tags=urgent&limit=5"
  • Add tags to a plan: curl -X PATCH http://localhost:3001/plans/1/tags -H "Content-Type: application/json" -d '{"tag": "ai"}' (appends) or {"tags": ["ai", "urgent"]} (replaces)
  • Filter plans by tags: curl "http://localhost:3001/plans?tags=ai,urgent"
  • View UI: Visit http://localhost:3001/index.html after starting the server.

MCP Server

  • Start MCP server: npm run mcp
  • Connects via stdio — configure your MCP client to use this
  • Available tools: list_plans, get_plan, create_plan, update_plan, list_thoughts, create_thought, search_thoughts, get_context
  • Available resources: tpc://plans, tpc://thoughts, tpc://context

Features

  • MCP Server: Full MCP protocol implementation for AI clients. Run with npm run mcp (stdio transport).
  • Modular server architecture: Organized into db/, routes/, and middleware/ for maintainable API development.
  • SQLite persistence: Single data/tpc.db for thoughts and plans with idempotent schema migrations.
  • Comprehensive testing: Jest for unit tests (endpoints, validation, integrations) and Playwright for E2E UI tests (rendering, interactions).
  • AI collaboration focus: Endpoints like /context aggregate data for agent memory; supports human edits with review flags.
  • Rich text support: Plan descriptions accept and display Markdown formatting (bold, lists, etc.) in the UI using marked.js.
  • Search and organization: Full-text search API (/search?q=) with type/tags/limit filters; UI search input and tag-based filtering/editing.
  • Tagging system: Add/edit/filter tags on plans/thoughts via API/UI for better categorization (e.g., ['ai', 'urgent']).

v2.7 - Search and Organization

Features Implemented

  • Full-text search endpoint (GET /search?q=<query>) with optional ?type=plans|thoughts, ?tags=tag1,tag2, ?limit=N for targeted results.
  • Tagging system: tags column (JSON array) on plans/thoughts tables; manage via POST/PUT/PATCH /plans/:id/tags (and for thoughts).
  • Tag filtering: ?tags=ai,urgent (AND logic) on list endpoints (/plans, /thoughts, /search).
  • Enhanced /context with ?search=<query> to filter aggregated data.
  • UI: Global search input, tag editing in details, tag filtering dropdowns in lists.

Usage

  • API search: curl "http://localhost:3001/search?q=collaboration&type=plans&tags=ai"
  • Tag a plan: curl -X PATCH http://localhost:3001/plans/1/tags -H "Content-Type: application/json" -d '{"tags": ["ai", "urgent"]}' (replace) or {"tag": "new"} (append).
  • Filter by tags: curl "http://localhost:3001/plans?tags=ai,urgent"
  • UI: Enter query in search box; click tags to edit/filter in plan/thought views.

Notable Changes

  • Schema addition: tags TEXT column (default '[]') to plans/thoughts tables; backward compatible migration with backfill.
  • New route: /search for unified querying.
  • Builds on v2.6 Markdown support and modular structure.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for TPC Server MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/tpc-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops