AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified Apache-2.0 Self-run

Morloc

mcp-morloc-project-morloc · by morloc-project

A strongly-typed, polyglot compiler

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add mcp-morloc-project-morloc

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-morloc-project-morloc)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
yesterday

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Morloc? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

                    

Morloc compose functions across languages under a common type system

Why use Morloc?

  • Universal function composition: Import functions from multiple languages and

compose them together under a unified, strongly-typed functional framework.

  • Polyglot without boilerplate: Use the best language for each task with no

manual bindings or interop code.

  • Type-directed CLI generation: Write concrete function signatures once and

automatically generate elegant command-line interfaces with argument parsing, validation, help text, and documentation.

  • Composable CLI tools: Morloc CLI programs can be composed by simply importing

them into a new Morloc module and re-exporting their functions.

  • Seamless benchmarking and testing: Swap implementations and run the same

benchmarks/tests across languages with consistent type signatures and data representation.

  • Design universal libraries: Build abstract, type-driven libraries and

populate them with foreign language implementations, enabling rigorous code organization and reuse.

  • Smarter workflows: Replace brittle application/file-based pipelines with

faster, more maintainable pipelines made from functions acting on structured data.

Below is a simple example, for installation details and more examples, see the Manual.

A Morloc module can import functions from foreign languages, assign them general types, and compose new functions:

-- Morloc code, in "main.loc"
module m (vsum)

import root-py
import root-cpp

source Py from "foo.py" ("pmap")
pmap a b :: (a -> b) -> [a] -> [b] 

source Cpp from "foo.hpp" ("sum")
sum :: [Real] -> Real

--' Input numeric lists that will be summed in parallel
--' metavar: LISTS 
type Lists = [[Real]]

--' Sum a list of numeric lists
--' return: Final sum of all elements in all lists 
vsum :: Lists -> Real
vsum = sum . pmap sum 

The imported code is natural code with no Morloc-specific dependencies.

Below is the C++ code that defines sum as a function of a standard C++ vector of doubles that returns a double:

```C++ // C++ code, in "foo.hpp"

#pragma once

#include #include

double sum(std::vector xs) { return std::accumulate( xs.begin(), xs.end(), 0.0); }


Below is Python code that defines a parallel map function:

```python
# Python code, in "foo.py"

import multiprocessing as mp

# Parallel map function
def pmap(f, xs):
    with mp.Pool() as pool:
        results = pool.map(f, xs)
    return results

This program can be compiled and run as below:

$ morloc make main.loc

$ ./nexus vsum -h
Usage: ./nexus vsum LISTS

Sum a list of numeric lists 

Positional arguments:
  LISTS  Input numeric lists that will be summed in parallel
         type: [[Real]]

Return: Real
  Final sum of all elements in all lists

$ ./nexus vsum [[1.2],[0,0.1]]
1.3

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.