Skip to content

Commit 3d8c4db

Browse files
authored
tidy
1 parent cd9df92 commit 3d8c4db

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Unofficial extension library for FastMCP 2.0 with patterns, practices, and utili
44

55
## Features
66

7-
- MCP Server Factory: `mcp_server()` helper that creates FastMCP instances with built-in server info resources, MCP asset discovery (optional), and credential resolution
7+
- MCP Server Factory: `mcp_server()` helper that creates FastMCP instances with built-in server info resources, MCP asset discovery (optional), and credential resolution.
88
- MCP Annotation Constants: Standard annotation hints (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`) following the FastMCP 2.2.7+ specification
9-
- Deferred Registration Decorators: `@mcp_tool`, `@mcp_prompt`, `@mcp_resource` decorators for organizing tools by domain with automatic domain detection
10-
- Registration Utilities: Functions to register tools, prompts, and resources with a FastMCP app, filtered by domain
11-
- Tool Testing Utilities: Helpers for testing MCP tools directly with JSON arguments (stdio and HTTP transports)
12-
- Tool List Measurement: Utilities for measuring tool list size to track context truncation issues
13-
- Prompt Helpers: Generic `get_prompt_text` helper for agents that cannot access prompt assets directly
9+
- Deferred Registration Decorators: `@mcp_tool`, `@mcp_prompt`, `@mcp_resource` decorators for organizing tools by domain with automatic domain detection.
10+
- Registration Utilities: Functions to register tools, prompts, and resources with a FastMCP app, filtered by domain.
11+
- Tool Testing Utilities: Helpers for testing MCP tools directly with JSON arguments (stdio and HTTP transports).
12+
- Tool List Measurement: Utilities for measuring tool list size to track context truncation issues.
13+
- Prompt Helpers: Generic `get_prompt_text` helper for agents that cannot access prompt assets directly.
1414

1515
## Installation
1616

@@ -28,7 +28,7 @@ uv add fastmcp-extensions
2828

2929
### Using the MCP Server Factory
3030

31-
The `mcp_server()` function creates a FastMCP instance with built-in server info resources and optional credential resolution:
31+
The `mcp_server` function creates a FastMCP instance with built-in server info resources and optional credential resolution:
3232

3333
```python
3434
from fastmcp_extensions import mcp_server, MCPServerConfigArg
@@ -166,9 +166,9 @@ cmd = "python bin/measure_mcp_tool_list.py"
166166

167167
### Server Factory
168168

169-
- `mcp_server(name, package_name, advertised_properties, auto_discover_assets, server_config_args, **fastmcp_kwargs)` - Create a FastMCP instance with built-in server info resource
170-
- `MCPServerConfigArg(name, http_header_key, env_var, default, required, sensitive)` - Configuration for credential resolution
171-
- `resolve_config(app, name)` - Resolve a credential from HTTP headers or environment variables
169+
- `mcp_server` - Create a FastMCP instance with built-in server info resource
170+
- `MCPServerConfigArg` - Configuration for credential resolution
171+
- `resolve_config` - Resolve a credential from HTTP headers or environment variables
172172

173173
### Annotations
174174

0 commit comments

Comments
 (0)