Skip to content

otherfunc/otherfunc-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otherfunc-mcp

MCP (Model Context Protocol) server that wraps the OtherFunc API, letting LLMs create, manage, and execute functions in esoteric languages.

Tools

Tool Description
list_languages List available programming languages
execute_code Run code ad-hoc without saving
execute_function Run a saved function by ID
create_function Create a new function with slug, language, name, and code
get_function Get function details and source code
list_functions List all functions owned by the authenticated user
update_function Update name, description, code, or published status
delete_function Permanently delete a function

Setup

Requires an OtherFunc API key. Set the environment variable:

export OTHERFUNC_API_KEY="of_your_key_here"

Optionally override the API base URL (defaults to https://api.otherfunc.com):

export OTHERFUNC_API_URL="http://localhost:8787"

Install

cargo install --path .

Claude Desktop Configuration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "otherfunc": {
      "command": "otherfunc-mcp",
      "env": {
        "OTHERFUNC_API_KEY": "of_your_key_here"
      }
    }
  }
}

Implementation

  • Built with rmcp (Rust MCP SDK) over stdio transport
  • Async HTTP via reqwest with rustls
  • Tracing output goes to stderr (stdout is the JSON-RPC channel)

About

MCP server for OtherFunc API

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages