Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

chore: Update fastmcp.json schema (#1674)

marvin-context-protocol[bot]c71c7ef8e3c0
diff --git a/docs/public/schemas/fastmcp.json/latest.json b/docs/public/schemas/fastmcp.json/latest.json
index c28a50452..bc072a67d 100644
--- a/docs/public/schemas/fastmcp.json/latest.json
+++ b/docs/public/schemas/fastmcp.json/latest.json
@@ -162,7 +162,42 @@
"title": "Deployment",
"type": "object"
},
- "Environment": {
+ "FileSystemSource": {
+ "description": "Source for local Python files.",
+ "properties": {
+ "type": {
+ "const": "filesystem",
+ "default": "filesystem",
+ "description": "Source type",
+ "title": "Type",
+ "type": "string"
+ },
+ "path": {
+ "description": "Path to Python file containing the server",
+ "title": "Path",
+ "type": "string"
+ },
+ "entrypoint": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Name of server instance or factory function (a no-arg function that returns a FastMCP server)",
+ "title": "Entrypoint"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "title": "FileSystemSource",
+ "type": "object"
+ },
+ "UVEnvironment": {
"description": "Configuration for Python environment setup.",
"properties": {
"python": {
@@ -266,42 +301,7 @@
"title": "Editable"
}
},
- "title": "Environment",
- "type": "object"
- },
- "FileSystemSource": {
- "description": "Source for local Python files.",
- "properties": {
- "type": {
- "const": "filesystem",
- "default": "filesystem",
- "description": "Source type",
- "title": "Type",
- "type": "string"
- },
- "path": {
- "description": "Path to Python file containing the server",
- "title": "Path",
- "type": "string"
- },
- "entrypoint": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Name of server instance or factory function (a no-arg function that returns a FastMCP server)",
- "title": "Entrypoint"
- }
- },
- "required": [
- "path"
- ],
- "title": "FileSystemSource",
+ "title": "UVEnvironment",
"type": "object"
}
},
@@ -339,7 +339,7 @@
]
},
"environment": {
- "$ref": "#/$defs/Environment",
+ "$ref": "#/$defs/UVEnvironment",
"description": "Python environment setup configuration"
},
"deployment": {
diff --git a/docs/public/schemas/fastmcp.json/v1.json b/docs/public/schemas/fastmcp.json/v1.json
index c28a50452..bc072a67d 100644
--- a/docs/public/schemas/fastmcp.json/v1.json
+++ b/docs/public/schemas/fastmcp.json/v1.json
@@ -162,7 +162,42 @@
"title": "Deployment",
"type": "object"
},
- "Environment": {
+ "FileSystemSource": {
+ "description": "Source for local Python files.",
+ "properties": {
+ "type": {
+ "const": "filesystem",
+ "default": "filesystem",
+ "description": "Source type",
+ "title": "Type",
+ "type": "string"
+ },
+ "path": {
+ "description": "Path to Python file containing the server",
+ "title": "Path",
+ "type": "string"
+ },
+ "entrypoint": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Name of server instance or factory function (a no-arg function that returns a FastMCP server)",
+ "title": "Entrypoint"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "title": "FileSystemSource",
+ "type": "object"
+ },
+ "UVEnvironment": {
"description": "Configuration for Python environment setup.",
"properties": {
"python": {
@@ -266,42 +301,7 @@
"title": "Editable"
}
},
- "title": "Environment",
- "type": "object"
- },
- "FileSystemSource": {
- "description": "Source for local Python files.",
- "properties": {
- "type": {
- "const": "filesystem",
- "default": "filesystem",
- "description": "Source type",
- "title": "Type",
- "type": "string"
- },
- "path": {
- "description": "Path to Python file containing the server",
- "title": "Path",
- "type": "string"
- },
- "entrypoint": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Name of server instance or factory function (a no-arg function that returns a FastMCP server)",
- "title": "Entrypoint"
- }
- },
- "required": [
- "path"
- ],
- "title": "FileSystemSource",
+ "title": "UVEnvironment",
"type": "object"
}
},
@@ -339,7 +339,7 @@
]
},
"environment": {
- "$ref": "#/$defs/Environment",
+ "$ref": "#/$defs/UVEnvironment",
"description": "Python environment setup configuration"
},
"deployment": {