amp-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@amp-mcp read amp thread T-019fcd6f-9212-7238-aaf7-3f08ffee3c7f"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
amp-mcp
amp-mcp lets MCP-compatible coding harnesses read Amp threads referenced in commit messages, pull requests, and source code.
It exposes one tool, read_amp_thread. The server is deliberately read-only: it cannot create, continue, rename, share, archive, or delete threads.
How it works
The server runs locally over stdio and calls the authenticated Amp CLI:
MCP host → read_amp_thread → amp threads markdown → AmpIt does not read, copy, or store Amp credentials. A thread is available only when amp threads markdown <thread-id> allows the signed-in user to read it.
Related MCP server: memory-seam-mcp
Requirements
Node.js 20 or later
The Amp CLI installed and signed in
Verify Amp before configuring the MCP server:
amp --version
amp threads markdown T-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxInstall from this checkout
npm install
npm run buildConfigure your coding harness to launch the built server. Most MCP hosts accept this shape:
{
"mcpServers": {
"amp-threads": {
"command": "node",
"args": ["/absolute/path/to/amp-mcp/dist/index.js"]
}
}
}If the host cannot find amp (common when a desktop app has a restricted PATH), set its absolute location:
{
"mcpServers": {
"amp-threads": {
"command": "node",
"args": ["/absolute/path/to/amp-mcp/dist/index.js"],
"env": {
"AMP_CLI_PATH": "/absolute/path/to/amp"
}
}
}
}Find that path with command -v amp on macOS/Linux or where amp on Windows.
After this package is published, hosts can instead launch it with npx:
{
"mcpServers": {
"amp-threads": {
"command": "npx",
"args": ["-y", "amp-mcp"]
}
}
}Tool
read_amp_thread
Reads a thread as Markdown. thread accepts all common reference forms:
T-019fcd6f-9212-7238-aaf7-3f08ffee3c7f@T-019fcd6f-9212-7238-aaf7-3f08ffee3c7fhttps://ampcode.com/threads/T-019fcd6f-9212-7238-aaf7-3f08ffee3c7f
Long threads are returned in pages. The optional arguments are:
Argument | Default | Description |
|
| Character offset at which to read; negative values count from the end |
|
| Maximum characters to return, up to |
|
| Set to |
| — | Truncate each tool result to this many characters |
|
| Set to |
Filtering is applied before offsets and character counts, so pagination offsets always refer to
the selected representation. When more content exists, the result gives the exact offset for
the next call. For example, offset: -100000 reads the final 100,000 characters without first
fetching the beginning of the thread.
Metadata mode returns the title, creation time, agent mode, readable status, user-turn count, original and filtered character lengths, and the latest non-tool-result conversation message. The Amp Markdown export does not expose live execution status, which is called out in the result.
Development
npm run checkTo exercise the server interactively with the MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.jsCopyright © Archestra AI
Available Tools
1 toolread_amp_threadRead Amp threadARead-onlyIdempotent
Read an Amp coding-agent thread referenced by an Amp thread ID, @T-… mention, or ampcode.com URL. Supports tail reads, tool-output filtering, pagination, and lightweight metadata.
Inputs: thread (required), mode, limit, offset, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only a single tool, there is no possibility of confusion between tools. The tool's purpose is clearly defined, so an agent would never misselect.
The single tool name 'read_amp_thread' follows a clear verb_noun pattern and is descriptive. There are no other names to create inconsistency.
At only one tool, the server feels thin for a service as complex as Amp. While the tool is functional, it lacks the breadth expected of an integration server.
The tool only supports reading a thread given a reference, with no way to list, search, or interact with threads. This creates a dead end for agents that don't already have a thread ID, making the surface incomplete.
Maintenance
Related MCP Connectors
OrganiKPI MCP: search and fetch services, posts and tools as clean markdown (read-only).
Read public X (Twitter) posts, threads and X Articles as clean Markdown. Read-only, no auth.
Read-only MCP for the Eco game wiki: search, Markdown pages, and wiki_* lookups. No keys, no writes.
Manage feature requests, votes, roadmaps, and changelogs from any MCP client.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables fetching and reading Reddit content such as posts, comments, and subreddit listings via the MCP protocol.1MIT
- AlicenseNot gradedqualityFmaintenanceExposes read-only local markdown envelopes through MCP tools for health, context, and recall queries.Apache 2.0
- FlicenseNot gradedqualityNot gradedmaintenanceRead-only MCP server that extracts the main content (article text, stripped of navigation and ads) from a given URL using trafilatura. Supports markdown or plain text output.-
- FlicenseNot gradedqualityDmaintenanceRead-only MCP server that enables Cursor or Grok Bot to query Reddit data via OAuth bearer auth, providing user profile, history, subscriptions, subreddit feeds, and search.-