Examples

Live demos

Use list_sessions inspect for a linked badge, or delete_session for a plain inline reference.

Tool cards

list_sessions

list_sessions
inspect tool
inspect tool
list_sessions

List active sessions for one server.

Returns:

list[str]

create_session

create_session
execute tool
execute tool
create_session

Create one session and return the created record.

Returns:

dict[str, str | int | bool]

delete_session

delete_session
teardown tool
teardown tool
delete_session

Delete one session from the server.

Returns:

bool

Parameter table

Parameters

Parameter

Type

Required

Default

Description

name

str

yes

—

Session name to create.

window_count

int

no

1

Initial number of windows.

detached

bool

no

False

Whether to create the session detached from the current client.

Tool summary

Teardown

Removes objects; not reversible.

Tool

Description

delete_session

Delete one session from the server.

Execute

Starts or drives a process.

Tool

Description

create_session

Create one session and return the created record.

Inspect

Reads state without changing it.

Tool

Description

list_sessions

List active sessions for one server.

Resource cards

Read from the live server at fastmcp_server_module. docs://changelog sets every MCP annotation, docs://readme sets none — annotation facts appear only when the resource carries them.

changelog

docs://changelog
resource text/markdown
resource text/markdown
docs://changelog

Return the project changelog, as Markdown.

MIME type:
text/markdown
Audience:
user
Priority:
0.8
Last modified:
2026-09-05T00:00:00Z

readme

docs://readme
resource text/markdown
resource text/markdown
docs://readme

Return the project README, as Markdown.

MIME type:
text/markdown

changelog_entry

docs://changelog/{version}
resource-template text/markdown
resource-template text/markdown
docs://changelog/{version}

One changelog entry, as Markdown.

MIME type:
text/markdown

Parameters

Argument

Type

Required

Description

version

string

yes

—

Prompt card

summarize_release

summarize_release
prompt
prompt
summarize_release

Draft a release summary for one version.

Demo module reference

The demo objects above, as plain Python API — the targets the entries’ Python path facts link to:

Synthetic FastMCP tools for the documentation page live demos.

Examples

>>> list_sessions("prod")
['prod:0', 'prod:1']
>>> create_session("demo")["name"]
'demo'
>>> delete_session("old-session")
True
fastmcp_demo_tools.list_sessions(server, limit=20)
function[source]
function[source]
fastmcp_demo_tools.list_sessions(server, limit=20)

List active sessions for one server.

Parameters:
  • server (str) – Server name to inspect.

  • limit (int) – Maximum number of sessions to return.

Returns:

Session identifiers for the server.

Return type:

list[str]

Examples

>>> list_sessions("prod")
['prod:0', 'prod:1']
fastmcp_demo_tools.create_session(name, window_count=1, detached=False)
function[source]
function[source]
fastmcp_demo_tools.create_session(name, window_count=1, detached=False)

Create one session and return the created record.

Parameters:
  • name (str) – Session name to create.

  • window_count (int) – Initial number of windows.

  • detached (bool) – Whether to create the session detached from the current client.

Returns:

Created session metadata.

Return type:

dict[str, str | int | bool]

Examples

>>> create_session("demo")
{'name': 'demo', 'windows': 1, 'detached': False}
fastmcp_demo_tools.delete_session(name, force=False)
function[source]
function[source]
fastmcp_demo_tools.delete_session(name, force=False)

Delete one session from the server.

Parameters:
  • name (str) – Session name to delete.

  • force (bool) – Whether to skip confirmation checks.

Returns:

True when the session was removed.

Return type:

bool

Examples

>>> delete_session("old-session")
True