Home

stencila mcp

Manage MCP (Model Context Protocol) servers

Usage

stencila mcp [COMMAND]

Examples

# List all discovered MCP servers
stencila mcp

# Show details about a specific server
stencila mcp show filesystem

# Show a server's tools (connects to the server)
stencila mcp show filesystem --tools

# Add a stdio server
stencila mcp add filesystem npx -y @modelcontextprotocol/server-filesystem /tmp

# Add an HTTP server
stencila mcp add remote-api https://api.example.com/mcp

# Remove a server
stencila mcp remove filesystem

# Print TypeScript declarations for all servers
stencila mcp codemode

# Print declarations for a specific server only
stencila mcp codemode --server filesystem

Subcommands

CommandDescription
listList all discovered MCP servers
showShow details of an MCP server
addAdd an MCP server to stencila.toml
removeRemove an MCP server from stencila.toml
codemodePrint generated TypeScript declarations for MCP codemode
© 2026 Stencila