organisation.md
This MCP server turns a GitHub repository into a persistent, AI-accessible knowledge base, allowing AI agents to read, search, and propose changes to shared organisational context through pull requests.
Read & Search
read_org— Retrieve the fullorganisation.mdfileread_section— Fetch a specific section by heading (e.g., "Team", "Decisions")search_context— Search acrossorganisation.mdand allCONTEXT/fileslist_context_files— List all files in theCONTEXT/directory
Write & Propose Changes
update_section— Propose an update to a specific section (creates a pull request)propose_change— Propose a change to any file in the repo (creates a pull request)add_info— Add information in natural language; auto-detects the right section/fileremove_info— Remove information by natural language descriptionimport_file— Import a.txt,.md, or.docxfile into the knowledge base
Access Control & Permissions
check_roles— View who has what permissions via CODEOWNERS and collaborator settingscheck_permissions— Verify if the current user can add, delete, approve, or mergeconfigure_codeowners— Update.github/CODEOWNERSto control approval rights per path
Issue Tracking
report_bug— Auto-detect area and file a GitHub issuesuggest_feature— File a feature request as a GitHub issue
Provides tools to read, search, and update an organization's context stored in a GitHub repository, including creating pull requests for changes.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@organisation.mdread the decisions section"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
organisation.md
your team's living memory — an mcp server backed by a git repo.
organisation.md turns any github repository into your organisation's persistent context layer. any mcp-compatible ai tool (claude code, cursor, etc.) can read, search, and propose updates to your team's shared context — without a database, without a hosted service, without leaving your github account.
how it works
fork this repository into your github organisation.
edit
organisation.mdwith your team's identity, projects, decisions, and preferences.run the mcp server — your ai agents connect and read/write context naturally.
all changes go through pull requests — your team reviews and merges them. git provides version history, branching, and access control out of the box.
Related MCP server: git-context-mcp
quickstart
1. generate a personal access token
go to github.com/settings/tokens and generate a classic token with the repo scope. copy the token — you'll need it in the next step.
2. run with npx (recommended)
export GITHUB_TOKEN=ghp_your_token_here
export GITHUB_OWNER=your-github-username-or-org
export GITHUB_REPO=organisation.md
npx @shashank-sn/organisation-mdthat's it. the mcp server starts in stdio mode and your ai agent can connect.
3. run in sse mode (for remote agents)
export GITHUB_TOKEN=ghp_your_token_here
export GITHUB_OWNER=your-github-username-or-org
export GITHUB_REPO=organisation.md
export TRANSPORT=sse
npx @shashank-sn/organisation-mdthe server starts on http://localhost:3000/sse. configure your remote mcp host to connect to this endpoint.
4. or clone and run locally
git clone https://github.com/your-org/organisation.md.git
cd organisation.md
npm install
export GITHUB_TOKEN=ghp_your_token_here
export GITHUB_OWNER=your-github-username-or-org
export GITHUB_REPO=organisation.md
npx tsx src/server.ts4. connect to your ai agent
the server speaks mcp over stdio. configure your ai tool to launch it:
claude code — add to your .mcp.json:
{
"mcpServers": {
"organisation.md": {
"command": "npx",
"args": ["@shashank-sn/organisation-md"],
"env": {
"GITHUB_TOKEN": "ghp_...",
"GITHUB_OWNER": "your-org",
"GITHUB_REPO": "organisation.md"
}
}
}
}cursor / continue / other mcp hosts — point to the same command with env vars.
tools
tool | description |
| read the full |
| read a specific section by heading (e.g., "team", "decisions") |
| propose an update to a section — creates a pull request |
| search across |
| propose a change to any file in the repo — creates a pull request |
| list all files in the |
| import a txt, md, or docx file into the knowledge base |
| add information via natural language — auto-detects the section |
| remove information matching a description |
| check git-based roles and codeowners |
| check if you can add/delete/approve/merge |
| update |
| auto-detect the area and file a github issue |
| suggest a feature or improvement as a github issue |
repository structure
organisation.md/
├── organisation.md # canonical org context file
├── context/ # supporting context files
│ ├── README.md
│ ├── projects.md # detailed project info
│ ├── architecture.md # system architecture
│ └── people.md # team members and roles
├── src/ # mcp server source (typescript)
│ ├── server.ts # entry point
│ ├── github/ # octokit wrapper (files, git api)
│ ├── content/ # markdown parser and template
│ ├── tools/ # mcp tool implementations
│ └── resources/ # mcp resource templates
├── docs/ # documentation
│ ├── quickstart.md # full setup guide
│ ├── agent-prompt.md # prompt template for ai agents
│ └── example-flows.md # common workflows
├── scripts/
│ └── build-site.mjs # github pages build script
├── .github/workflows/
│ ├── ci.yml # ci: typecheck + test on push/pr
│ └── pages.yml # github pages deployment
├── strategy.md # product strategy
├── license # mit
└── README.mdconfiguration
copy .env.example to .env and fill in your values:
cp .env.example .envvariable | required | default | description |
| yes | — | github personal access token with |
| yes | — | github username or organisation that owns the repo |
| yes | — | repository name (e.g., |
| no |
| transport mode — |
| no |
| port for sse transport (only used when |
customisation
edit
organisation.md— replace the template content with your team's actual identity, projects, and decisions.add
context/files — create additional markdown files for deeper context (architecture docs, runbooks, etc.).fork and rename — fork the repo into your org and update the env vars to point at your fork.
development
npm install
npm run dev # development server with hot reload
npm test # run tests
npm run typecheck # typescript checking
npm run build # compile typescript
npm run build:site # build github pages site locallylicense
mit — fork it, use it, ship it. see license.
Maintenance
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
- Alicense-qualityBmaintenanceEnables AI agents to search and retrieve context from GitHub issues, pull requests, releases, and documentation using hybrid semantic search and time-ordered activity scans.Last updated376Apache 2.0
- FlicenseBqualityDmaintenanceProvides AI coding agents with structured Git repository context including project state, code structure, activity, and risk analysis without modifying or uploading code.Last updated53
- Alicense-qualityDmaintenanceProvides AI coding assistants with persistent, context-rich memory of a codebase, including documentation and git history, enabling recall across sessions.Last updated104Apache 2.0
- AlicenseAqualityAmaintenanceProvides persistent memory and a codebase knowledge graph for AI coding assistants, enabling shared context across multiple tools like Claude, Cursor, and ChatGPT, with significant token reduction.Last updated580MIT
Related MCP Connectors
Your company's brain for AI agents. Cited, permission-aware knowledge across every system.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/shashank-sn/organisation.md'
If you have feedback or need assistance with the MCP directory API, please join our Discord server