frontmcp.dev
The FrontMCP API reference for TypeScript MCP servers, from decorators and contexts to auth, plugins, testing and deployment, checked against the SDK it describes, with a runnable example for…
First seen 2026-11-05 · Last seen 2026-11-05 · Source: webmcp.com
Answer 7 · Act 6 · Transact 0 · Score: Not yet scored
Tool inspector
run_in_playground
Compiles FrontMCP code and starts it in the Playground's runtime in this page: FrontMCP and a simulated MCP client in a Web Worker, as the site's Playgrounds run. Nothing is shown to the user. Returns, in order: the compile errors with file and line, or the error that stopped the server starting; else the server's catalog (tools, resources, resource templates and prompts, with their schemas); then the response to `call`, if given; then, with `runTests`, the results of the project's *.test.ts files. The files may import @frontmcp/sdk, @frontmcp/testing, @frontmcp/plugins, the @frontmcp/plugin-* packages, @frontmcp/adapters and each other, and export their tools, resources and prompts, or an @App or @FrontMcp class. The server is disposed afterwards, and the whole run has a time limit of 60 seconds. Use it to check that code compiles and behaves as you expect before you suggest it.
Page: /reference
Input schema
| Property | Type | Required | Description |
|---|---|---|---|
files |
array | yes | The project's files. |
call |
object | no | One request to send once the server is running. |
runTests |
boolean | no | Also run the tests in the project's *.test.ts files. |
Raw JSON schema
{
"type": "object",
"properties": {
"files": {
"minItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The file's name, like \"server.ts\", or \"server.test.ts\" for tests written with @frontmcp/testing."
},
"code": {
"type": "string",
"description": "Its TypeScript."
},
"active": {
"description": "Shown first.",
"type": "boolean"
},
"hidden": {
"description": "Kept out of the file tabs.",
"type": "boolean"
}
},
"required": [
"name",
"code"
]
},
"description": "The project's files."
},
"call": {
"description": "One request to send once the server is running.",
"type": "object",
"properties": {
"method": {
"type": "string",
"description": "An MCP method: tools/call, resources/read or prompts/get, or a list method like tools/list."
},
"params": {
"default": {},
"description": "Its params, like { \"name\": \"search_tickets\", \"arguments\": { \"query\": \"log\" } } for tools/call.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"method"
]
},
"runTests": {
"default": false,
"description": "Also run the tests in the project's *.test.ts files.",
"type": "boolean"
}
},
"required": [
"files"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}
Similar websites
morphus.myles4miles.chatgpt.site
Morphus is an AI-native workspace for designing worlds and generating playable game experiences.
damnpdfs.com
Install the DamnPDFs Codex plugin, pair a browser workspace and use PDF, image and file tools from your coding agent. Includes setup and privacy limits.
insignifi4nt.github.io
broCAD/M: local-first CAD and CAM for parametric design, wire EDM planning, simulation and controller export.
cabinet.varera.studio
The Cartographer's Cabinet