MCP.so
登录

Malloy MCP Server

@namabile

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

namabile

关于 Malloy MCP Server

An MCP Server for interacting with Malloy data models through the Malloy Publisher

Malloy MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "malloy-mcp-server": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "malloy-mcp-server"
      ]
    }
  }
}

Malloy MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Malloy MCP Server?

An MCP server implementation for executing Malloy queries and managing Malloy resources. It integrates with the Malloy Publisher API and is intended for developers who need to run Malloy queries via the Model Context Protocol.

How to use Malloy MCP Server?

Install using uv pip install malloy-mcp-server or pip install malloy-mcp-server. Configure the MALLOY_PUBLISHER_ROOT_URL environment variable (default http://localhost:4000). Start the server with mcp.serve() or by running python -m malloy_mcp_server. Use the ExecuteMalloyQueryTool to run queries and access resource endpoints such as malloy://project/home/metadata.

Key features of Malloy MCP Server

  • Execute Malloy queries via MCP
  • Access Malloy project, package, and model metadata
  • Robust error handling with detailed context
  • Comprehensive test coverage
  • Type-safe implementation

Use cases of Malloy MCP Server

  • Execute ad‑hoc Malloy queries through MCP tools
  • Programmatically inspect project, package, or model metadata
  • Integrate Malloy querying into AI‑powered workflows
  • Debug queries with detailed error context

常见问题

1

How do I install Malloy MCP Server?

Install with `uv pip install malloy-mcp-server` or `pip install malloy-mcp-server`. For development, use `uv pip install -e ".[dev]"`.

2

How do I configure the Malloy Publisher URL?

Set the `MALLOY_PUBLISHER_ROOT_URL` environment variable; it defaults to `http://localhost:4000`.

3

What dependencies does the server use?

The server is built on FastMCP, the Malloy Publisher Client, and Pydantic for data validation.

4

How does error handling work?

The server raises a `QueryExecutionError` with `message` and `context` attributes for detailed error context.

5

Can I run tests?

Yes, run `pytest` or `pytest --cov=malloy_mcp_server` for test coverage.

评论

其他 分类下的更多 MCP 服务器