xs.mcp.nu
@cablehead
a Nushell cross.stream extension to interact with LLMs and MCP servers
Overview
What is xs.mcp.nu?
xs.mcp.nu is a Nushell‑scriptable MCP client that lets you edit conversation threads stored in cross.stream. It provides a consistent API across multiple AI providers (Anthropic, Cerebras, Cohere, Gemini, OpenAI) and supports persistent, editable context windows.
How to use xs.mcp.nu?
Install and configure cross.stream, then overlay the gpt module with overlay use -pr ./gpt. Run gpt init to initialize the LLM command, enable a provider with gpt provider enable, set a model alias with gpt provider ptr milli --set, and start a conversation with "hola" | gpt -p milli.
Features of xs.mcp.nu
- Consistent API across Anthropic, Cerebras, Cohere, Gemini, and OpenAI.
- Persistent, editable conversation threads stored in cross.stream.
- Flexible tool integration via MCP servers.
- Document upload with automatic content‑type detection and optional caching.
- Fully scriptable in Nushell with inspectable terminal workflows.
- Built on cross.stream for event‑driven processing.
Use cases of xs.mcp.nu
- Run AI‑powered conversations directly from your Nushell terminal.
- Review, edit, and control your own context window across sessions.
- Connect to external MCP servers to extend client functionality.
- Upload PDFs, images, and text files as reference material in chats.
- Generate structured code context from Git repositories.
FAQ from xs.mcp.nu
Why does the name include 2099?
"What else would you call the future?"
What models and providers does xs.mcp.nu support?
It connects to Anthropic, Cerebras, Cohere, Gemini, and OpenAI through a single interface, with an API to add providers easily.
Does xs.mcp.nu require any runtime dependencies?
Yes, you must first install and configure cross.stream, which provides the ecosystem for editing and working with context windows.
How are conversations, documents, and API keys stored?
Conversations are saved in cross.stream threads; API keys are stored locally when you run gpt provider enable.
How does xs.mcp.nu compare to Claude Code for local file editing?
xs.mcp.nu already rivals Claude Code for local file editing, but with full provider independence and deeper flexibility.