Skip to content

Commit f7c01aa

Browse files
authored
Merge branch 'main' into patch-1
2 parents 0cdd076 + 2cc7c92 commit f7c01aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2646
-136
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
package-lock.json linguist-generated=true
22
schema/*/schema.json linguist-generated=true
3+
docs/specification/*/schema.md linguist-generated=true
4+
docs/specification/*/schema.mdx linguist-generated=true

.github/workflows/deploy-blog.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Deploy Hugo site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
defaults:
18+
run:
19+
shell: bash
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
env:
25+
HUGO_VERSION: 0.148.0
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
submodules: recursive
31+
fetch-depth: 0
32+
33+
- name: Setup Hugo
34+
run: |
35+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
36+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
37+
38+
- name: Setup Pages
39+
id: pages
40+
uses: actions/configure-pages@v5
41+
42+
- name: Build with Hugo
43+
env:
44+
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
45+
HUGO_ENVIRONMENT: production
46+
run: |
47+
cd blog && hugo \
48+
--gc \
49+
--minify \
50+
--baseURL "${{ steps.pages.outputs.base_url }}/"
51+
52+
- name: Upload artifact
53+
uses: actions/upload-pages-artifact@v3
54+
with:
55+
path: ./blog/public
56+
57+
deploy:
58+
environment:
59+
name: github-pages
60+
url: ${{ steps.deployment.outputs.page_url }}
61+
runs-on: ubuntu-latest
62+
needs: build
63+
steps:
64+
- name: Deploy to GitHub Pages
65+
id: deployment
66+
uses: actions/deploy-pages@v4

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@ jobs:
2121
- name: Check TypeScript definitions
2222
run: npm run check:schema:ts
2323

24-
- name: Verify that `npm run generate:json` did not change outputs (if it did, please re-run it and re-commit!)
24+
- name: Check schema.json files are up to date
2525
run: npm run check:schema:json
26+
27+
- name: Check schema.mdx files are up to date
28+
run: npm run check:schema:md

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docs/specification/*/schema.md
2+
docs/specification/*/schema.mdx

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ git checkout -b feature/your-feature-name
4747

4848
```bash
4949
npm run check:schema:ts
50-
npm run generate:json
50+
npm run generate:schema
5151
```
5252

5353
4. Validate documentation changes and apply formatting:

blog/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Hugo default output directory
2+
/public/
3+
/resources/_gen/
4+
/assets/jsconfig.json
5+
6+
# Hugo cache
7+
.hugo_build.lock
8+
9+
# macOS
10+
.DS_Store

blog/archetypes/default.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
date = '{{ .Date }}'
3+
draft = true
4+
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
5+
+++

blog/assets/css/extended/custom.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* Override list page background to white in light mode */
2+
.list {
3+
background: var(--theme);
4+
}
5+
6+
/* Dark mode remains unchanged */
7+
.dark.list {
8+
background: var(--theme);
9+
}

blog/content/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
+++
2+
title = 'blog'
3+
+++
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
+++
2+
date = '2025-07-02T11:46:28+01:00'
3+
draft = false
4+
title = 'The Model Context Protocol Blog'
5+
tags = ['announcement']
6+
+++
7+
8+
Welcome to the official Model Context Protocol (MCP) blog! This is where we'll share the latest updates, tutorials, best practices, and insights about MCP.
9+
10+
## About MCP
11+
12+
The Model Context Protocol is an open standard that enables seamless integration between AI assistants and external data sources and tools. It provides a universal way for AI models to interact with local services, APIs, and data stores.
13+
14+
## Get Involved
15+
16+
We're excited to build this ecosystem together with you. Here's how you can participate:
17+
18+
- Check out the [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/tree/main/docs/specification)
19+
- Join the discussion on [GitHub](https://github.com/modelcontextprotocol)

0 commit comments

Comments
 (0)