
Althea MCP
io.github.tiptreesystems由 GitHub 账号 tiptreesystems 发布v0.2.1更新于 Oct 25, 2026
Connect coding agents to your Althea and, through her, a consent-first network of ML researchers.
概览
一个本地 stdio MCP 服务器,把 Codex、Claude Code 等编码代理连接到用户的个人 Althea 助手,共享研究记忆并获取帮助。
- 可以做什么
- 向 Althea 发送问题、代码和仓库上下文,可等待首次回复,也可立即发送并只拿到回执。读取当前线程中的近期消息,可按发送者筛选。按标题或主题搜索用户的 Althea 会话,或列出近期会话。获取任一自有会话的消息记录及其消息总数。Althea 还可能转而咨询一个以同意为前提的已验证机器学习研究者网络。
- 适用场景
- 适合让编码代理把问题、实验结果或仓库上下文交给个人 Althea,并借助共享研究记忆,包括异步跟进和偶尔的外部研究者意见。只应在你信任的客户端和项目中注册。
- 运行要求
- 作为本地进程运行,需用 uv 从 PyPI 安装,并需要 Althea 访问权限。需在交互式终端中运行一次安装配置命令,用邮件验证码登录;已有账户、符合条件的新账户和仍需申请访问的账户流程不同。工具需通过 HTTPS 连接 Althea 的网络。可选环境变量可设置应用地址、线程键、凭据文件路径、超时和日志级别。
安装
在 SourceWeft 中
- 打开 控制台中的 Althea MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Althea MCP
A direct line from your coding agent to your Althea.
Shared research memory and a consent-first network of verified ML researchers.
[CI status] [Latest GitHub release] [PyPI version] [Python 3.11+] [MCP Registry listing] [MIT license]
Give Codex, Claude Code, and other coding agents a direct line to your personal Althea. They can hand her questions, code, and context from the repository in front of them. Althea brings your shared research memory and, when useful, can ask a consent-first network of verified ML researchers for help.
- Agents that can talk to each other. Pass questions, code, experiment results, and repository context between your coding agent and Althea.
- Your Althea, with your context. MCP uses your existing account, profile, and long-term research memory.
- A route into the researcher network. Althea can ask verified ML researchers for help, with consent before private context is shared.
- Client-specific conversations. Codex and Claude stay separate when you give them distinct thread keys, while Althea keeps your shared context.
- Work asynchronously. Wait for a reply, leave a message for longer work, or read the thread later.
Setup · Connect a client · First conversation · Tools · Security and privacy · Development
Setup
You need access to Althea and uv. Install Althea MCP from PyPI, then sign in with an emailed verification code:
If the install succeeds but the command is not found, run uv tool update-shell
and open a new terminal.
Run setup yourself in an interactive terminal. Enter your email and verification code there, not in an AI chat.
Setup follows the same account journey as the Althea web app:
- Existing accounts receive a verification code by email.
- Eligible new accounts are asked for a name, then receive a verification code.
- Accounts that still need access are sent to the Althea application. Complete it, then run setup again.
The installed server starts without fetching code on every launch. Its tools still need a network connection to Althea. Upgrade the package later with:
Connect an MCP client
Complete setup once, then add the local stdio server. Give each client a different thread key.
[!CAUTION] This server can read private Althea history and send real messages. Register it only in clients and projects you trust.
Codex
codex mcp add writes to your user configuration. Equivalent
~/.codex/config.toml:
Claude Code
That command uses Claude Code's project-local scope. Add --scope user
immediately before althea only if you want the server available in every
project you open.
A user-wide manual entry under the top-level mcpServers object in
~/.claude.json looks like this:
Claude Desktop and other local clients
Find the installed command:
On Windows PowerShell:
GUI applications sometimes receive a smaller PATH than your terminal. If
althea-mcp is not found, use the absolute path returned above:
Restart the client after changing its MCP configuration.
Start a conversation
Try one of these prompts in your MCP client:
Messages continue the configured thread. They are real messages to your personal Althea and may cause her to begin work.
Tools
The two send tools are marked as state-changing. Conversation search and message retrieval are read-only. The current tool surface is text-only. It does not expose attachments or other Althea artifacts.
How it works
Althea MCP is a small public adapter. The frontend authenticates the user, resolves their canonical Althea, sends messages, and stores the resulting conversation. The package polls those persisted messages when a caller waits for a reply. The coding agent talks to Althea, and Althea coordinates with the researcher network when a request would benefit from outside expertise.
Sign-in and sessions
Setup creates a normal Althea usage session:
- The access session lasts 7 days.
- Its rotating refresh-token family lasts 14 days from sign-in.
- Access tokens refresh automatically before expiry.
- A cross-process lock lets several local MCP clients share the credential file without racing refresh-token rotation.
- When the session expires or is revoked, run
althea-mcp setupagain in a separate terminal. Running MCP processes reload the replacement credentials. - Signing in again rotates credentials only. It does not replace conversation
history when the Althea account and
ALTHEA_THREAD_KEYstay the same.
Credentials are stored as plaintext JSON at
~/.config/althea-mcp/credentials.json. On operating systems that support Unix
file modes, the credential file is set to 0600. A parent directory created by
Althea MCP is requested as 0700; check the permissions yourself when using a
pre-existing custom directory.
Security and privacy
- Messages sent through these tools are persisted in your Althea account, like messages from Althea's other channels.
- The local stdio process sends messages and credentials to Althea over HTTPS. Even with local transport, conversation data leaves your machine.
- The connected MCP host and model can see tool arguments and replies. They may retain that data under their own privacy and retention policies.
- When Althea asks the researcher network for help, she requests consent before sharing information drawn from a private conversation.
- The package sends access credentials only to the Althea origin they were
issued for. Changing
ALTHEA_APP_URLrequires a new setup. - The refresh token is sent only to the session rotation endpoint.
- Email verification codes and the credential file are secrets. Never paste them into an AI chat, terminal transcript, issue, or pull request.
- To remove the local session, close MCP clients and delete the credential file. This forgets the session on that machine. Contact Tiptree if a copied session must also be revoked.
Please report vulnerabilities using the security policy.
Configuration
Most users only need althea-mcp setup and a client-specific thread key.
Setup also accepts --credentials-file to override the credential path and
--no-browser to print an access-request URL without opening it.
Troubleshooting
Althea MCP is not configured
Run althea-mcp setup in a terminal, then restart the MCP client.
Your Althea MCP sign-in has expired or was revoked
Run setup again. The refresh-token family has a 14-day absolute lifetime.
Saved credentials are bound to another URL
Run setup with the same origin the MCP client will use:
Then set the matching ALTHEA_APP_URL in the client configuration.
ask_althea timed out
Althea may still be working. Call get_althea_messages after a short wait.
The client cannot find althea-mcp
Run command -v althea-mcp in a terminal and use that absolute path in the
client configuration.
Two clients are sharing a conversation
Assign a distinct ALTHEA_THREAD_KEY to each client and restart them.
Local development
Run setup against a local frontend:
Running althea-mcp with no subcommand starts the stdio server. The explicit
equivalent is althea-mcp serve.
Contributing
Bug reports and focused pull requests are welcome. Read the contribution guide before opening one. Remove all email addresses, messages, OTPs, and credentials from logs and fixtures.
License
MIT © Tiptree Advanced Systems Corporation.
来源:README.md,提交 1990a62
工具
0版本历史
3- v0.2.1最新Oct 22, 2026
- v0.2.0Oct 19, 2026
- v0.1.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分