Skip to content

Commit feabc8a

Browse files
authored
Merge pull request #13 from tadata-org/fix-delete-endpoint-conversion
Fix delete endpoint conversion, and bump version to 0.1.4
2 parents de4db56 + b3e1b8d commit feabc8a

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.4]
9+
10+
### Fixed
11+
- [Issue #8](https://github.com/tadata-org/fastapi_mcp/issues/8): Converted tools unuseable due to wrong passing of arguments.
12+
813
## [0.1.3]
914

1015
### Fixed

fastapi_mcp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Created by Tadata Inc. (https://github.com/tadata-org)
55
"""
66

7-
__version__ = "0.1.3"
7+
__version__ = "0.1.4"
88

99
from .server import add_mcp_server, create_mcp_server, mount_mcp_server
1010
from .http_tools import create_mcp_tools_from_openapi

fastapi_mcp/http_tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from fastapi import FastAPI
1313
from fastapi.openapi.utils import get_openapi
1414
from mcp.server.fastmcp import FastMCP
15-
from pydantic import Field
15+
from pydantic import Field
1616

1717
logger = logging.getLogger("fastapi_mcp")
1818

@@ -468,7 +468,7 @@ async def http_tool_function(kwargs: Dict[str, Any] = Field(default_factory=dict
468468
elif method.lower() == "put":
469469
response = await client.put(url, params=query, headers=headers, json=body)
470470
elif method.lower() == "delete":
471-
response = await client.delete(url, params=query, headers=headers, json=body)
471+
response = await client.delete(url, params=query, headers=headers)
472472
elif method.lower() == "patch":
473473
response = await client.patch(url, params=query, headers=headers, json=body)
474474
else:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "fastapi-mcp"
7-
version = "0.1.3"
7+
version = "0.1.4"
88
description = "Automatic MCP server generator for FastAPI applications - converts FastAPI endpoints to MCP tools for LLM integration"
99
readme = "README.md"
1010
requires-python = ">=3.10"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name="fastapi-mcp",
13-
version="0.1.3",
13+
version="0.1.4",
1414
description="Automatic MCP server generator for FastAPI applications - converts FastAPI endpoints to MCP tools for LLM integration",
1515
author="Tadata Inc.",
1616
author_email="[email protected]",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)