@general-liquidity/mcp
MCP server exposing four task-shaped tools (resolve, pay, verify, disclose) for General Liquidity, enabling agents to normalize counterparties, submit intents, verify disclosures, and produce signed disclosures.
README
@general-liquidity/mcp
A curated MCP server that projects the General Liquidity surface as four
task-shaped tools: resolve, pay, verify, and disclose. It is deliberately
not a 1:1 dump of every REST endpoint, which would overrun an agent's token
budget. The tool names are the surface verbs, and there is no settle or
grant tool: settlement stays behind the client, and mandate granting is
operator-only.
The server wraps a GeneralLiquidity client from
@general-liquidity/sdk.
The client is injected (dependency inversion): this package holds no settle
primitive and no server implementation of its own. It signs and submits intents
through the injected client; the sovereign gate decides and settles.
The four tools
resolve— normalize any counterparty reference (A2A card, signed disclosure, CAIP) into one identity with its accepted rails and trust signals.pay— submit a signed Intent to move value. The gate decides; on allow it settles on the right rail and returns a Receipt.verify— check a counterparty's signed disclosure against policy and return a Decision.disclose— produce this agent's own signed disclosure: what it is and what it is authorized to do.
Adding it to an agent host
createMcpServer returns an unconnected McpServer. You wire the client and a
transport (stdio / HTTP) at your composition root:
import { createMcpServer } from "@general-liquidity/mcp";
import { createClient } from "@general-liquidity/sdk";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
const client = createClient({ baseUrl, signer }); // any GeneralLiquidity impl
const server = createMcpServer(client, { name: "gl", version: "1.0.0" });
await server.connect(new StdioServerTransport());
Point your agent host (Claude Desktop, an IDE MCP client, or any stdio MCP host) at the process running that entry point.
What it exports
createMcpServer/McpServerOptions— build the curated MCP server over an injected client.buildTools/ToolDef/ToolResult— the tool set and its call-result shape, exported separately so tests can assert registration and delegation with a fake client and no transport.TOOL_NAMES— the four exposed tool names.
Dependencies
@general-liquidity/sdk— supplies theGeneralLiquidityclient type and the wire nouns (Intent,Disclosure,Counterparty,Receipt,Decision).@modelcontextprotocol/sdk— the MCPMcpServer.zod— tool input schemas.
Development
bun install
bunx tsc --noEmit -p tsconfig.json
bun test
bunx biome check .
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.