ocis-mcp-server: Instructions file for Codex

AGENTS.md

ocis-mcp-server AGENTS.md is an instructions file for Codex, OpenCode from owncloud/ocis-mcp-server. It costs 658 tokens per session, scanned A, original, Apache-2.0.

Project instructions for an oCIS MCP server written in Go. MCP, or Model Context Protocol, is a standard way for an AI client to call tools exposed by a server; these instructions describe the server, its main folders, commands, and constraints.

In plain words
What is it for?
Use them when developing or checking the Go server, its tool definitions, its API connections, or its container image.
Why use it?
They help an agent understand the repository before editing it and use the project's existing build, test, lint, coverage, and Docker commands. They also record licensing and implementation boundaries.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is owncloud/ocis-mcp-server's own configuration. It tells Codex and OpenCode how to work on ocis-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ocis-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to owncloud/ocis-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/owncloud/ocis-mcp-server/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/owncloud/ocis-mcp-server

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ocis-mcp-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/owncloud/ocis-mcp-server/agents-md/github.svg)](https://agentmods.dev/instructions/owncloud/ocis-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/owncloud/ocis-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/owncloud/ocis-mcp-server/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ocis-mcp-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/owncloud/ocis-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/owncloud/ocis-mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 658 This file is loaded in full into every session.
When invoked 658 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00658 $0.00658
Opus 5.5 $0.00263 $0.00263
Sonnet 5.5 $0.00132 $0.00132
Haiku 4.5 $0.00066 $0.00066

Measured 23d ago against content hash b000d20af5d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ocis-mcp-server AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md -- oCIS MCP Server

Repository Overview

Standalone MCP (Model Context Protocol) server for oCIS, written in Go. Exposes 80+ AI tools via LibreGraph, WebDAV, and OCS APIs. Licensed under Apache-2.0.

Architecture & Key Paths

  • internal/ -- Server implementation and tool definitions
  • Makefile -- Build, test, and lint automation
  • Dockerfile -- Docker image build
  • go.mod / go.sum -- Go module definition
  • GETTING_STARTED.md -- Setup guide
  • evaluation.xml -- Evaluation configuration
  • install.sh -- Setup script

Development Conventions

  • Go codebase with minimal dependency tree
  • MCP protocol (stdio/HTTP transport)
  • No oCIS Go imports -- external client only

Build & Test Commands

make build                    # Build the binary
make test                     # Run tests
make lint                     # Run linter
make cover                    # Generate coverage report
make docker-build             # Build Docker image
make clean                    # Clean build artifacts

Important Constraints

  • Licensed under Apache-2.0 (already at the OSPO target license). The broader ownCloud organization is migrating other repositories from copyleft licenses to Apache 2.0.
  • No dependency on oCIS internals -- communicates only via public APIs.
  • All contributions require a DCO sign-off.

OSPO Policy Constraints

GitHub Actions

  • Only use actions owned by owncloud, created by GitHub (actions/*), verified on the GitHub Marketplace, or verified by the ownCloud Maintainers.
  • Pin all actions to their full commit SHA (not tags): uses: actions/checkout@<SHA> # vX.Y.Z
  • Never introduce actions from unverified third parties.

Dependency Management

  • Dependabot is configured for automated dependency updates.
  • Review and merge Dependabot PRs as part of regular maintenance.
  • Do not introduce new dependencies without discussion in an issue first.

Git Workflow

  • Rebase policy: Always rebase; never create merge commits. Use git pull --rebase and git rebase before pushing.
  • Signed commits: All commits must be PGP/GPG signed (git commit -S -s).
  • DCO sign-off: Every commit needs a Signed-off-by line (git commit -s).
  • Conventional Commits & Squash Merge: Use the Conventional Commits format where the repository enforces it. Many repos use squash merge, where the PR title becomes the commit message on the default branch — apply Conventional Commits format to PR titles as well. A reusable GitHub Actions workflow enforces this.

Read the full file on GitHub · 62 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago First seen · 62 lines · 658 tokens per session scan A b000d20af5d0

Subscribe to this mod's changes

ocis-mcp-server AGENTS.md is an instructions file published in the GitHub repository owncloud/ocis-mcp-server (7 stars, last pushed 4d ago), licensed Apache-2.0. It adds 658 tokens to every session, about $0.0026 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.

Related

ocis-mcp-server AGENTS.md compared with instructions from other repositories

ocis-mcp-server AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ocis-mcp-server AGENTS.mdowncloud/ocis-mcp-serverInstructions file74d agoApache-2.0A658Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode