Skip to main content
Glama
sandervd
by sandervd

linkml-mcp

用于按提交定位编辑 LinkML YAML 模式的 MCP 服务器。

关于项目范围和里程碑边界,请参阅 SCOPE.md

安装

uv sync --dev

Related MCP server: github-mcp-tool

运行 MCP 服务器

对于本地编辑器/Codex 测试,目前推荐使用 HTTP 传输:

uv run linkml-mcp --transport http --host 127.0.0.1 --port 8765

要通过主机名或反向代理接收请求,请绑定到 localhost 之外,并允许外部 Host 头:

uv run linkml-mcp \
  --transport http \
  --host 0.0.0.0 \
  --port 8765 \
  --allowed-host essentialcomplexity.eu

如果代理转发了不同的 Host 头,请通过另一个 --allowed-host 传入该值。

使用以下 MCP 配置:

{
  "servers": {
    "linkml-server": {
      "type": "http",
      "url": "http://127.0.0.1:8765/mcp"
    }
  },
  "inputs": []
}

也支持 Stdio:

uv run linkml-mcp

默认情况下,服务器将工作区存储在 .linkml-mcp/workspaces 目录下。若要覆盖此路径,请使用:

export LINKML_MCP_WORKSPACE_ROOT=/path/to/workspaces
export LINKML_MCP_GENERATOR_OUTPUT_ROOT=/path/to/generated

测试客户端

创建工作区:

uv run linkml-mcp-client init --name test_schema

应用语义变更集:

uv run linkml-mcp-client apply-change \
  --workspace-id ws_... \
  --base-commit abc123 \
  --changes-json examples/add_person.json \
  --message "Add Person"

在某个提交处读取模式:

uv run linkml-mcp-client read-schema \
  --workspace-id ws_... \
  --commit-id def456

运行测试:

uv run pytest
Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables managing GitHub repositories, files, and user information through MCP, with support for creating, updating, and deleting repository contents, as well as fetching user profiles.
    1
  • A
    license
    A
    quality
    A
    maintenance
    Repository-native protocol and MCP server for coordinating work items, documentation, changelogs, and project memory between humans and AI agents, using Markdown files in a Git repository as the canonical data source.
    6
    30
    2
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Provides MCP tools that give AI agents persistent, append-only memory in a git repository, letting them record observations, decisions, and corrections while retrieving context briefs, current facts, conflicts, and traceable event history without a vector database.
    MIT

View all related MCP servers

Related MCP Connectors

  • Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.

  • A MCP server built for developers enabling Git based project management with project and personal…

  • Generate a typed SDK, CLI, and MCP server from any OpenAPI or GraphQL spec, and keep them current.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandervd/linkml-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server