octave-mcp
MCP (Model Context Protocol) server for GNU Octave
Install / Use
claude mcp add fmcato -- npx -y github:fmcato/octave-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of octave-mcp
octave-mcp scores 67/100 on our quality scale, 518th of 585 AI & Machine Learning skills we index.
Its MCP Server is 3.4 KB long, well organised into 16 sections with 9 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 6 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-09-16 found the source still online.
- It is released under GPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
- Its trust signals score 85/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-25. Automated pattern scan on 2026-09-25. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
octave-mcp compared with similar skills
All 4 of these similar skills score higher than octave-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| octave-mcp (this skill)by fmcato | 67 | 3 | 6mo ago | MCP Server |
| claude-memby thedotmack | 100 | 94.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 85.3k | 9d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 84.1k | 13d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 73.7k | today | CLAUDE.md |
Frequently asked questions
- How do I install octave-mcp?
- Run
claude mcp add fmcato -- npx -y github:fmcato/octave-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does octave-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is octave-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is GPL-3.0-licensed and scores 85/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is octave-mcp still maintained?
- The repository was last updated about 6 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubOctave MCP Server
A Model Context Protocol (MCP) server for executing Octave scripts non-interactively.

Features
- Execute Octave scripts via MCP protocol
- Supports both HTTP and stdio communication modes
- Built-in security for HTTP mode (localhost only)
- Automatic Octave installation verification
Prerequisites
- Go 1.21+ (for building/running)
- GNU Octave installed and available in PATH (tested version 8.4.0)
Installation
-
Clone the repository:
git clone https://github.com/fmcato/octave-mcp.git cd octave-mcp -
Build the server:
go build ./cmd/octave-server
Usage
HTTP Mode
Start the HTTP server:
./octave-server -http localhost:8080
Stdio Mode
Start the stdio server:
./octave-server
MCP Tool Usage
The server provides two tools:
run_octave- Execute Octave scripts:
{
"script": "string"
}
Example:
{
"script": "disp('Hello from Octave');"
}
generate_plot- Generate plots from Octave scripts:
{
"script": "string",
"format": "png|svg"
}
Example:
{
"script": "plot([1,2,3,4]);",
"format": "png"
}
Plot Generation Notes:
- Output formats supported: PNG or SVG
Running with Docker
You can run the Octave MCP server using Docker for easier deployment and isolation.
The Docker image uses a multi-stage build process:
- Build stage: Uses
golang:alpinefor compiling the binary - Runtime stage: Uses the official
gnuoctave/octaveimage - This approach reduces the final image size and improves security
Using Docker Compose (Recommended)
Build and run the server:
docker-compose up --build
The server will be available at http://localhost:8080.
Using Docker Directly
Build the image:
docker build -t octave-mcp -f docker/Dockerfile .
Run the container:
docker run -p 8080:8080 octave-mcp
Testing the Docker Image
To verify the Docker image is working correctly:
-
Start the container:
docker-compose up -d -
Use a tool like MCP Inspector to verify the server is accessible at http://localhost:8080/mcp
-
Check the logs:
docker-compose logs octave-mcp -
Stop the container:
docker-compose down
Configuration
The server accepts the following flags:
-http: HTTP address to listen on (empty for stdio mode)
Environment Variables
The following environment variables can be used to configure server behavior:
OCTAVE_SCRIPT_TIMEOUT: Script execution timeout in seconds (default: 10)OCTAVE_CONCURRENCY_LIMIT: Maximum concurrent executions (default: 10)OCTAVE_SCRIPT_LENGTH_LIMIT: Maximum script length in characters (default: 10000)OCTAVE_MCP_ALLOW_NON_LOCALHOST: Set totrueto allow non-localhost connections (default:false). Use with caution in production environments.
Security
- Scans scripts for dangerous patterns
- Filters output to remove sensitive information
- Uses temporary directories with restricted permissions
When running in HTTP mode:
- Only accepts connections from localhost (unless
OCTAVE_MCP_ALLOW_NON_LOCALHOST=trueis set) - Implements strict CORS and security headers
- Validates request origins
License
This project is licensed under the GNU General Public License v3.0. See LICENSE for the full license text.
Related Skills
claude-mem
94.6kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
85.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
84.1kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
73.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
